// source: BlueProtobuf.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! /* eslint-disable */ // @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; var global = (typeof globalThis !== 'undefined' && globalThis) || (typeof window !== 'undefined' && window) || (typeof global !== 'undefined' && global) || (typeof self !== 'undefined' && self) || (function () { return this; }).call(null) || Function('return this')(); goog.exportSymbol('proto.AccountData', null, global); goog.exportSymbol('proto.AccumulateEnd', null, global); goog.exportSymbol('proto.Achievement', null, global); goog.exportSymbol('proto.ActionInfo', null, global); goog.exportSymbol('proto.ActorBodyPartInfo', null, global); goog.exportSymbol('proto.ActorBodyPartInfos', null, global); goog.exportSymbol('proto.ActorUuidStru', null, global); goog.exportSymbol('proto.AffixData', null, global); goog.exportSymbol('proto.AiBotActiveTrigger', null, global); goog.exportSymbol('proto.AiBotAddBuffByConfigId', null, global); goog.exportSymbol('proto.AiBotMove', null, global); goog.exportSymbol('proto.AiBotPlayAction', null, global); goog.exportSymbol('proto.AiBotRemoveBuffByConfigId', null, global); goog.exportSymbol('proto.AiBotResurrection', null, global); goog.exportSymbol('proto.AiBotSendChitChatMsg', null, global); goog.exportSymbol('proto.AiBotSendGmMsg', null, global); goog.exportSymbol('proto.AiBotStartRide', null, global); goog.exportSymbol('proto.AiBotTeleportToPos', null, global); goog.exportSymbol('proto.AiBotUseSkill', null, global); goog.exportSymbol('proto.AnswerList', null, global); goog.exportSymbol('proto.AntiAddictionInfo', null, global); goog.exportSymbol('proto.AoiSyncDelta', null, global); goog.exportSymbol('proto.AoiSyncToMeDelta', null, global); goog.exportSymbol('proto.AttachVelocity', null, global); goog.exportSymbol('proto.Attr', null, global); goog.exportSymbol('proto.AttrCollection', null, global); goog.exportSymbol('proto.AttrInBattleShowSync', null, global); goog.exportSymbol('proto.AvatarInfo', null, global); goog.exportSymbol('proto.BasicData', null, global); goog.exportSymbol('proto.BattlePass', null, global); goog.exportSymbol('proto.BattlePassAwardInfo', null, global); goog.exportSymbol('proto.BattlePassData', null, global); goog.exportSymbol('proto.BodyPartState', null, global); goog.exportSymbol('proto.BossProgress', null, global); goog.exportSymbol('proto.BotActiveTrigger', null, global); goog.exportSymbol('proto.BotAddBuff', null, global); goog.exportSymbol('proto.BotMoveInfo', null, global); goog.exportSymbol('proto.BotPlayActionParam', null, global); goog.exportSymbol('proto.BotRemoveBuff', null, global); goog.exportSymbol('proto.BotResurrectionParam', null, global); goog.exportSymbol('proto.BotSendChitChatMsgReq', null, global); goog.exportSymbol('proto.BotStartRideParam', null, global); goog.exportSymbol('proto.BotTeleportParam', null, global); goog.exportSymbol('proto.BotUseSkillInfo', null, global); goog.exportSymbol('proto.BounceJump', null, global); goog.exportSymbol('proto.BubbleActData', null, global); goog.exportSymbol('proto.BubbleInfo', null, global); goog.exportSymbol('proto.BuffAttrEffect', null, global); goog.exportSymbol('proto.BuffAttrShowInfo', null, global); goog.exportSymbol('proto.BuffDBData', null, global); goog.exportSymbol('proto.BuffDBInfo', null, global); goog.exportSymbol('proto.BuffEffect', null, global); goog.exportSymbol('proto.BuffEffectLogicInfo', null, global); goog.exportSymbol('proto.BuffEffectLogicTension', null, global); goog.exportSymbol('proto.BuffEffectSync', null, global); goog.exportSymbol('proto.BuffInfo', null, global); goog.exportSymbol('proto.BuffInfoSync', null, global); goog.exportSymbol('proto.BuffProfessionEffectData', null, global); goog.exportSymbol('proto.BufferStream', null, global); goog.exportSymbol('proto.BuildFurnitureOpType', null, global); goog.exportSymbol('proto.BulletEvent', null, global); goog.exportSymbol('proto.CameraPatternType', null, global); goog.exportSymbol('proto.CameraSchemeType', null, global); goog.exportSymbol('proto.ChallengeDungeonInfo', null, global); goog.exportSymbol('proto.ChangeCharFunctionState', null, global); goog.exportSymbol('proto.ChannelingEnd', null, global); goog.exportSymbol('proto.CharBaseInfo', null, global); goog.exportSymbol('proto.CharSerialize', null, global); goog.exportSymbol('proto.CharStatisticsData', null, global); goog.exportSymbol('proto.CharTeam', null, global); goog.exportSymbol('proto.ClientBreakState', null, global); goog.exportSymbol('proto.ClientHitInfo', null, global); goog.exportSymbol('proto.ClientHitPartInfo', null, global); goog.exportSymbol('proto.ClientStageEnd', null, global); goog.exportSymbol('proto.ClientTargetChange', null, global); goog.exportSymbol('proto.Clutter', null, global); goog.exportSymbol('proto.ClutterGenerationRecord', null, global); goog.exportSymbol('proto.CollectingItem', null, global); goog.exportSymbol('proto.CollectionBook', null, global); goog.exportSymbol('proto.CommonAwardInfo', null, global); goog.exportSymbol('proto.CommunityAuthorityInfo', null, global); goog.exportSymbol('proto.CommunityBuildFurnitureInfo', null, global); goog.exportSymbol('proto.CommunityCharBasicData', null, global); goog.exportSymbol('proto.CommunityData', null, global); goog.exportSymbol('proto.CommunityGetHomeLandBaseInfo', null, global); goog.exportSymbol('proto.CommunityGetHomeLandBaseInfoReply', null, global); goog.exportSymbol('proto.CommunityGetHomeLandBaseInfoRequest', null, global); goog.exportSymbol('proto.CommunityGrainUpdateStructureReply', null, global); goog.exportSymbol('proto.CommunityHomeData', null, global); goog.exportSymbol('proto.CommunityHomelandRecipe', null, global); goog.exportSymbol('proto.CommunityPlayerAuthorityInfo', null, global); goog.exportSymbol('proto.CommunityPlayerInfo', null, global); goog.exportSymbol('proto.CommunityQuitCohabitant', null, global); goog.exportSymbol('proto.CommunityTransfer', null, global); goog.exportSymbol('proto.CommunityUpdateStructureReplyOpt', null, global); goog.exportSymbol('proto.CompensationData', null, global); goog.exportSymbol('proto.CompensationRecord', null, global); goog.exportSymbol('proto.CompensationSeasonStatistics', null, global); goog.exportSymbol('proto.CompensationStatistics', null, global); goog.exportSymbol('proto.CompletedTargetInfo', null, global); goog.exportSymbol('proto.ConnectWorld', null, global); goog.exportSymbol('proto.ConnectWorldResult', null, global); goog.exportSymbol('proto.CookBook', null, global); goog.exportSymbol('proto.CookList', null, global); goog.exportSymbol('proto.CounterInfo', null, global); goog.exportSymbol('proto.CounterList', null, global); goog.exportSymbol('proto.CraftEnergyRecord', null, global); goog.exportSymbol('proto.CurrencyData', null, global); goog.exportSymbol('proto.CutSceneInfo', null, global); goog.exportSymbol('proto.CutSceneInfos', null, global); goog.exportSymbol('proto.CutScenePlayEnd', null, global); goog.exportSymbol('proto.CutScenePointInfo', null, global); goog.exportSymbol('proto.CutsState', null, global); goog.exportSymbol('proto.DanceBall', null, global); goog.exportSymbol('proto.DancerInfo', null, global); goog.exportSymbol('proto.DelayHitInfo', null, global); goog.exportSymbol('proto.DelayHitTargetInfo', null, global); goog.exportSymbol('proto.DetachRideMagnetic', null, global); goog.exportSymbol('proto.DirtyMask', null, global); goog.exportSymbol('proto.DisappearEntity', null, global); goog.exportSymbol('proto.DrawingLines', null, global); goog.exportSymbol('proto.DropAwardHistory', null, global); goog.exportSymbol('proto.DropContainerInfo', null, global); goog.exportSymbol('proto.DropContainerSingle', null, global); goog.exportSymbol('proto.DroughtRecord', null, global); goog.exportSymbol('proto.DungeonAffixData', null, global); goog.exportSymbol('proto.DungeonAward', null, global); goog.exportSymbol('proto.DungeonBossRank', null, global); goog.exportSymbol('proto.DungeonDamage', null, global); goog.exportSymbol('proto.DungeonEnterCount', null, global); goog.exportSymbol('proto.DungeonEnterLimit', null, global); goog.exportSymbol('proto.DungeonEvent', null, global); goog.exportSymbol('proto.DungeonEventData', null, global); goog.exportSymbol('proto.DungeonEventResult', null, global); goog.exportSymbol('proto.DungeonEventState', null, global); goog.exportSymbol('proto.DungeonFlowInfo', null, global); goog.exportSymbol('proto.DungeonHeroKeyInfo', null, global); goog.exportSymbol('proto.DungeonInfo', null, global); goog.exportSymbol('proto.DungeonList', null, global); goog.exportSymbol('proto.DungeonPioneer', null, global); goog.exportSymbol('proto.DungeonPlanetMemoryRoom', null, global); goog.exportSymbol('proto.DungeonPlayerInfo', null, global); goog.exportSymbol('proto.DungeonPlayerList', null, global); goog.exportSymbol('proto.DungeonRaidInfo', null, global); goog.exportSymbol('proto.DungeonRandomEntityConfigIdInfo', null, global); goog.exportSymbol('proto.DungeonRankInfo', null, global); goog.exportSymbol('proto.DungeonRankList', null, global); goog.exportSymbol('proto.DungeonReviveInfo', null, global); goog.exportSymbol('proto.DungeonSceneInfo', null, global); goog.exportSymbol('proto.DungeonScore', null, global); goog.exportSymbol('proto.DungeonSettlement', null, global); goog.exportSymbol('proto.DungeonSyncData', null, global); goog.exportSymbol('proto.DungeonTarget', null, global); goog.exportSymbol('proto.DungeonTargetAward', null, global); goog.exportSymbol('proto.DungeonTargetData', null, global); goog.exportSymbol('proto.DungeonTargetProgress', null, global); goog.exportSymbol('proto.DungeonTimerInfo', null, global); goog.exportSymbol('proto.DungeonTitle', null, global); goog.exportSymbol('proto.DungeonTitleInfo', null, global); goog.exportSymbol('proto.DungeonTitleList', null, global); goog.exportSymbol('proto.DungeonUnionInfo', null, global); goog.exportSymbol('proto.DungeonVar', null, global); goog.exportSymbol('proto.DungeonVarAll', null, global); goog.exportSymbol('proto.DungeonVarData', null, global); goog.exportSymbol('proto.DungeonVote', null, global); goog.exportSymbol('proto.DungeonWeekTargetList', null, global); goog.exportSymbol('proto.DungeonWorldBossSettlement', null, global); goog.exportSymbol('proto.EActorState', null, global); goog.exportSymbol('proto.EAppearType', null, global); goog.exportSymbol('proto.EBodySize', null, global); goog.exportSymbol('proto.EBuffEffectLogicPbType', null, global); goog.exportSymbol('proto.EBuffEventType', null, global); goog.exportSymbol('proto.EDamageMode', null, global); goog.exportSymbol('proto.EDamageProperty', null, global); goog.exportSymbol('proto.EDamageSource', null, global); goog.exportSymbol('proto.EDamageType', null, global); goog.exportSymbol('proto.EDetachMagneticType', null, global); goog.exportSymbol('proto.EDisappearType', null, global); goog.exportSymbol('proto.EDungeonState', null, global); goog.exportSymbol('proto.EDungeonTimerDirection', null, global); goog.exportSymbol('proto.EDungeonTimerEffectType', null, global); goog.exportSymbol('proto.EDungeonTimerTimerLookType', null, global); goog.exportSymbol('proto.EDungeonTimerType', null, global); goog.exportSymbol('proto.EEntityType', null, global); goog.exportSymbol('proto.EEquipEnchantType', null, global); goog.exportSymbol('proto.EErrorCode', null, global); goog.exportSymbol('proto.EFarmlandState', null, global); goog.exportSymbol('proto.EGender', null, global); goog.exportSymbol('proto.EGmParsingType', null, global); goog.exportSymbol('proto.EHeroKeyRollType', null, global); goog.exportSymbol('proto.EHomelandLamplightState', null, global); goog.exportSymbol('proto.EInteractionAction', null, global); goog.exportSymbol('proto.EInteractionTemplateAction', null, global); goog.exportSymbol('proto.EItemBindFlag', null, global); goog.exportSymbol('proto.EMoveType', null, global); goog.exportSymbol('proto.ENotifyTrigger', null, global); goog.exportSymbol('proto.EPictureType', null, global); goog.exportSymbol('proto.EQuestStepStatus', null, global); goog.exportSymbol('proto.EReceiveRewardStatus', null, global); goog.exportSymbol('proto.ERidePropertyType', null, global); goog.exportSymbol('proto.ESceneLineStatus', null, global); goog.exportSymbol('proto.EShowPieceType', null, global); goog.exportSymbol('proto.ESkillCDType', null, global); goog.exportSymbol('proto.ETimerExeType', null, global); goog.exportSymbol('proto.ETimerType', null, global); goog.exportSymbol('proto.EUseSlotType', null, global); goog.exportSymbol('proto.EUserTransferType', null, global); goog.exportSymbol('proto.EditorUIPosition', null, global); goog.exportSymbol('proto.EnergyInfo', null, global); goog.exportSymbol('proto.EnergyItem', null, global); goog.exportSymbol('proto.EnergyItemInfo', null, global); goog.exportSymbol('proto.EnterScene', null, global); goog.exportSymbol('proto.EnterSceneInfo', null, global); goog.exportSymbol('proto.Entity', null, global); goog.exportSymbol('proto.EquipAttr', null, global); goog.exportSymbol('proto.EquipAttrSet', null, global); goog.exportSymbol('proto.EquipData', null, global); goog.exportSymbol('proto.EquipEnchantInfo', null, global); goog.exportSymbol('proto.EquipInfo', null, global); goog.exportSymbol('proto.EquipList', null, global); goog.exportSymbol('proto.EquipNine', null, global); goog.exportSymbol('proto.EquipSuitInfo', null, global); goog.exportSymbol('proto.EventData', null, global); goog.exportSymbol('proto.EventDataList', null, global); goog.exportSymbol('proto.ExchangeData', null, global); goog.exportSymbol('proto.ExchangeInfo', null, global); goog.exportSymbol('proto.ExchangeItem', null, global); goog.exportSymbol('proto.FaceData', null, global); goog.exportSymbol('proto.FaceDataDb', null, global); goog.exportSymbol('proto.FakeBulletInfo', null, global); goog.exportSymbol('proto.FashionAdvanceInfo', null, global); goog.exportSymbol('proto.FashionBenefit', null, global); goog.exportSymbol('proto.FashionBenefitCollectionHistory', null, global); goog.exportSymbol('proto.FashionBenefitTaskInfo', null, global); goog.exportSymbol('proto.FashionColorInfo', null, global); goog.exportSymbol('proto.FashionData', null, global); goog.exportSymbol('proto.FashionInfo', null, global); goog.exportSymbol('proto.FashionMgr', null, global); goog.exportSymbol('proto.FashionQualityCollectInfo', null, global); goog.exportSymbol('proto.FightPoint', null, global); goog.exportSymbol('proto.FightPointData', null, global); goog.exportSymbol('proto.FightPointSubData', null, global); goog.exportSymbol('proto.FightResCD', null, global); goog.exportSymbol('proto.FightSourceInfo', null, global); goog.exportSymbol('proto.FirstPayInfo', null, global); goog.exportSymbol('proto.FishRecord', null, global); goog.exportSymbol('proto.FishSetting', null, global); goog.exportSymbol('proto.FishSocialData', null, global); goog.exportSymbol('proto.FishingData', null, global); goog.exportSymbol('proto.FishingSetStage', null, global); goog.exportSymbol('proto.FishingSetStageRequest', null, global); goog.exportSymbol('proto.FlowPlayEnd', null, global); goog.exportSymbol('proto.ForcedPullBack', null, global); goog.exportSymbol('proto.FreightData', null, global); goog.exportSymbol('proto.FunctionData', null, global); goog.exportSymbol('proto.FunctionTimeData', null, global); goog.exportSymbol('proto.GMCommand', null, global); goog.exportSymbol('proto.GameFunctionData', null, global); goog.exportSymbol('proto.GashaData', null, global); goog.exportSymbol('proto.GashaGuaranteeInfo', null, global); goog.exportSymbol('proto.GashaInfo', null, global); goog.exportSymbol('proto.GetClientOptions', null, global); goog.exportSymbol('proto.GetClientOptionsReply', null, global); goog.exportSymbol('proto.GetClientOptionsRequest', null, global); goog.exportSymbol('proto.GetGitVersion', null, global); goog.exportSymbol('proto.GetGitVersionReply', null, global); goog.exportSymbol('proto.GetGitVersionRequest', null, global); goog.exportSymbol('proto.GetHomelandBuildFurnitureInfo', null, global); goog.exportSymbol('proto.GetHomelandBuildFurnitureInfoReply', null, global); goog.exportSymbol('proto.GetHomelandBuildFurnitureInfoRequest', null, global); goog.exportSymbol('proto.GetLuaSceneAttr', null, global); goog.exportSymbol('proto.GetPath', null, global); goog.exportSymbol('proto.GetPathReply', null, global); goog.exportSymbol('proto.GetPathRequest', null, global); goog.exportSymbol('proto.GetSocialData', null, global); goog.exportSymbol('proto.GetSocialDataReply', null, global); goog.exportSymbol('proto.GetSocialDataRequest', null, global); goog.exportSymbol('proto.GmCmd', null, global); goog.exportSymbol('proto.GmResult', null, global); goog.exportSymbol('proto.HandBookStruct', null, global); goog.exportSymbol('proto.HandbookData', null, global); goog.exportSymbol('proto.HeroKeyItemInfo', null, global); goog.exportSymbol('proto.HeroKeyRollInfo', null, global); goog.exportSymbol('proto.HomeLandClutterGenerationRecord', null, global); goog.exportSymbol('proto.HomeLandClutterInfo', null, global); goog.exportSymbol('proto.HomeLandItemInstance', null, global); goog.exportSymbol('proto.HomeLandPlayerTaskInfo', null, global); goog.exportSymbol('proto.HomeLandSellShopInfo', null, global); goog.exportSymbol('proto.HomeLandTask', null, global); goog.exportSymbol('proto.HomelandBaseInfo', null, global); goog.exportSymbol('proto.HomelandDecorationInfo', null, global); goog.exportSymbol('proto.HomelandLamplightInfo', null, global); goog.exportSymbol('proto.HomelandMaterialInfo', null, global); goog.exportSymbol('proto.ImageInfo', null, global); goog.exportSymbol('proto.InitHomeLandInfo', null, global); goog.exportSymbol('proto.InstallResonanceSkillReq', null, global); goog.exportSymbol('proto.IntVec3', null, global); goog.exportSymbol('proto.IntVec3Db', null, global); goog.exportSymbol('proto.Interaction', null, global); goog.exportSymbol('proto.InteractionActionEnd', null, global); goog.exportSymbol('proto.InteractionInfo', null, global); goog.exportSymbol('proto.InteractionTemplateData', null, global); goog.exportSymbol('proto.InteractionWithNotPlayer', null, global); goog.exportSymbol('proto.InvestigateData', null, global); goog.exportSymbol('proto.InvestigateList', null, global); goog.exportSymbol('proto.InvestigateStep', null, global); goog.exportSymbol('proto.Item', null, global); goog.exportSymbol('proto.ItemCurrency', null, global); goog.exportSymbol('proto.ItemExtendData', null, global); goog.exportSymbol('proto.ItemPackage', null, global); goog.exportSymbol('proto.LastSceneData', null, global); goog.exportSymbol('proto.LaunchPlatform', null, global); goog.exportSymbol('proto.LaunchPrivilegeData', null, global); goog.exportSymbol('proto.LearnExpressionAction', null, global); goog.exportSymbol('proto.LevelProficiency', null, global); goog.exportSymbol('proto.LevelUpAward', null, global); goog.exportSymbol('proto.LifeProfession', null, global); goog.exportSymbol('proto.LifeProfessionAlchemyInfo', null, global); goog.exportSymbol('proto.LifeProfessionBasic', null, global); goog.exportSymbol('proto.LifeProfessionRecipe', null, global); goog.exportSymbol('proto.LifeProfessionTargetInfo', null, global); goog.exportSymbol('proto.LifeProfessionWork', null, global); goog.exportSymbol('proto.LifeProfessionWorkInfo', null, global); goog.exportSymbol('proto.LiftProfessionSpecialization', null, global); goog.exportSymbol('proto.LineDrawing', null, global); goog.exportSymbol('proto.LinkingInfo', null, global); goog.exportSymbol('proto.LoadMapSuccess', null, global); goog.exportSymbol('proto.LoadMapSuccessParam', null, global); goog.exportSymbol('proto.LuaSceneAttrReply', null, global); goog.exportSymbol('proto.LuckyValueInfo', null, global); goog.exportSymbol('proto.LuckyValueMgr', null, global); goog.exportSymbol('proto.MagneticQueueAppearInfo', null, global); goog.exportSymbol('proto.MagneticRidePassengerChangeInfo', null, global); goog.exportSymbol('proto.MagneticRidePathPointChangeInfo', null, global); goog.exportSymbol('proto.MagneticRideQueueChangeInfo', null, global); goog.exportSymbol('proto.MailClaimedInfo', null, global); goog.exportSymbol('proto.MapAttr', null, global); goog.exportSymbol('proto.MapAttrValue', null, global); goog.exportSymbol('proto.MapBookInfo', null, global); goog.exportSymbol('proto.MapBookInfoList', null, global); goog.exportSymbol('proto.MapData', null, global); goog.exportSymbol('proto.MapStickerInfo', null, global); goog.exportSymbol('proto.MapStickerTaskInfo', null, global); goog.exportSymbol('proto.MarkData', null, global); goog.exportSymbol('proto.MarkInfo', null, global); goog.exportSymbol('proto.MarkPosition', null, global); goog.exportSymbol('proto.MasterModeDiffDungeonInfo', null, global); goog.exportSymbol('proto.MasterModeDungeonData', null, global); goog.exportSymbol('proto.MasterModeDungeonInfo', null, global); goog.exportSymbol('proto.MedalHole', null, global); goog.exportSymbol('proto.MedalNode', null, global); goog.exportSymbol('proto.MiscInfo', null, global); goog.exportSymbol('proto.Mod', null, global); goog.exportSymbol('proto.ModAttr', null, global); goog.exportSymbol('proto.ModAttrInfo', null, global); goog.exportSymbol('proto.ModInfo', null, global); goog.exportSymbol('proto.ModNewAttr', null, global); goog.exportSymbol('proto.ModPartUpgradeRecord', null, global); goog.exportSymbol('proto.MonitorBehaviorTreeOfEntity', null, global); goog.exportSymbol('proto.MonsterCastSkill', null, global); goog.exportSymbol('proto.MonsterExploreInfo', null, global); goog.exportSymbol('proto.MonsterExploreList', null, global); goog.exportSymbol('proto.MonsterHuntInfo', null, global); goog.exportSymbol('proto.MonsterHuntTarget', null, global); goog.exportSymbol('proto.MonsterHuntUnlockMonster', null, global); goog.exportSymbol('proto.MonsterTargetAward', null, global); goog.exportSymbol('proto.MonsterTargetInfo', null, global); goog.exportSymbol('proto.MonthCardItem', null, global); goog.exportSymbol('proto.MonthlyCard', null, global); goog.exportSymbol('proto.MonthlyCardBuyList', null, global); goog.exportSymbol('proto.MonthlyCardInfo', null, global); goog.exportSymbol('proto.NewMove', null, global); goog.exportSymbol('proto.NewbieData', null, global); goog.exportSymbol('proto.NotGetProceedAwardInfo', null, global); goog.exportSymbol('proto.NotifyAntiData', null, global); goog.exportSymbol('proto.NotifyAntiDataRequest', null, global); goog.exportSymbol('proto.NotifyBuffChange', null, global); goog.exportSymbol('proto.NotifyBuildFurnitureOp', null, global); goog.exportSymbol('proto.NotifyClientKickOff', null, global); goog.exportSymbol('proto.NotifyCommunityHomeLandDecorationInfo', null, global); goog.exportSymbol('proto.NotifyCommunityHomeLandDecorationInfoRequest', null, global); goog.exportSymbol('proto.NotifyCommunityHomeLandHousingTypeUpdate', null, global); goog.exportSymbol('proto.NotifyCommunityHomeLandHousingTypeUpdateRequest', null, global); goog.exportSymbol('proto.NotifyCommunityHomeLandUnlockedAreasUpdate', null, global); goog.exportSymbol('proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest', null, global); goog.exportSymbol('proto.NotifyEnterWorld', null, global); goog.exportSymbol('proto.NotifyEnterWorldRequest', null, global); goog.exportSymbol('proto.NotifyFunctionParams', null, global); goog.exportSymbol('proto.NotifyHomelandBuildFurnitureOp', null, global); goog.exportSymbol('proto.NotifyHomelandBuildFurnitureOpRequest', null, global); goog.exportSymbol('proto.NotifyKickOutOff', null, global); goog.exportSymbol('proto.NotifyKickOutOffRequest', null, global); goog.exportSymbol('proto.NotifyLoadSceneEnd', null, global); goog.exportSymbol('proto.NotifyLoadSceneEndResponse', null, global); goog.exportSymbol('proto.NotifyPlayerBeginInteraction', null, global); goog.exportSymbol('proto.NotifyPlayerBeginInteractionParam', null, global); goog.exportSymbol('proto.NotifyReviveUser', null, global); goog.exportSymbol('proto.NotifyServerCloseFunction', null, global); goog.exportSymbol('proto.NotifySwitchScene', null, global); goog.exportSymbol('proto.NotifySwitchSceneEnd', null, global); goog.exportSymbol('proto.NotifySwitchSceneRequest', null, global); goog.exportSymbol('proto.NotifyTimerList', null, global); goog.exportSymbol('proto.NotifyTimerListParam', null, global); goog.exportSymbol('proto.NotifyTimerUpdate', null, global); goog.exportSymbol('proto.NotifyUserCloseFunction', null, global); goog.exportSymbol('proto.Package', null, global); goog.exportSymbol('proto.ParkourRecord', null, global); goog.exportSymbol('proto.ParkourRecordList', null, global); goog.exportSymbol('proto.PassengerChangeParam', null, global); goog.exportSymbol('proto.PassiveSkillInfo', null, global); goog.exportSymbol('proto.PathNode', null, global); goog.exportSymbol('proto.PathNodeList', null, global); goog.exportSymbol('proto.PathPointChangeParam', null, global); goog.exportSymbol('proto.PayData', null, global); goog.exportSymbol('proto.PayOrderList', null, global); goog.exportSymbol('proto.PersonalGroupObjectUpdate', null, global); goog.exportSymbol('proto.PersonalObject', null, global); goog.exportSymbol('proto.PersonalObjectAction', null, global); goog.exportSymbol('proto.PersonalObjectUpdate', null, global); goog.exportSymbol('proto.PersonalWorldBossInfo', null, global); goog.exportSymbol('proto.PersonalZone', null, global); goog.exportSymbol('proto.PersonalZoneShow', null, global); goog.exportSymbol('proto.PhotoGraphShow', null, global); goog.exportSymbol('proto.PhotoOwnerData', null, global); goog.exportSymbol('proto.PictureInfo', null, global); goog.exportSymbol('proto.PictureVerify', null, global); goog.exportSymbol('proto.PioneerData', null, global); goog.exportSymbol('proto.PioneerInfo', null, global); goog.exportSymbol('proto.Pivot', null, global); goog.exportSymbol('proto.PivotInfo', null, global); goog.exportSymbol('proto.PlaceHolderBuff', null, global); goog.exportSymbol('proto.PlaceHolderFishItem', null, global); goog.exportSymbol('proto.PlaceHolderFishPersonalTotal', null, global); goog.exportSymbol('proto.PlaceHolderFishRank', null, global); goog.exportSymbol('proto.PlaceHolderItem', null, global); goog.exportSymbol('proto.PlaceHolderMasterMode', null, global); goog.exportSymbol('proto.PlaceHolderPlayer', null, global); goog.exportSymbol('proto.PlaceHolderStr', null, global); goog.exportSymbol('proto.PlaceHolderTimestamp', null, global); goog.exportSymbol('proto.PlaceHolderUnion', null, global); goog.exportSymbol('proto.PlaceHolderVal', null, global); goog.exportSymbol('proto.PlanetMemory', null, global); goog.exportSymbol('proto.PlayAction', null, global); goog.exportSymbol('proto.PlayActionParam', null, global); goog.exportSymbol('proto.PlayEmote', null, global); goog.exportSymbol('proto.PlayHelper', null, global); goog.exportSymbol('proto.PlayerBox', null, global); goog.exportSymbol('proto.PlayerBoxData', null, global); goog.exportSymbol('proto.PlayerBuyRecord', null, global); goog.exportSymbol('proto.PlayerOrderComtainerInfo', null, global); goog.exportSymbol('proto.PlayerRecord', null, global); goog.exportSymbol('proto.PlayerRecordInfo', null, global); goog.exportSymbol('proto.PlayerRecordSingle', null, global); goog.exportSymbol('proto.PlayerRefreshShopRecord', null, global); goog.exportSymbol('proto.Position', null, global); goog.exportSymbol('proto.PositionParam', null, global); goog.exportSymbol('proto.PrivilegeData', null, global); goog.exportSymbol('proto.PrivilegeEffectData', null, global); goog.exportSymbol('proto.ProfessionData', null, global); goog.exportSymbol('proto.ProfessionInfo', null, global); goog.exportSymbol('proto.ProfessionList', null, global); goog.exportSymbol('proto.ProfessionSkillInfo', null, global); goog.exportSymbol('proto.ProfessionTalentInfo', null, global); goog.exportSymbol('proto.ProfileInfo', null, global); goog.exportSymbol('proto.ProfileList', null, global); goog.exportSymbol('proto.QuestData', null, global); goog.exportSymbol('proto.QuestDataList', null, global); goog.exportSymbol('proto.QuestHistory', null, global); goog.exportSymbol('proto.RaidRecord', null, global); goog.exportSymbol('proto.RankData', null, global); goog.exportSymbol('proto.RechargeData', null, global); goog.exportSymbol('proto.RecvAntiData', null, global); goog.exportSymbol('proto.RecvAntiDataRequest', null, global); goog.exportSymbol('proto.RedDotData', null, global); goog.exportSymbol('proto.ReqServerTime', null, global); goog.exportSymbol('proto.ReqSwitchScene', null, global); goog.exportSymbol('proto.RequestConnectWorld', null, global); goog.exportSymbol('proto.ResetAttachVelocity', null, global); goog.exportSymbol('proto.Resonance', null, global); goog.exportSymbol('proto.ReviveInfo', null, global); goog.exportSymbol('proto.RideData', null, global); goog.exportSymbol('proto.RideList', null, global); goog.exportSymbol('proto.RideMagneticAttachTo', null, global); goog.exportSymbol('proto.RideQualityCollectInfo', null, global); goog.exportSymbol('proto.RideSkinContainer', null, global); goog.exportSymbol('proto.RideSkinData', null, global); goog.exportSymbol('proto.RoleFace', null, global); goog.exportSymbol('proto.RoleLevel', null, global); goog.exportSymbol('proto.SaveUserSingleSceneCutsState', null, global); goog.exportSymbol('proto.SceneData', null, global); goog.exportSymbol('proto.SceneInteractionInfo', null, global); goog.exportSymbol('proto.SceneLineData', null, global); goog.exportSymbol('proto.SceneLuaData', null, global); goog.exportSymbol('proto.ScenePersonalObject', null, global); goog.exportSymbol('proto.ScenePointInfo', null, global); goog.exportSymbol('proto.ScenePosIdInfo', null, global); goog.exportSymbol('proto.SceneRecord', null, global); goog.exportSymbol('proto.SeasonAchievement', null, global); goog.exportSymbol('proto.SeasonAchievementList', null, global); goog.exportSymbol('proto.SeasonActivation', null, global); goog.exportSymbol('proto.SeasonActivationTarget', null, global); goog.exportSymbol('proto.SeasonBpQuestData', null, global); goog.exportSymbol('proto.SeasonBpQuestList', null, global); goog.exportSymbol('proto.SeasonCenter', null, global); goog.exportSymbol('proto.SeasonCenterHistory', null, global); goog.exportSymbol('proto.SeasonMasterModeDungeonInfo', null, global); goog.exportSymbol('proto.SeasonMedalInfo', null, global); goog.exportSymbol('proto.SeasonQuestData', null, global); goog.exportSymbol('proto.SeasonQuestList', null, global); goog.exportSymbol('proto.SeasonRankData', null, global); goog.exportSymbol('proto.SeasonRankInfo', null, global); goog.exportSymbol('proto.SeasonRankList', null, global); goog.exportSymbol('proto.SeasonTarget', null, global); goog.exportSymbol('proto.SeasonTargetInfo', null, global); goog.exportSymbol('proto.SeqPassiveSkillEndInfo', null, global); goog.exportSymbol('proto.SeqPassiveSkillInfo', null, global); goog.exportSymbol('proto.ServerData', null, global); goog.exportSymbol('proto.ServerSkillStageEnd', null, global); goog.exportSymbol('proto.ServerStateObjectInteractionList', null, global); goog.exportSymbol('proto.ServerStateObjectInteractionParam', null, global); goog.exportSymbol('proto.ServerStateObjectUpdate', null, global); goog.exportSymbol('proto.SetAiming', null, global); goog.exportSymbol('proto.SetAoiSyncUserCount', null, global); goog.exportSymbol('proto.SetInteractionPartnerPos', null, global); goog.exportSymbol('proto.SetPersonalState', null, global); goog.exportSymbol('proto.SetSlotAutoBattle', null, global); goog.exportSymbol('proto.SetSlotAutoBattleRequest', null, global); goog.exportSymbol('proto.SetTunnel', null, global); goog.exportSymbol('proto.SettingData', null, global); goog.exportSymbol('proto.SettlementPosition', null, global); goog.exportSymbol('proto.ShopCompensationData', null, global); goog.exportSymbol('proto.ShopCompensationInfo', null, global); goog.exportSymbol('proto.ShopData', null, global); goog.exportSymbol('proto.ShopRefreshRecord', null, global); goog.exportSymbol('proto.ShowPieceAttr', null, global); goog.exportSymbol('proto.ShowPieceAttrList', null, global); goog.exportSymbol('proto.ShowPieceData', null, global); goog.exportSymbol('proto.ShowPieceIdList', null, global); goog.exportSymbol('proto.ShowPiecePair', null, global); goog.exportSymbol('proto.SignInfo', null, global); goog.exportSymbol('proto.SignStatus', null, global); goog.exportSymbol('proto.SignStatusList', null, global); goog.exportSymbol('proto.SkillCD', null, global); goog.exportSymbol('proto.SkillCDInfo', null, global); goog.exportSymbol('proto.SkillEffect', null, global); goog.exportSymbol('proto.SkillSkin', null, global); goog.exportSymbol('proto.Slot', null, global); goog.exportSymbol('proto.SlotData', null, global); goog.exportSymbol('proto.SlotInfo', null, global); goog.exportSymbol('proto.SlotInfoData', null, global); goog.exportSymbol('proto.SocialData', null, global); goog.exportSymbol('proto.StartPlayAction', null, global); goog.exportSymbol('proto.StatRecord', null, global); goog.exportSymbol('proto.StatisticsData', null, global); goog.exportSymbol('proto.StopRide', null, global); goog.exportSymbol('proto.Structure', null, global); goog.exportSymbol('proto.StructureFarmlandInfo', null, global); goog.exportSymbol('proto.StructureLamplightInfo', null, global); goog.exportSymbol('proto.StructureMaterialInfo', null, global); goog.exportSymbol('proto.StructureOp', null, global); goog.exportSymbol('proto.StructureOpType', null, global); goog.exportSymbol('proto.SwitchSceneRequest', null, global); goog.exportSymbol('proto.SwitchSceneResponse', null, global); goog.exportSymbol('proto.SyncAllServerStateObject', null, global); goog.exportSymbol('proto.SyncAwardData', null, global); goog.exportSymbol('proto.SyncBulletHitInfo', null, global); goog.exportSymbol('proto.SyncCirclePathLength', null, global); goog.exportSymbol('proto.SyncClientUseSkill', null, global); goog.exportSymbol('proto.SyncContainerData', null, global); goog.exportSymbol('proto.SyncContainerDirtyData', null, global); goog.exportSymbol('proto.SyncDamageInfo', null, global); goog.exportSymbol('proto.SyncDirWhenAiming', null, global); goog.exportSymbol('proto.SyncDungeonData', null, global); goog.exportSymbol('proto.SyncDungeonDirtyData', null, global); goog.exportSymbol('proto.SyncEntityBehaviorTree', null, global); goog.exportSymbol('proto.SyncFakeBulletHitInfo', null, global); goog.exportSymbol('proto.SyncFieldOfView', null, global); goog.exportSymbol('proto.SyncHitInfo', null, global); goog.exportSymbol('proto.SyncLog', null, global); goog.exportSymbol('proto.SyncNearDeltaInfo', null, global); goog.exportSymbol('proto.SyncNearEntities', null, global); goog.exportSymbol('proto.SyncPathNode', null, global); goog.exportSymbol('proto.SyncPersonalObject', null, global); goog.exportSymbol('proto.SyncPlayCameraAnimation', null, global); goog.exportSymbol('proto.SyncSceneArea', null, global); goog.exportSymbol('proto.SyncSceneAttrs', null, global); goog.exportSymbol('proto.SyncSceneEvents', null, global); goog.exportSymbol('proto.SyncServerData', null, global); goog.exportSymbol('proto.SyncServerSkillEnd', null, global); goog.exportSymbol('proto.SyncServerSkillSingingTimeSub', null, global); goog.exportSymbol('proto.SyncServerSkillStageEnd', null, global); goog.exportSymbol('proto.SyncServerTime', null, global); goog.exportSymbol('proto.SyncSkillLocation', null, global); goog.exportSymbol('proto.SyncSkillStageTrigger', null, global); goog.exportSymbol('proto.SyncSubSceneAttrs', null, global); goog.exportSymbol('proto.SyncToMeDeltaInfo', null, global); goog.exportSymbol('proto.SyncUserBeHitInfo', null, global); goog.exportSymbol('proto.SystemType', null, global); goog.exportSymbol('proto.TakeOffShowPiece', null, global); goog.exportSymbol('proto.TakeOnActivateRideSkin', null, global); goog.exportSymbol('proto.TakeOnActivateRideSkinParam', null, global); goog.exportSymbol('proto.TakeOnSetRideSkin', null, global); goog.exportSymbol('proto.TakeOnSetRideSkinParam', null, global); goog.exportSymbol('proto.TakeOnShowPiece', null, global); goog.exportSymbol('proto.TeamMemData', null, global); goog.exportSymbol('proto.TeamMemberSocialData', null, global); goog.exportSymbol('proto.Teleport', null, global); goog.exportSymbol('proto.TeleportParams', null, global); goog.exportSymbol('proto.TempAttr', null, global); goog.exportSymbol('proto.TempAttrCollection', null, global); goog.exportSymbol('proto.ThrowMoveInfo', null, global); goog.exportSymbol('proto.TimerInfo', null, global); goog.exportSymbol('proto.TimerRefreshDataList', null, global); goog.exportSymbol('proto.TimerRefreshInfo', null, global); goog.exportSymbol('proto.TimerRefreshList', null, global); goog.exportSymbol('proto.TransferParam', null, global); goog.exportSymbol('proto.TransferPoint', null, global); goog.exportSymbol('proto.Treasure', null, global); goog.exportSymbol('proto.TreasureItem', null, global); goog.exportSymbol('proto.TreasureItemRow', null, global); goog.exportSymbol('proto.TreasureItemTarget', null, global); goog.exportSymbol('proto.TrialRoad', null, global); goog.exportSymbol('proto.TrialRoadRoomTargetAward', null, global); goog.exportSymbol('proto.TrialRoadTargetAward', null, global); goog.exportSymbol('proto.TrialRoadTargetProgress', null, global); goog.exportSymbol('proto.TssAccountInfoProto', null, global); goog.exportSymbol('proto.UnionBuilding', null, global); goog.exportSymbol('proto.UnionDanceHistory', null, global); goog.exportSymbol('proto.UnionData', null, global); goog.exportSymbol('proto.UnionEScreenInfo', null, global); goog.exportSymbol('proto.UnionHistoryActive', null, global); goog.exportSymbol('proto.UnlockColorInfo', null, global); goog.exportSymbol('proto.UnlockEmojiData', null, global); goog.exportSymbol('proto.UnlockInfo', null, global); goog.exportSymbol('proto.UnlockProficiency', null, global); goog.exportSymbol('proto.UpdateStructure', null, global); goog.exportSymbol('proto.UpdateStructureRequest', null, global); goog.exportSymbol('proto.UploadTLogBody', null, global); goog.exportSymbol('proto.UseSkill', null, global); goog.exportSymbol('proto.UseSkillParam', null, global); goog.exportSymbol('proto.UseSlot', null, global); goog.exportSymbol('proto.UseSlotRequest', null, global); goog.exportSymbol('proto.UserActivityInfo', null, global); goog.exportSymbol('proto.UserActivityList', null, global); goog.exportSymbol('proto.UserActivityRewardInfo', null, global); goog.exportSymbol('proto.UserAttrData', null, global); goog.exportSymbol('proto.UserControlInfo', null, global); goog.exportSymbol('proto.UserDoAction', null, global); goog.exportSymbol('proto.UserFightAttr', null, global); goog.exportSymbol('proto.UserNotifyTrigger', null, global); goog.exportSymbol('proto.UserNotifyTriggerInfo', null, global); goog.exportSymbol('proto.UserRecommendPlayData', null, global); goog.exportSymbol('proto.UserSceneInfo', null, global); goog.exportSymbol('proto.UserUnion', null, global); goog.exportSymbol('proto.UserUnionHuntInfo', null, global); goog.exportSymbol('proto.Vector2', null, global); goog.exportSymbol('proto.Vector3', null, global); goog.exportSymbol('proto.Vector4', null, global); goog.exportSymbol('proto.WarehouseData', null, global); goog.exportSymbol('proto.WeeklyTowerRecord', null, global); goog.exportSymbol('proto.WorldEventMap', null, global); goog.exportSymbol('proto.WorldNtfSyncPathNode', null, global); goog.exportSymbol('proto.WorldQuestInfo', null, global); goog.exportSymbol('proto.WorldReconnectStatus', null, global); goog.exportSymbol('proto.cameraSchemeCache', null, global); goog.exportSymbol('proto.cameraSchemeInfo', null, global); goog.exportSymbol('proto.cameraSelectSchemeCache', null, global); goog.exportSymbol('proto.httpCachePhotoInfo', null, global); goog.exportSymbol('proto.photoInfo', null, global); goog.exportSymbol('proto.schemeInfo', null, global); goog.exportSymbol('proto.tempPhotoCache', null, global); goog.exportSymbol('proto.tempPhotoCacheInfo', null, global); goog.exportSymbol('proto.worldEventData', null, global); goog.exportSymbol('proto.worldQuestList', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AccountData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AccountData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AccountData.displayName = 'proto.AccountData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Achievement = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Achievement, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Achievement.displayName = 'proto.Achievement'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ActionInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ActionInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ActionInfo.displayName = 'proto.ActionInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ActorBodyPartInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ActorBodyPartInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ActorBodyPartInfo.displayName = 'proto.ActorBodyPartInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ActorBodyPartInfos = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ActorBodyPartInfos.repeatedFields_, null); }; goog.inherits(proto.ActorBodyPartInfos, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ActorBodyPartInfos.displayName = 'proto.ActorBodyPartInfos'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AffixData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.AffixData.repeatedFields_, null); }; goog.inherits(proto.AffixData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AffixData.displayName = 'proto.AffixData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AnswerList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.AnswerList.repeatedFields_, null); }; goog.inherits(proto.AnswerList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AnswerList.displayName = 'proto.AnswerList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AoiSyncDelta = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.AoiSyncDelta.repeatedFields_, null); }; goog.inherits(proto.AoiSyncDelta, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AoiSyncDelta.displayName = 'proto.AoiSyncDelta'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AttrCollection = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.AttrCollection.repeatedFields_, null); }; goog.inherits(proto.AttrCollection, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AttrCollection.displayName = 'proto.AttrCollection'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Attr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Attr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Attr.displayName = 'proto.Attr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MapAttr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.MapAttr.repeatedFields_, null); }; goog.inherits(proto.MapAttr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MapAttr.displayName = 'proto.MapAttr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MapAttrValue = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MapAttrValue, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MapAttrValue.displayName = 'proto.MapAttrValue'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TempAttrCollection = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.TempAttrCollection.repeatedFields_, null); }; goog.inherits(proto.TempAttrCollection, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TempAttrCollection.displayName = 'proto.TempAttrCollection'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TempAttr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TempAttr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TempAttr.displayName = 'proto.TempAttr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EventDataList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.EventDataList.repeatedFields_, null); }; goog.inherits(proto.EventDataList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EventDataList.displayName = 'proto.EventDataList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EventData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.EventData.repeatedFields_, null); }; goog.inherits(proto.EventData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EventData.displayName = 'proto.EventData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BulletEvent = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BulletEvent, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BulletEvent.displayName = 'proto.BulletEvent'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SkillEffect = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SkillEffect.repeatedFields_, null); }; goog.inherits(proto.SkillEffect, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SkillEffect.displayName = 'proto.SkillEffect'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncDamageInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SyncDamageInfo.repeatedFields_, null); }; goog.inherits(proto.SyncDamageInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncDamageInfo.displayName = 'proto.SyncDamageInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Vector3 = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Vector3, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Vector3.displayName = 'proto.Vector3'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ClientHitPartInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ClientHitPartInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ClientHitPartInfo.displayName = 'proto.ClientHitPartInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Vector2 = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Vector2, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Vector2.displayName = 'proto.Vector2'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeqPassiveSkillInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SeqPassiveSkillInfo.repeatedFields_, null); }; goog.inherits(proto.SeqPassiveSkillInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeqPassiveSkillInfo.displayName = 'proto.SeqPassiveSkillInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PassiveSkillInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PassiveSkillInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PassiveSkillInfo.displayName = 'proto.PassiveSkillInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeqPassiveSkillEndInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SeqPassiveSkillEndInfo.repeatedFields_, null); }; goog.inherits(proto.SeqPassiveSkillEndInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeqPassiveSkillEndInfo.displayName = 'proto.SeqPassiveSkillEndInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffInfoSync = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BuffInfoSync.repeatedFields_, null); }; goog.inherits(proto.BuffInfoSync, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffInfoSync.displayName = 'proto.BuffInfoSync'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BuffInfo.repeatedFields_, null); }; goog.inherits(proto.BuffInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffInfo.displayName = 'proto.BuffInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FightSourceInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FightSourceInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FightSourceInfo.displayName = 'proto.FightSourceInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffEffectLogicInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BuffEffectLogicInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffEffectLogicInfo.displayName = 'proto.BuffEffectLogicInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffEffectSync = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BuffEffectSync.repeatedFields_, null); }; goog.inherits(proto.BuffEffectSync, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffEffectSync.displayName = 'proto.BuffEffectSync'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffEffect = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BuffEffect.repeatedFields_, null); }; goog.inherits(proto.BuffEffect, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffEffect.displayName = 'proto.BuffEffect'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FakeBulletInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FakeBulletInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FakeBulletInfo.displayName = 'proto.FakeBulletInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MagneticRideQueueChangeInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MagneticRideQueueChangeInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MagneticRideQueueChangeInfo.displayName = 'proto.MagneticRideQueueChangeInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MagneticRidePassengerChangeInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.MagneticRidePassengerChangeInfo.repeatedFields_, null); }; goog.inherits(proto.MagneticRidePassengerChangeInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MagneticRidePassengerChangeInfo.displayName = 'proto.MagneticRidePassengerChangeInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PassengerChangeParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PassengerChangeParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PassengerChangeParam.displayName = 'proto.PassengerChangeParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MagneticRidePathPointChangeInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.MagneticRidePathPointChangeInfo.repeatedFields_, null); }; goog.inherits(proto.MagneticRidePathPointChangeInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MagneticRidePathPointChangeInfo.displayName = 'proto.MagneticRidePathPointChangeInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PathPointChangeParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PathPointChangeParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PathPointChangeParam.displayName = 'proto.PathPointChangeParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Position = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Position, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Position.displayName = 'proto.Position'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AoiSyncToMeDelta = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.AoiSyncToMeDelta.repeatedFields_, null); }; goog.inherits(proto.AoiSyncToMeDelta, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AoiSyncToMeDelta.displayName = 'proto.AoiSyncToMeDelta'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SkillCD = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SkillCD, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SkillCD.displayName = 'proto.SkillCD'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FightResCD = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FightResCD, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FightResCD.displayName = 'proto.FightResCD'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AvatarInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AvatarInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AvatarInfo.displayName = 'proto.AvatarInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PictureInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PictureInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PictureInfo.displayName = 'proto.PictureInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PictureVerify = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PictureVerify, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PictureVerify.displayName = 'proto.PictureVerify'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BasicData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BasicData.repeatedFields_, null); }; goog.inherits(proto.BasicData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BasicData.displayName = 'proto.BasicData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BattlePass = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BattlePass, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BattlePass.displayName = 'proto.BattlePass'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BattlePassAwardInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BattlePassAwardInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BattlePassAwardInfo.displayName = 'proto.BattlePassAwardInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BattlePassData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BattlePassData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BattlePassData.displayName = 'proto.BattlePassData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BossProgress = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BossProgress, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BossProgress.displayName = 'proto.BossProgress'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotActiveTrigger = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotActiveTrigger, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotActiveTrigger.displayName = 'proto.BotActiveTrigger'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotAddBuff = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotAddBuff, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotAddBuff.displayName = 'proto.BotAddBuff'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotMoveInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotMoveInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotMoveInfo.displayName = 'proto.BotMoveInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotPlayActionParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotPlayActionParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotPlayActionParam.displayName = 'proto.BotPlayActionParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotRemoveBuff = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotRemoveBuff, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotRemoveBuff.displayName = 'proto.BotRemoveBuff'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotResurrectionParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotResurrectionParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotResurrectionParam.displayName = 'proto.BotResurrectionParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotSendChitChatMsgReq = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotSendChitChatMsgReq, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotSendChitChatMsgReq.displayName = 'proto.BotSendChitChatMsgReq'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotStartRideParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotStartRideParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotStartRideParam.displayName = 'proto.BotStartRideParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotTeleportParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotTeleportParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotTeleportParam.displayName = 'proto.BotTeleportParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BotUseSkillInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BotUseSkillInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BotUseSkillInfo.displayName = 'proto.BotUseSkillInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BubbleActData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BubbleActData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BubbleActData.displayName = 'proto.BubbleActData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BubbleInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BubbleInfo.repeatedFields_, null); }; goog.inherits(proto.BubbleInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BubbleInfo.displayName = 'proto.BubbleInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffAttrEffect = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BuffAttrEffect.repeatedFields_, null); }; goog.inherits(proto.BuffAttrEffect, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffAttrEffect.displayName = 'proto.BuffAttrEffect'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffAttrShowInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BuffAttrShowInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffAttrShowInfo.displayName = 'proto.BuffAttrShowInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffDBData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BuffDBData.repeatedFields_, null); }; goog.inherits(proto.BuffDBData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffDBData.displayName = 'proto.BuffDBData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffDBInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BuffDBInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffDBInfo.displayName = 'proto.BuffDBInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffEffectLogicTension = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BuffEffectLogicTension.repeatedFields_, null); }; goog.inherits(proto.BuffEffectLogicTension, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffEffectLogicTension.displayName = 'proto.BuffEffectLogicTension'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BufferStream = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BufferStream, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BufferStream.displayName = 'proto.BufferStream'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BuffProfessionEffectData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.BuffProfessionEffectData.repeatedFields_, null); }; goog.inherits(proto.BuffProfessionEffectData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BuffProfessionEffectData.displayName = 'proto.BuffProfessionEffectData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.cameraSchemeCache = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cameraSchemeCache, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cameraSchemeCache.displayName = 'proto.cameraSchemeCache'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.cameraSchemeInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cameraSchemeInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cameraSchemeInfo.displayName = 'proto.cameraSchemeInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.cameraSelectSchemeCache = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.cameraSelectSchemeCache, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.cameraSelectSchemeCache.displayName = 'proto.cameraSelectSchemeCache'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ChallengeDungeonInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ChallengeDungeonInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ChallengeDungeonInfo.displayName = 'proto.ChallengeDungeonInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonInfo.displayName = 'proto.DungeonInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonTargetAward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonTargetAward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonTargetAward.displayName = 'proto.DungeonTargetAward'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonTargetProgress = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonTargetProgress, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonTargetProgress.displayName = 'proto.DungeonTargetProgress'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CharBaseInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.CharBaseInfo.repeatedFields_, null); }; goog.inherits(proto.CharBaseInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CharBaseInfo.displayName = 'proto.CharBaseInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FaceData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FaceData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FaceData.displayName = 'proto.FaceData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.IntVec3 = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.IntVec3, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.IntVec3.displayName = 'proto.IntVec3'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ProfileInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ProfileInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ProfileInfo.displayName = 'proto.ProfileInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CharTeam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.CharTeam.repeatedFields_, null); }; goog.inherits(proto.CharTeam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CharTeam.displayName = 'proto.CharTeam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TeamMemData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TeamMemData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TeamMemData.displayName = 'proto.TeamMemData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TeamMemberSocialData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TeamMemberSocialData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TeamMemberSocialData.displayName = 'proto.TeamMemberSocialData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ProfessionData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ProfessionData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ProfessionData.displayName = 'proto.ProfessionData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EquipData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.EquipData.repeatedFields_, null); }; goog.inherits(proto.EquipData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EquipData.displayName = 'proto.EquipData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EquipNine = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EquipNine, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EquipNine.displayName = 'proto.EquipNine'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FashionData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.FashionData.repeatedFields_, null); }; goog.inherits(proto.FashionData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FashionData.displayName = 'proto.FashionData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FashionInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FashionInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FashionInfo.displayName = 'proto.FashionInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FashionColorInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FashionColorInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FashionColorInfo.displayName = 'proto.FashionColorInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserSceneInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserSceneInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserSceneInfo.displayName = 'proto.UserSceneInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserAttrData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserAttrData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserAttrData.displayName = 'proto.UserAttrData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PersonalZoneShow = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PersonalZoneShow, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PersonalZoneShow.displayName = 'proto.PersonalZoneShow'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserUnion = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.UserUnion.repeatedFields_, null); }; goog.inherits(proto.UserUnion, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserUnion.displayName = 'proto.UserUnion'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UnionHistoryActive = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UnionHistoryActive, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UnionHistoryActive.displayName = 'proto.UnionHistoryActive'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UnionDanceHistory = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UnionDanceHistory, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UnionDanceHistory.displayName = 'proto.UnionDanceHistory'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserUnionHuntInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserUnionHuntInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserUnionHuntInfo.displayName = 'proto.UserUnionHuntInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CharSerialize = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CharSerialize, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CharSerialize.displayName = 'proto.CharSerialize'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SceneData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SceneData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SceneData.displayName = 'proto.SceneData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LastSceneData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LastSceneData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LastSceneData.displayName = 'proto.LastSceneData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SceneLuaData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SceneLuaData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SceneLuaData.displayName = 'proto.SceneLuaData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PioneerData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PioneerData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PioneerData.displayName = 'proto.PioneerData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PioneerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PioneerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PioneerInfo.displayName = 'proto.PioneerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ItemPackage = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ItemPackage, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ItemPackage.displayName = 'proto.ItemPackage'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Package = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Package, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Package.displayName = 'proto.Package'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Item = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Item, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Item.displayName = 'proto.Item'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EquipAttr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EquipAttr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EquipAttr.displayName = 'proto.EquipAttr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EquipAttrSet = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EquipAttrSet, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EquipAttrSet.displayName = 'proto.EquipAttrSet'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ModAttr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ModAttr.repeatedFields_, null); }; goog.inherits(proto.ModAttr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ModAttr.displayName = 'proto.ModAttr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ModAttrInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ModAttrInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ModAttrInfo.displayName = 'proto.ModAttrInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ModNewAttr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ModNewAttr.repeatedFields_, null); }; goog.inherits(proto.ModNewAttr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ModNewAttr.displayName = 'proto.ModNewAttr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ModPartUpgradeRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ModPartUpgradeRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ModPartUpgradeRecord.displayName = 'proto.ModPartUpgradeRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ItemExtendData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ItemExtendData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ItemExtendData.displayName = 'proto.ItemExtendData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.QuestDataList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.QuestDataList.repeatedFields_, null); }; goog.inherits(proto.QuestDataList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.QuestDataList.displayName = 'proto.QuestDataList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.QuestData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.QuestData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.QuestData.displayName = 'proto.QuestData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.QuestHistory = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.QuestHistory, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.QuestHistory.displayName = 'proto.QuestHistory'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.WorldQuestInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.WorldQuestInfo.repeatedFields_, null); }; goog.inherits(proto.WorldQuestInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.WorldQuestInfo.displayName = 'proto.WorldQuestInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.worldQuestList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.worldQuestList.repeatedFields_, null); }; goog.inherits(proto.worldQuestList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.worldQuestList.displayName = 'proto.worldQuestList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SettingData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SettingData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SettingData.displayName = 'proto.SettingData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MiscInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MiscInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MiscInfo.displayName = 'proto.MiscInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ExchangeItem = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ExchangeItem, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ExchangeItem.displayName = 'proto.ExchangeItem'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ExchangeInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ExchangeInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ExchangeInfo.displayName = 'proto.ExchangeInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ExchangeData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ExchangeData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ExchangeData.displayName = 'proto.ExchangeData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EquipList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EquipList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EquipList.displayName = 'proto.EquipList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EquipInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EquipInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EquipInfo.displayName = 'proto.EquipInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EquipEnchantInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EquipEnchantInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EquipEnchantInfo.displayName = 'proto.EquipEnchantInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EquipSuitInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EquipSuitInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EquipSuitInfo.displayName = 'proto.EquipSuitInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EnergyItem = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EnergyItem, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EnergyItem.displayName = 'proto.EnergyItem'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EnergyInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EnergyInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EnergyInfo.displayName = 'proto.EnergyInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EnergyItemInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EnergyItemInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EnergyItemInfo.displayName = 'proto.EnergyItemInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MapData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MapData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MapData.displayName = 'proto.MapData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MarkData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MarkData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MarkData.displayName = 'proto.MarkData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MarkInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MarkInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MarkInfo.displayName = 'proto.MarkInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MarkPosition = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MarkPosition, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MarkPosition.displayName = 'proto.MarkPosition'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonList.displayName = 'proto.DungeonList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonEnterLimit = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonEnterLimit, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonEnterLimit.displayName = 'proto.DungeonEnterLimit'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonEnterCount = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonEnterCount, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonEnterCount.displayName = 'proto.DungeonEnterCount'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonWeekTargetList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonWeekTargetList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonWeekTargetList.displayName = 'proto.DungeonWeekTargetList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RaidRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RaidRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RaidRecord.displayName = 'proto.RaidRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserFightAttr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.UserFightAttr.repeatedFields_, null); }; goog.inherits(proto.UserFightAttr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserFightAttr.displayName = 'proto.UserFightAttr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SkillCDInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SkillCDInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SkillCDInfo.displayName = 'proto.SkillCDInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FashionMgr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FashionMgr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FashionMgr.displayName = 'proto.FashionMgr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UnlockColorInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UnlockColorInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UnlockColorInfo.displayName = 'proto.UnlockColorInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FashionAdvanceInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.FashionAdvanceInfo.repeatedFields_, null); }; goog.inherits(proto.FashionAdvanceInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FashionAdvanceInfo.displayName = 'proto.FashionAdvanceInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ProfileList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ProfileList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ProfileList.displayName = 'proto.ProfileList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayHelper = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayHelper, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayHelper.displayName = 'proto.PlayHelper'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CounterList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CounterList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CounterList.displayName = 'proto.CounterList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CounterInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CounterInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CounterInfo.displayName = 'proto.CounterInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PersonalObject = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PersonalObject, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PersonalObject.displayName = 'proto.PersonalObject'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ScenePersonalObject = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ScenePersonalObject, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ScenePersonalObject.displayName = 'proto.ScenePersonalObject'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ServerStateObjectInteractionParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ServerStateObjectInteractionParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ServerStateObjectInteractionParam.displayName = 'proto.ServerStateObjectInteractionParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RoleLevel = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RoleLevel, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RoleLevel.displayName = 'proto.RoleLevel'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LevelProficiency = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LevelProficiency, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LevelProficiency.displayName = 'proto.LevelProficiency'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UnlockProficiency = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.UnlockProficiency.repeatedFields_, null); }; goog.inherits(proto.UnlockProficiency, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UnlockProficiency.displayName = 'proto.UnlockProficiency'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Pivot = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Pivot, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Pivot.displayName = 'proto.Pivot'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PivotInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.PivotInfo.repeatedFields_, null); }; goog.inherits(proto.PivotInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PivotInfo.displayName = 'proto.PivotInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TransferPoint = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TransferPoint, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TransferPoint.displayName = 'proto.TransferPoint'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlanetMemory = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.PlanetMemory.repeatedFields_, null); }; goog.inherits(proto.PlanetMemory, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlanetMemory.displayName = 'proto.PlanetMemory'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonTarget = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonTarget, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonTarget.displayName = 'proto.SeasonTarget'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonTargetInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonTargetInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonTargetInfo.displayName = 'proto.SeasonTargetInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RedDotData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RedDotData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RedDotData.displayName = 'proto.RedDotData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Resonance = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.Resonance.repeatedFields_, null); }; goog.inherits(proto.Resonance, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Resonance.displayName = 'proto.Resonance'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CutsState = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CutsState, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CutsState.displayName = 'proto.CutsState'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.InvestigateList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.InvestigateList.repeatedFields_, null); }; goog.inherits(proto.InvestigateList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.InvestigateList.displayName = 'proto.InvestigateList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.InvestigateData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.InvestigateData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.InvestigateData.displayName = 'proto.InvestigateData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.InvestigateStep = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.InvestigateStep.repeatedFields_, null); }; goog.inherits(proto.InvestigateStep, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.InvestigateStep.displayName = 'proto.InvestigateStep'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ParkourRecordList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ParkourRecordList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ParkourRecordList.displayName = 'proto.ParkourRecordList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ParkourRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ParkourRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ParkourRecord.displayName = 'proto.ParkourRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.InteractionInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.InteractionInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.InteractionInfo.displayName = 'proto.InteractionInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonQuestList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonQuestList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonQuestList.displayName = 'proto.SeasonQuestList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonQuestData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonQuestData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonQuestData.displayName = 'proto.SeasonQuestData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RoleFace = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RoleFace, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RoleFace.displayName = 'proto.RoleFace'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MapBookInfoList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MapBookInfoList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MapBookInfoList.displayName = 'proto.MapBookInfoList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MapBookInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MapBookInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MapBookInfo.displayName = 'proto.MapBookInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MapStickerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.MapStickerInfo.repeatedFields_, null); }; goog.inherits(proto.MapStickerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MapStickerInfo.displayName = 'proto.MapStickerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MapStickerTaskInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MapStickerTaskInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MapStickerTaskInfo.displayName = 'proto.MapStickerTaskInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FunctionData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.FunctionData.repeatedFields_, null); }; goog.inherits(proto.FunctionData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FunctionData.displayName = 'proto.FunctionData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AntiAddictionInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AntiAddictionInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AntiAddictionInfo.displayName = 'proto.AntiAddictionInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonsterExploreList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonsterExploreList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonsterExploreList.displayName = 'proto.MonsterExploreList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonsterExploreInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonsterExploreInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonsterExploreInfo.displayName = 'proto.MonsterExploreInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ShowPieceData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ShowPieceData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ShowPieceData.displayName = 'proto.ShowPieceData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ShowPieceIdList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ShowPieceIdList.repeatedFields_, null); }; goog.inherits(proto.ShowPieceIdList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ShowPieceIdList.displayName = 'proto.ShowPieceIdList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ShowPiecePair = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ShowPiecePair, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ShowPiecePair.displayName = 'proto.ShowPiecePair'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CollectionBook = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CollectionBook, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CollectionBook.displayName = 'proto.CollectionBook'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotGetProceedAwardInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotGetProceedAwardInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotGetProceedAwardInfo.displayName = 'proto.NotGetProceedAwardInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CookList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CookList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CookList.displayName = 'proto.CookList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CookBook = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CookBook, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CookBook.displayName = 'proto.CookBook'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TimerRefreshDataList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TimerRefreshDataList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TimerRefreshDataList.displayName = 'proto.TimerRefreshDataList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TimerRefreshList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TimerRefreshList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TimerRefreshList.displayName = 'proto.TimerRefreshList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TimerRefreshInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TimerRefreshInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TimerRefreshInfo.displayName = 'proto.TimerRefreshInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncAwardData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncAwardData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncAwardData.displayName = 'proto.SyncAwardData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LevelUpAward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LevelUpAward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LevelUpAward.displayName = 'proto.LevelUpAward'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonAchievementList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonAchievementList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonAchievementList.displayName = 'proto.SeasonAchievementList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonAchievement = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonAchievement, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonAchievement.displayName = 'proto.SeasonAchievement'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonRankList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonRankList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonRankList.displayName = 'proto.SeasonRankList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonRankInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SeasonRankInfo.repeatedFields_, null); }; goog.inherits(proto.SeasonRankInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonRankInfo.displayName = 'proto.SeasonRankInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonCenter = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonCenter, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonCenter.displayName = 'proto.SeasonCenter'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonBpQuestList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SeasonBpQuestList.repeatedFields_, null); }; goog.inherits(proto.SeasonBpQuestList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonBpQuestList.displayName = 'proto.SeasonBpQuestList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonBpQuestData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonBpQuestData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonBpQuestData.displayName = 'proto.SeasonBpQuestData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonCenterHistory = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonCenterHistory, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonCenterHistory.displayName = 'proto.SeasonCenterHistory'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PersonalZone = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.PersonalZone.repeatedFields_, null); }; goog.inherits(proto.PersonalZone, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PersonalZone.displayName = 'proto.PersonalZone'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EditorUIPosition = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EditorUIPosition, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EditorUIPosition.displayName = 'proto.EditorUIPosition'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FashionQualityCollectInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FashionQualityCollectInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FashionQualityCollectInfo.displayName = 'proto.FashionQualityCollectInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RideQualityCollectInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RideQualityCollectInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RideQualityCollectInfo.displayName = 'proto.RideQualityCollectInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonMedalInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonMedalInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonMedalInfo.displayName = 'proto.SeasonMedalInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MedalHole = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MedalHole, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MedalHole.displayName = 'proto.MedalHole'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MedalNode = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MedalNode, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MedalNode.displayName = 'proto.MedalNode'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityHomeData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityHomeData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityHomeData.displayName = 'proto.CommunityHomeData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityHomelandRecipe = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityHomelandRecipe, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityHomelandRecipe.displayName = 'proto.CommunityHomelandRecipe'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonActivation = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonActivation, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonActivation.displayName = 'proto.SeasonActivation'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonActivationTarget = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonActivationTarget, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonActivationTarget.displayName = 'proto.SeasonActivationTarget'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Slot = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Slot, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Slot.displayName = 'proto.Slot'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SlotInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SlotInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SlotInfo.displayName = 'proto.SlotInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonsterHuntInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonsterHuntInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonsterHuntInfo.displayName = 'proto.MonsterHuntInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonsterHuntTarget = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonsterHuntTarget, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonsterHuntTarget.displayName = 'proto.MonsterHuntTarget'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonsterTargetInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonsterTargetInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonsterTargetInfo.displayName = 'proto.MonsterTargetInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Mod = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Mod, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Mod.displayName = 'proto.Mod'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ModInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ModInfo.repeatedFields_, null); }; goog.inherits(proto.ModInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ModInfo.displayName = 'proto.ModInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.WorldEventMap = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.WorldEventMap, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.WorldEventMap.displayName = 'proto.WorldEventMap'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.worldEventData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.worldEventData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.worldEventData.displayName = 'proto.worldEventData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FishSetting = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FishSetting, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FishSetting.displayName = 'proto.FishSetting'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FishRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FishRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FishRecord.displayName = 'proto.FishRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FreightData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.FreightData.repeatedFields_, null); }; goog.inherits(proto.FreightData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FreightData.displayName = 'proto.FreightData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ProfessionList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ProfessionList.repeatedFields_, null); }; goog.inherits(proto.ProfessionList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ProfessionList.displayName = 'proto.ProfessionList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ProfessionInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ProfessionInfo.repeatedFields_, null); }; goog.inherits(proto.ProfessionInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ProfessionInfo.displayName = 'proto.ProfessionInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ProfessionSkillInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ProfessionSkillInfo.repeatedFields_, null); }; goog.inherits(proto.ProfessionSkillInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ProfessionSkillInfo.displayName = 'proto.ProfessionSkillInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ProfessionTalentInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ProfessionTalentInfo.repeatedFields_, null); }; goog.inherits(proto.ProfessionTalentInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ProfessionTalentInfo.displayName = 'proto.ProfessionTalentInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TrialRoad = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.TrialRoad.repeatedFields_, null); }; goog.inherits(proto.TrialRoad, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TrialRoad.displayName = 'proto.TrialRoad'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TrialRoadRoomTargetAward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TrialRoadRoomTargetAward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TrialRoadRoomTargetAward.displayName = 'proto.TrialRoadRoomTargetAward'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TrialRoadTargetProgress = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TrialRoadTargetProgress, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TrialRoadTargetProgress.displayName = 'proto.TrialRoadTargetProgress'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TrialRoadTargetAward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TrialRoadTargetAward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TrialRoadTargetAward.displayName = 'proto.TrialRoadTargetAward'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GashaData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GashaData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GashaData.displayName = 'proto.GashaData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GashaInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GashaInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GashaInfo.displayName = 'proto.GashaInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GashaGuaranteeInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GashaGuaranteeInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GashaGuaranteeInfo.displayName = 'proto.GashaGuaranteeInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ShopData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ShopData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ShopData.displayName = 'proto.ShopData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ShopRefreshRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ShopRefreshRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ShopRefreshRecord.displayName = 'proto.ShopRefreshRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayerRefreshShopRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.PlayerRefreshShopRecord.repeatedFields_, null); }; goog.inherits(proto.PlayerRefreshShopRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayerRefreshShopRecord.displayName = 'proto.PlayerRefreshShopRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayerBuyRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayerBuyRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayerBuyRecord.displayName = 'proto.PlayerBuyRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ShopCompensationData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ShopCompensationData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ShopCompensationData.displayName = 'proto.ShopCompensationData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ShopCompensationInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ShopCompensationInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ShopCompensationInfo.displayName = 'proto.ShopCompensationInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PersonalWorldBossInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PersonalWorldBossInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PersonalWorldBossInfo.displayName = 'proto.PersonalWorldBossInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommonAwardInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommonAwardInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommonAwardInfo.displayName = 'proto.CommonAwardInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CraftEnergyRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CraftEnergyRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CraftEnergyRecord.displayName = 'proto.CraftEnergyRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.WeeklyTowerRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.WeeklyTowerRecord.repeatedFields_, null); }; goog.inherits(proto.WeeklyTowerRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.WeeklyTowerRecord.displayName = 'proto.WeeklyTowerRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CutSceneInfos = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CutSceneInfos, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CutSceneInfos.displayName = 'proto.CutSceneInfos'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CutSceneInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CutSceneInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CutSceneInfo.displayName = 'proto.CutSceneInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserRecommendPlayData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserRecommendPlayData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserRecommendPlayData.displayName = 'proto.UserRecommendPlayData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RideList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RideList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RideList.displayName = 'proto.RideList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RideData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RideData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RideData.displayName = 'proto.RideData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RideSkinContainer = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RideSkinContainer, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RideSkinContainer.displayName = 'proto.RideSkinContainer'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RideSkinData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RideSkinData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RideSkinData.displayName = 'proto.RideSkinData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PayOrderList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.PayOrderList.repeatedFields_, null); }; goog.inherits(proto.PayOrderList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PayOrderList.displayName = 'proto.PayOrderList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PayData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PayData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PayData.displayName = 'proto.PayData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FirstPayInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FirstPayInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FirstPayInfo.displayName = 'proto.FirstPayInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LifeProfession = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LifeProfession, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LifeProfession.displayName = 'proto.LifeProfession'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LifeProfessionBasic = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LifeProfessionBasic, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LifeProfessionBasic.displayName = 'proto.LifeProfessionBasic'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LiftProfessionSpecialization = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LiftProfessionSpecialization, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LiftProfessionSpecialization.displayName = 'proto.LiftProfessionSpecialization'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LifeProfessionTargetInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.LifeProfessionTargetInfo.repeatedFields_, null); }; goog.inherits(proto.LifeProfessionTargetInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LifeProfessionTargetInfo.displayName = 'proto.LifeProfessionTargetInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LifeProfessionRecipe = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LifeProfessionRecipe, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LifeProfessionRecipe.displayName = 'proto.LifeProfessionRecipe'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LifeProfessionAlchemyInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LifeProfessionAlchemyInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LifeProfessionAlchemyInfo.displayName = 'proto.LifeProfessionAlchemyInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LifeProfessionWork = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.LifeProfessionWork.repeatedFields_, null); }; goog.inherits(proto.LifeProfessionWork, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LifeProfessionWork.displayName = 'proto.LifeProfessionWork'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LifeProfessionWorkInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.LifeProfessionWorkInfo.repeatedFields_, null); }; goog.inherits(proto.LifeProfessionWorkInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LifeProfessionWorkInfo.displayName = 'proto.LifeProfessionWorkInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserActivityList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserActivityList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserActivityList.displayName = 'proto.UserActivityList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserActivityInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserActivityInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserActivityInfo.displayName = 'proto.UserActivityInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserActivityRewardInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserActivityRewardInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserActivityRewardInfo.displayName = 'proto.UserActivityRewardInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GameFunctionData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GameFunctionData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GameFunctionData.displayName = 'proto.GameFunctionData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FunctionTimeData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FunctionTimeData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FunctionTimeData.displayName = 'proto.FunctionTimeData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayerRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayerRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayerRecord.displayName = 'proto.PlayerRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayerRecordInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayerRecordInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayerRecordInfo.displayName = 'proto.PlayerRecordInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayerRecordSingle = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayerRecordSingle, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayerRecordSingle.displayName = 'proto.PlayerRecordSingle'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DropContainerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DropContainerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DropContainerInfo.displayName = 'proto.DropContainerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DropContainerSingle = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DropContainerSingle, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DropContainerSingle.displayName = 'proto.DropContainerSingle'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DropAwardHistory = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DropAwardHistory, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DropAwardHistory.displayName = 'proto.DropAwardHistory'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonthlyCard = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.MonthlyCard.repeatedFields_, null); }; goog.inherits(proto.MonthlyCard, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonthlyCard.displayName = 'proto.MonthlyCard'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonthlyCardInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonthlyCardInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonthlyCardInfo.displayName = 'proto.MonthlyCardInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonthCardItem = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonthCardItem, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonthCardItem.displayName = 'proto.MonthCardItem'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonthlyCardBuyList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonthlyCardBuyList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonthlyCardBuyList.displayName = 'proto.MonthlyCardBuyList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FashionBenefit = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.FashionBenefit.repeatedFields_, null); }; goog.inherits(proto.FashionBenefit, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FashionBenefit.displayName = 'proto.FashionBenefit'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FashionBenefitTaskInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FashionBenefitTaskInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FashionBenefitTaskInfo.displayName = 'proto.FashionBenefitTaskInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FashionBenefitCollectionHistory = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FashionBenefitCollectionHistory, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FashionBenefitCollectionHistory.displayName = 'proto.FashionBenefitCollectionHistory'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ItemCurrency = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ItemCurrency, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ItemCurrency.displayName = 'proto.ItemCurrency'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CurrencyData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CurrencyData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CurrencyData.displayName = 'proto.CurrencyData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PrivilegeEffectData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PrivilegeEffectData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PrivilegeEffectData.displayName = 'proto.PrivilegeEffectData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Treasure = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.Treasure.repeatedFields_, null); }; goog.inherits(proto.Treasure, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Treasure.displayName = 'proto.Treasure'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TreasureItemRow = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TreasureItemRow, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TreasureItemRow.displayName = 'proto.TreasureItemRow'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TreasureItemTarget = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TreasureItemTarget, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TreasureItemTarget.displayName = 'proto.TreasureItemTarget'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TreasureItem = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.TreasureItem.repeatedFields_, null); }; goog.inherits(proto.TreasureItem, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TreasureItem.displayName = 'proto.TreasureItem'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UnlockEmojiData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UnlockEmojiData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UnlockEmojiData.displayName = 'proto.UnlockEmojiData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayerOrderComtainerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayerOrderComtainerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayerOrderComtainerInfo.displayName = 'proto.PlayerOrderComtainerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayerBox = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayerBox, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayerBox.displayName = 'proto.PlayerBox'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayerBoxData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayerBoxData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayerBoxData.displayName = 'proto.PlayerBoxData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LaunchPrivilegeData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LaunchPrivilegeData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LaunchPrivilegeData.displayName = 'proto.LaunchPrivilegeData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RechargeData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RechargeData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RechargeData.displayName = 'proto.RechargeData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LuckyValueMgr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LuckyValueMgr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LuckyValueMgr.displayName = 'proto.LuckyValueMgr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LuckyValueInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LuckyValueInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LuckyValueInfo.displayName = 'proto.LuckyValueInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HandbookData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HandbookData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HandbookData.displayName = 'proto.HandbookData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HandBookStruct = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HandBookStruct, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HandBookStruct.displayName = 'proto.HandBookStruct'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MasterModeDungeonInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MasterModeDungeonInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MasterModeDungeonInfo.displayName = 'proto.MasterModeDungeonInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonMasterModeDungeonInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonMasterModeDungeonInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonMasterModeDungeonInfo.displayName = 'proto.SeasonMasterModeDungeonInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MasterModeDiffDungeonInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MasterModeDiffDungeonInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MasterModeDiffDungeonInfo.displayName = 'proto.MasterModeDiffDungeonInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.StatisticsData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.StatisticsData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.StatisticsData.displayName = 'proto.StatisticsData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.StatRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.StatRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.StatRecord.displayName = 'proto.StatRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SceneRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SceneRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SceneRecord.displayName = 'proto.SceneRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CompensationStatistics = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CompensationStatistics, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CompensationStatistics.displayName = 'proto.CompensationStatistics'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CompensationSeasonStatistics = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CompensationSeasonStatistics, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CompensationSeasonStatistics.displayName = 'proto.CompensationSeasonStatistics'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CompensationRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CompensationRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CompensationRecord.displayName = 'proto.CompensationRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CompensationData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CompensationData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CompensationData.displayName = 'proto.CompensationData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MailClaimedInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.MailClaimedInfo.repeatedFields_, null); }; goog.inherits(proto.MailClaimedInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MailClaimedInfo.displayName = 'proto.MailClaimedInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NewbieData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NewbieData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NewbieData.displayName = 'proto.NewbieData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FightPoint = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FightPoint, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FightPoint.displayName = 'proto.FightPoint'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FightPointData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FightPointData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FightPointData.displayName = 'proto.FightPointData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FightPointSubData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FightPointSubData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FightPointSubData.displayName = 'proto.FightPointSubData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SignInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SignInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SignInfo.displayName = 'proto.SignInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SignStatusList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SignStatusList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SignStatusList.displayName = 'proto.SignStatusList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SignStatus = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SignStatus, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SignStatus.displayName = 'proto.SignStatus'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CharStatisticsData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CharStatisticsData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CharStatisticsData.displayName = 'proto.CharStatisticsData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ClientHitInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ClientHitInfo.repeatedFields_, null); }; goog.inherits(proto.ClientHitInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ClientHitInfo.displayName = 'proto.ClientHitInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Clutter = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Clutter, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Clutter.displayName = 'proto.Clutter'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ClutterGenerationRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ClutterGenerationRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ClutterGenerationRecord.displayName = 'proto.ClutterGenerationRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CollectingItem = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CollectingItem, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CollectingItem.displayName = 'proto.CollectingItem'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityAuthorityInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityAuthorityInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityAuthorityInfo.displayName = 'proto.CommunityAuthorityInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityBuildFurnitureInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityBuildFurnitureInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityBuildFurnitureInfo.displayName = 'proto.CommunityBuildFurnitureInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityCharBasicData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityCharBasicData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityCharBasicData.displayName = 'proto.CommunityCharBasicData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.CommunityData.repeatedFields_, null); }; goog.inherits(proto.CommunityData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityData.displayName = 'proto.CommunityData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityGetHomeLandBaseInfoReply = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityGetHomeLandBaseInfoReply, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityGetHomeLandBaseInfoReply.displayName = 'proto.CommunityGetHomeLandBaseInfoReply'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomelandBaseInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.HomelandBaseInfo.repeatedFields_, null); }; goog.inherits(proto.HomelandBaseInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomelandBaseInfo.displayName = 'proto.HomelandBaseInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomeLandClutterInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HomeLandClutterInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomeLandClutterInfo.displayName = 'proto.HomeLandClutterInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomeLandClutterGenerationRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HomeLandClutterGenerationRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomeLandClutterGenerationRecord.displayName = 'proto.HomeLandClutterGenerationRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomeLandSellShopInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HomeLandSellShopInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomeLandSellShopInfo.displayName = 'proto.HomeLandSellShopInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomeLandItemInstance = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HomeLandItemInstance, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomeLandItemInstance.displayName = 'proto.HomeLandItemInstance'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityTransfer = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityTransfer, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityTransfer.displayName = 'proto.CommunityTransfer'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityPlayerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityPlayerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityPlayerInfo.displayName = 'proto.CommunityPlayerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityPlayerAuthorityInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityPlayerAuthorityInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityPlayerAuthorityInfo.displayName = 'proto.CommunityPlayerAuthorityInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityQuitCohabitant = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityQuitCohabitant, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityQuitCohabitant.displayName = 'proto.CommunityQuitCohabitant'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomeLandPlayerTaskInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HomeLandPlayerTaskInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomeLandPlayerTaskInfo.displayName = 'proto.HomeLandPlayerTaskInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomeLandTask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HomeLandTask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomeLandTask.displayName = 'proto.HomeLandTask'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomelandDecorationInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HomelandDecorationInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomelandDecorationInfo.displayName = 'proto.HomelandDecorationInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomelandLamplightInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HomelandLamplightInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomelandLamplightInfo.displayName = 'proto.HomelandLamplightInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HomelandMaterialInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HomelandMaterialInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HomelandMaterialInfo.displayName = 'proto.HomelandMaterialInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityGetHomeLandBaseInfoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityGetHomeLandBaseInfoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityGetHomeLandBaseInfoRequest.displayName = 'proto.CommunityGetHomeLandBaseInfoRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityGrainUpdateStructureReply = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.CommunityGrainUpdateStructureReply.repeatedFields_, null); }; goog.inherits(proto.CommunityGrainUpdateStructureReply, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityGrainUpdateStructureReply.displayName = 'proto.CommunityGrainUpdateStructureReply'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityUpdateStructureReplyOpt = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityUpdateStructureReplyOpt, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityUpdateStructureReplyOpt.displayName = 'proto.CommunityUpdateStructureReplyOpt'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.StructureOp = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.StructureOp, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.StructureOp.displayName = 'proto.StructureOp'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Structure = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Structure, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Structure.displayName = 'proto.Structure'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Vector4 = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Vector4, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Vector4.displayName = 'proto.Vector4'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.StructureMaterialInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.StructureMaterialInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.StructureMaterialInfo.displayName = 'proto.StructureMaterialInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.StructureLamplightInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.StructureLamplightInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.StructureLamplightInfo.displayName = 'proto.StructureLamplightInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.StructureFarmlandInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.StructureFarmlandInfo.repeatedFields_, null); }; goog.inherits(proto.StructureFarmlandInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.StructureFarmlandInfo.displayName = 'proto.StructureFarmlandInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DroughtRecord = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DroughtRecord, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DroughtRecord.displayName = 'proto.DroughtRecord'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CompletedTargetInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CompletedTargetInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CompletedTargetInfo.displayName = 'proto.CompletedTargetInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ConnectWorldResult = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ConnectWorldResult, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ConnectWorldResult.displayName = 'proto.ConnectWorldResult'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DanceBall = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DanceBall, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DanceBall.displayName = 'proto.DanceBall'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DancerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DancerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DancerInfo.displayName = 'proto.DancerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DelayHitInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.DelayHitInfo.repeatedFields_, null); }; goog.inherits(proto.DelayHitInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DelayHitInfo.displayName = 'proto.DelayHitInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DelayHitTargetInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DelayHitTargetInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DelayHitTargetInfo.displayName = 'proto.DelayHitTargetInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DirtyMask = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.DirtyMask.repeatedFields_, null); }; goog.inherits(proto.DirtyMask, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DirtyMask.displayName = 'proto.DirtyMask'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DrawingLines = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.DrawingLines.repeatedFields_, null); }; goog.inherits(proto.DrawingLines, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DrawingLines.displayName = 'proto.DrawingLines'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonAffixData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.DungeonAffixData.repeatedFields_, null); }; goog.inherits(proto.DungeonAffixData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonAffixData.displayName = 'proto.DungeonAffixData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonAward = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.DungeonAward.repeatedFields_, null); }; goog.inherits(proto.DungeonAward, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonAward.displayName = 'proto.DungeonAward'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonBossRank = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonBossRank, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonBossRank.displayName = 'proto.DungeonBossRank'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RankData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RankData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RankData.displayName = 'proto.RankData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonDamage = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonDamage, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonDamage.displayName = 'proto.DungeonDamage'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonEvent = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonEvent, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonEvent.displayName = 'proto.DungeonEvent'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonEventData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonEventData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonEventData.displayName = 'proto.DungeonEventData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonTargetData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonTargetData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonTargetData.displayName = 'proto.DungeonTargetData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonFlowInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonFlowInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonFlowInfo.displayName = 'proto.DungeonFlowInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonHeroKeyInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.DungeonHeroKeyInfo.repeatedFields_, null); }; goog.inherits(proto.DungeonHeroKeyInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonHeroKeyInfo.displayName = 'proto.DungeonHeroKeyInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HeroKeyItemInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HeroKeyItemInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HeroKeyItemInfo.displayName = 'proto.HeroKeyItemInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.HeroKeyRollInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.HeroKeyRollInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.HeroKeyRollInfo.displayName = 'proto.HeroKeyRollInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonPioneer = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonPioneer, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonPioneer.displayName = 'proto.DungeonPioneer'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonPlanetMemoryRoom = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonPlanetMemoryRoom, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonPlanetMemoryRoom.displayName = 'proto.DungeonPlanetMemoryRoom'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonPlayerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonPlayerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonPlayerInfo.displayName = 'proto.DungeonPlayerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SocialData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SocialData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SocialData.displayName = 'proto.SocialData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UnionData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UnionData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UnionData.displayName = 'proto.UnionData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.WarehouseData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.WarehouseData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.WarehouseData.displayName = 'proto.WarehouseData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SeasonRankData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SeasonRankData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SeasonRankData.displayName = 'proto.SeasonRankData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FishSocialData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FishSocialData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FishSocialData.displayName = 'proto.FishSocialData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PrivilegeData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PrivilegeData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PrivilegeData.displayName = 'proto.PrivilegeData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MasterModeDungeonData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MasterModeDungeonData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MasterModeDungeonData.displayName = 'proto.MasterModeDungeonData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonPlayerList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonPlayerList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonPlayerList.displayName = 'proto.DungeonPlayerList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonRaidInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonRaidInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonRaidInfo.displayName = 'proto.DungeonRaidInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonRandomEntityConfigIdInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonRandomEntityConfigIdInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonRandomEntityConfigIdInfo.displayName = 'proto.DungeonRandomEntityConfigIdInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonRankInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonRankInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonRankInfo.displayName = 'proto.DungeonRankInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonRankList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonRankList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonRankList.displayName = 'proto.DungeonRankList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonReviveInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.DungeonReviveInfo.repeatedFields_, null); }; goog.inherits(proto.DungeonReviveInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonReviveInfo.displayName = 'proto.DungeonReviveInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonSceneInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonSceneInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonSceneInfo.displayName = 'proto.DungeonSceneInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonScore = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonScore, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonScore.displayName = 'proto.DungeonScore'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonSettlement = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonSettlement, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonSettlement.displayName = 'proto.DungeonSettlement'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SettlementPosition = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SettlementPosition, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SettlementPosition.displayName = 'proto.SettlementPosition'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonWorldBossSettlement = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonWorldBossSettlement, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonWorldBossSettlement.displayName = 'proto.DungeonWorldBossSettlement'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonSyncData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonSyncData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonSyncData.displayName = 'proto.DungeonSyncData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonTitle = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonTitle, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonTitle.displayName = 'proto.DungeonTitle'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonTitleList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonTitleList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonTitleList.displayName = 'proto.DungeonTitleList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonTitleInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonTitleInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonTitleInfo.displayName = 'proto.DungeonTitleInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonTarget = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonTarget, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonTarget.displayName = 'proto.DungeonTarget'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonVote = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonVote, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonVote.displayName = 'proto.DungeonVote'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonVar = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.DungeonVar.repeatedFields_, null); }; goog.inherits(proto.DungeonVar, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonVar.displayName = 'proto.DungeonVar'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonVarData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonVarData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonVarData.displayName = 'proto.DungeonVarData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonTimerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonTimerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonTimerInfo.displayName = 'proto.DungeonTimerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonUnionInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonUnionInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonUnionInfo.displayName = 'proto.DungeonUnionInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UnionBuilding = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UnionBuilding, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UnionBuilding.displayName = 'proto.UnionBuilding'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UnionEScreenInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.UnionEScreenInfo.repeatedFields_, null); }; goog.inherits(proto.UnionEScreenInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UnionEScreenInfo.displayName = 'proto.UnionEScreenInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PhotoGraphShow = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.PhotoGraphShow.repeatedFields_, null); }; goog.inherits(proto.PhotoGraphShow, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PhotoGraphShow.displayName = 'proto.PhotoGraphShow'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ImageInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ImageInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ImageInfo.displayName = 'proto.ImageInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PhotoOwnerData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PhotoOwnerData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PhotoOwnerData.displayName = 'proto.PhotoOwnerData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DungeonVarAll = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DungeonVarAll, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DungeonVarAll.displayName = 'proto.DungeonVarAll'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EnterSceneInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EnterSceneInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EnterSceneInfo.displayName = 'proto.EnterSceneInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Entity = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Entity, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Entity.displayName = 'proto.Entity'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MagneticQueueAppearInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.MagneticQueueAppearInfo.repeatedFields_, null); }; goog.inherits(proto.MagneticQueueAppearInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MagneticQueueAppearInfo.displayName = 'proto.MagneticQueueAppearInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FaceDataDb = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FaceDataDb, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FaceDataDb.displayName = 'proto.FaceDataDb'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.IntVec3Db = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.IntVec3Db, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.IntVec3Db.displayName = 'proto.IntVec3Db'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FishingData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FishingData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FishingData.displayName = 'proto.FishingData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FishingSetStageRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FishingSetStageRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FishingSetStageRequest.displayName = 'proto.FishingSetStageRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetClientOptionsReply = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetClientOptionsReply, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetClientOptionsReply.displayName = 'proto.GetClientOptionsReply'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetClientOptionsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.GetClientOptionsRequest.repeatedFields_, null); }; goog.inherits(proto.GetClientOptionsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetClientOptionsRequest.displayName = 'proto.GetClientOptionsRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetGitVersionReply = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetGitVersionReply, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetGitVersionReply.displayName = 'proto.GetGitVersionReply'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetGitVersionRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetGitVersionRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetGitVersionRequest.displayName = 'proto.GetGitVersionRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetHomelandBuildFurnitureInfoReply = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.GetHomelandBuildFurnitureInfoReply.repeatedFields_, null); }; goog.inherits(proto.GetHomelandBuildFurnitureInfoReply, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetHomelandBuildFurnitureInfoReply.displayName = 'proto.GetHomelandBuildFurnitureInfoReply'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetHomelandBuildFurnitureInfoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetHomelandBuildFurnitureInfoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetHomelandBuildFurnitureInfoRequest.displayName = 'proto.GetHomelandBuildFurnitureInfoRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetPathReply = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetPathReply, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetPathReply.displayName = 'proto.GetPathReply'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetPathRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetPathRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetPathRequest.displayName = 'proto.GetPathRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetSocialDataReply = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetSocialDataReply, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetSocialDataReply.displayName = 'proto.GetSocialDataReply'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetSocialDataRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetSocialDataRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetSocialDataRequest.displayName = 'proto.GetSocialDataRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GmCmd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GmCmd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GmCmd.displayName = 'proto.GmCmd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GmResult = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.GmResult.repeatedFields_, null); }; goog.inherits(proto.GmResult, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GmResult.displayName = 'proto.GmResult'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.httpCachePhotoInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.httpCachePhotoInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.httpCachePhotoInfo.displayName = 'proto.httpCachePhotoInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.InitHomeLandInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.InitHomeLandInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.InitHomeLandInfo.displayName = 'proto.InitHomeLandInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.InteractionTemplateData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.InteractionTemplateData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.InteractionTemplateData.displayName = 'proto.InteractionTemplateData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LinkingInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.LinkingInfo.repeatedFields_, null); }; goog.inherits(proto.LinkingInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LinkingInfo.displayName = 'proto.LinkingInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ActorUuidStru = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ActorUuidStru, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ActorUuidStru.displayName = 'proto.ActorUuidStru'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LoadMapSuccessParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LoadMapSuccessParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LoadMapSuccessParam.displayName = 'proto.LoadMapSuccessParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LuaSceneAttrReply = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LuaSceneAttrReply, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LuaSceneAttrReply.displayName = 'proto.LuaSceneAttrReply'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyAntiDataRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyAntiDataRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyAntiDataRequest.displayName = 'proto.NotifyAntiDataRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TssAccountInfoProto = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TssAccountInfoProto, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TssAccountInfoProto.displayName = 'proto.TssAccountInfoProto'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyBuildFurnitureOp = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyBuildFurnitureOp, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyBuildFurnitureOp.displayName = 'proto.NotifyBuildFurnitureOp'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyCommunityHomeLandDecorationInfoRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyCommunityHomeLandDecorationInfoRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyCommunityHomeLandDecorationInfoRequest.displayName = 'proto.NotifyCommunityHomeLandDecorationInfoRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyCommunityHomeLandHousingTypeUpdateRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.displayName = 'proto.NotifyCommunityHomeLandHousingTypeUpdateRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.repeatedFields_, null); }; goog.inherits(proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.displayName = 'proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyEnterWorldRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyEnterWorldRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyEnterWorldRequest.displayName = 'proto.NotifyEnterWorldRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TransferParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TransferParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TransferParam.displayName = 'proto.TransferParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PositionParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PositionParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PositionParam.displayName = 'proto.PositionParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ScenePointInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ScenePointInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ScenePointInfo.displayName = 'proto.ScenePointInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ScenePosIdInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ScenePosIdInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ScenePosIdInfo.displayName = 'proto.ScenePosIdInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CutScenePointInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CutScenePointInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CutScenePointInfo.displayName = 'proto.CutScenePointInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SceneLineData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SceneLineData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SceneLineData.displayName = 'proto.SceneLineData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyFunctionParams = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.NotifyFunctionParams.repeatedFields_, null); }; goog.inherits(proto.NotifyFunctionParams, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyFunctionParams.displayName = 'proto.NotifyFunctionParams'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyHomelandBuildFurnitureOpRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.NotifyHomelandBuildFurnitureOpRequest.repeatedFields_, null); }; goog.inherits(proto.NotifyHomelandBuildFurnitureOpRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyHomelandBuildFurnitureOpRequest.displayName = 'proto.NotifyHomelandBuildFurnitureOpRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyKickOutOffRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyKickOutOffRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyKickOutOffRequest.displayName = 'proto.NotifyKickOutOffRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyLoadSceneEndResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyLoadSceneEndResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyLoadSceneEndResponse.displayName = 'proto.NotifyLoadSceneEndResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyPlayerBeginInteractionParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyPlayerBeginInteractionParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyPlayerBeginInteractionParam.displayName = 'proto.NotifyPlayerBeginInteractionParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifySwitchSceneRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifySwitchSceneRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifySwitchSceneRequest.displayName = 'proto.NotifySwitchSceneRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyTimerListParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.NotifyTimerListParam.repeatedFields_, null); }; goog.inherits(proto.NotifyTimerListParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyTimerListParam.displayName = 'proto.NotifyTimerListParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TimerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.TimerInfo.repeatedFields_, null); }; goog.inherits(proto.TimerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TimerInfo.displayName = 'proto.TimerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PathNodeList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.PathNodeList.repeatedFields_, null); }; goog.inherits(proto.PathNodeList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PathNodeList.displayName = 'proto.PathNodeList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PathNode = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PathNode, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PathNode.displayName = 'proto.PathNode'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.photoInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.photoInfo.repeatedFields_, null); }; goog.inherits(proto.photoInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.photoInfo.displayName = 'proto.photoInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderBuff = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderBuff, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderBuff.displayName = 'proto.PlaceHolderBuff'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderFishItem = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderFishItem, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderFishItem.displayName = 'proto.PlaceHolderFishItem'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderFishPersonalTotal = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderFishPersonalTotal, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderFishPersonalTotal.displayName = 'proto.PlaceHolderFishPersonalTotal'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderFishRank = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderFishRank, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderFishRank.displayName = 'proto.PlaceHolderFishRank'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderItem = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderItem, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderItem.displayName = 'proto.PlaceHolderItem'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderMasterMode = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderMasterMode, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderMasterMode.displayName = 'proto.PlaceHolderMasterMode'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderPlayer = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderPlayer, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderPlayer.displayName = 'proto.PlaceHolderPlayer'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderStr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderStr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderStr.displayName = 'proto.PlaceHolderStr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderTimestamp = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderTimestamp, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderTimestamp.displayName = 'proto.PlaceHolderTimestamp'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderUnion = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderUnion, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderUnion.displayName = 'proto.PlaceHolderUnion'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlaceHolderVal = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlaceHolderVal, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlaceHolderVal.displayName = 'proto.PlaceHolderVal'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayActionParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayActionParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayActionParam.displayName = 'proto.PlayActionParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RecvAntiDataRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RecvAntiDataRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RecvAntiDataRequest.displayName = 'proto.RecvAntiDataRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RequestConnectWorld = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RequestConnectWorld, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RequestConnectWorld.displayName = 'proto.RequestConnectWorld'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ReviveInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ReviveInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ReviveInfo.displayName = 'proto.ReviveInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SceneInteractionInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SceneInteractionInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SceneInteractionInfo.displayName = 'proto.SceneInteractionInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.schemeInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.schemeInfo.repeatedFields_, null); }; goog.inherits(proto.schemeInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.schemeInfo.displayName = 'proto.schemeInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ServerSkillStageEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ServerSkillStageEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ServerSkillStageEnd.displayName = 'proto.ServerSkillStageEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ServerStateObjectInteractionList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ServerStateObjectInteractionList.repeatedFields_, null); }; goog.inherits(proto.ServerStateObjectInteractionList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ServerStateObjectInteractionList.displayName = 'proto.ServerStateObjectInteractionList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SetSlotAutoBattleRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SetSlotAutoBattleRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SetSlotAutoBattleRequest.displayName = 'proto.SetSlotAutoBattleRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ShowPieceAttr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ShowPieceAttr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ShowPieceAttr.displayName = 'proto.ShowPieceAttr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ShowPieceAttrList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ShowPieceAttrList.repeatedFields_, null); }; goog.inherits(proto.ShowPieceAttrList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ShowPieceAttrList.displayName = 'proto.ShowPieceAttrList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SkillSkin = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SkillSkin, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SkillSkin.displayName = 'proto.SkillSkin'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SlotData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SlotData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SlotData.displayName = 'proto.SlotData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SlotInfoData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SlotInfoData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SlotInfoData.displayName = 'proto.SlotInfoData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SwitchSceneRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SwitchSceneRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SwitchSceneRequest.displayName = 'proto.SwitchSceneRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SwitchSceneResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SwitchSceneResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SwitchSceneResponse.displayName = 'proto.SwitchSceneResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TakeOnActivateRideSkinParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TakeOnActivateRideSkinParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TakeOnActivateRideSkinParam.displayName = 'proto.TakeOnActivateRideSkinParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TakeOnSetRideSkinParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TakeOnSetRideSkinParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TakeOnSetRideSkinParam.displayName = 'proto.TakeOnSetRideSkinParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TeleportParams = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TeleportParams, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TeleportParams.displayName = 'proto.TeleportParams'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.tempPhotoCache = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tempPhotoCache, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tempPhotoCache.displayName = 'proto.tempPhotoCache'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.tempPhotoCacheInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.tempPhotoCacheInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.tempPhotoCacheInfo.displayName = 'proto.tempPhotoCacheInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ThrowMoveInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ThrowMoveInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ThrowMoveInfo.displayName = 'proto.ThrowMoveInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UnlockInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UnlockInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UnlockInfo.displayName = 'proto.UnlockInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UpdateStructureRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdateStructureRequest.repeatedFields_, null); }; goog.inherits(proto.UpdateStructureRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UpdateStructureRequest.displayName = 'proto.UpdateStructureRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserControlInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserControlInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserControlInfo.displayName = 'proto.UserControlInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserNotifyTriggerInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserNotifyTriggerInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserNotifyTriggerInfo.displayName = 'proto.UserNotifyTriggerInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UseSkillParam = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UseSkillParam, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UseSkillParam.displayName = 'proto.UseSkillParam'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UseSlotRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UseSlotRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UseSlotRequest.displayName = 'proto.UseSlotRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifySwitchScene = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifySwitchScene, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifySwitchScene.displayName = 'proto.NotifySwitchScene'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifySwitchSceneEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifySwitchSceneEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifySwitchSceneEnd.displayName = 'proto.NotifySwitchSceneEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.EnterScene = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.EnterScene, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.EnterScene.displayName = 'proto.EnterScene'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyLoadSceneEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyLoadSceneEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyLoadSceneEnd.displayName = 'proto.NotifyLoadSceneEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Teleport = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Teleport, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Teleport.displayName = 'proto.Teleport'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncNearEntities = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SyncNearEntities.repeatedFields_, null); }; goog.inherits(proto.SyncNearEntities, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncNearEntities.displayName = 'proto.SyncNearEntities'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DisappearEntity = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DisappearEntity, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DisappearEntity.displayName = 'proto.DisappearEntity'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncSceneAttrs = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncSceneAttrs, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncSceneAttrs.displayName = 'proto.SyncSceneAttrs'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncSceneEvents = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncSceneEvents, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncSceneEvents.displayName = 'proto.SyncSceneEvents'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncEntityBehaviorTree = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncEntityBehaviorTree, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncEntityBehaviorTree.displayName = 'proto.SyncEntityBehaviorTree'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncPlayCameraAnimation = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncPlayCameraAnimation, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncPlayCameraAnimation.displayName = 'proto.SyncPlayCameraAnimation'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncFieldOfView = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncFieldOfView, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncFieldOfView.displayName = 'proto.SyncFieldOfView'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncLog = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncLog, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncLog.displayName = 'proto.SyncLog'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.WorldNtfSyncPathNode = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.WorldNtfSyncPathNode, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.WorldNtfSyncPathNode.displayName = 'proto.WorldNtfSyncPathNode'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncServerData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncServerData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncServerData.displayName = 'proto.SyncServerData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ServerData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ServerData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ServerData.displayName = 'proto.ServerData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ForcedPullBack = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ForcedPullBack, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ForcedPullBack.displayName = 'proto.ForcedPullBack'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LineDrawing = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LineDrawing, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LineDrawing.displayName = 'proto.LineDrawing'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncContainerData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncContainerData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncContainerData.displayName = 'proto.SyncContainerData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncContainerDirtyData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncContainerDirtyData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncContainerDirtyData.displayName = 'proto.SyncContainerDirtyData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncDungeonData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncDungeonData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncDungeonData.displayName = 'proto.SyncDungeonData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncDungeonDirtyData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncDungeonDirtyData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncDungeonDirtyData.displayName = 'proto.SyncDungeonDirtyData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncPersonalObject = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncPersonalObject, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncPersonalObject.displayName = 'proto.SyncPersonalObject'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PersonalObjectUpdate = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PersonalObjectUpdate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PersonalObjectUpdate.displayName = 'proto.PersonalObjectUpdate'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyReviveUser = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyReviveUser, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyReviveUser.displayName = 'proto.NotifyReviveUser'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncServerTime = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncServerTime, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncServerTime.displayName = 'proto.SyncServerTime'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncNearDeltaInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SyncNearDeltaInfo.repeatedFields_, null); }; goog.inherits(proto.SyncNearDeltaInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncNearDeltaInfo.displayName = 'proto.SyncNearDeltaInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncToMeDeltaInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncToMeDeltaInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncToMeDeltaInfo.displayName = 'proto.SyncToMeDeltaInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyClientKickOff = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyClientKickOff, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyClientKickOff.displayName = 'proto.NotifyClientKickOff'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PersonalGroupObjectUpdate = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PersonalGroupObjectUpdate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PersonalGroupObjectUpdate.displayName = 'proto.PersonalGroupObjectUpdate'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyUserCloseFunction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyUserCloseFunction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyUserCloseFunction.displayName = 'proto.NotifyUserCloseFunction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyServerCloseFunction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyServerCloseFunction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyServerCloseFunction.displayName = 'proto.NotifyServerCloseFunction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.BounceJump = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.BounceJump, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.BounceJump.displayName = 'proto.BounceJump'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ServerStateObjectUpdate = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ServerStateObjectUpdate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ServerStateObjectUpdate.displayName = 'proto.ServerStateObjectUpdate'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncAllServerStateObject = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncAllServerStateObject, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncAllServerStateObject.displayName = 'proto.SyncAllServerStateObject'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyTimerList = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyTimerList, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyTimerList.displayName = 'proto.NotifyTimerList'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyTimerUpdate = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyTimerUpdate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyTimerUpdate.displayName = 'proto.NotifyTimerUpdate'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyPlayerBeginInteraction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyPlayerBeginInteraction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyPlayerBeginInteraction.displayName = 'proto.NotifyPlayerBeginInteraction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncSubSceneAttrs = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncSubSceneAttrs, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncSubSceneAttrs.displayName = 'proto.SyncSubSceneAttrs'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncClientUseSkill = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncClientUseSkill, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncClientUseSkill.displayName = 'proto.SyncClientUseSkill'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyBuffChange = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyBuffChange, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyBuffChange.displayName = 'proto.NotifyBuffChange'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncServerSkillStageEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncServerSkillStageEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncServerSkillStageEnd.displayName = 'proto.SyncServerSkillStageEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncServerSkillEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncServerSkillEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncServerSkillEnd.displayName = 'proto.SyncServerSkillEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncServerSkillSingingTimeSub = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncServerSkillSingingTimeSub, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncServerSkillSingingTimeSub.displayName = 'proto.SyncServerSkillSingingTimeSub'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyKickOutOff = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyKickOutOff, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyKickOutOff.displayName = 'proto.NotifyKickOutOff'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyEnterWorld = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyEnterWorld, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyEnterWorld.displayName = 'proto.NotifyEnterWorld'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ChangeCharFunctionState = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ChangeCharFunctionState, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ChangeCharFunctionState.displayName = 'proto.ChangeCharFunctionState'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ClientBreakState = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ClientBreakState, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ClientBreakState.displayName = 'proto.ClientBreakState'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GMCommand = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GMCommand, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GMCommand.displayName = 'proto.GMCommand'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonitorBehaviorTreeOfEntity = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonitorBehaviorTreeOfEntity, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonitorBehaviorTreeOfEntity.displayName = 'proto.MonitorBehaviorTreeOfEntity'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ReqServerTime = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ReqServerTime, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ReqServerTime.displayName = 'proto.ReqServerTime'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncPathNode = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncPathNode, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncPathNode.displayName = 'proto.SyncPathNode'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayEmote = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayEmote, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayEmote.displayName = 'proto.PlayEmote'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LearnExpressionAction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LearnExpressionAction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LearnExpressionAction.displayName = 'proto.LearnExpressionAction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonsterCastSkill = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonsterCastSkill, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonsterCastSkill.displayName = 'proto.MonsterCastSkill'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncDirWhenAiming = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncDirWhenAiming, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncDirWhenAiming.displayName = 'proto.SyncDirWhenAiming'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SetPersonalState = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SetPersonalState, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SetPersonalState.displayName = 'proto.SetPersonalState'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.InstallResonanceSkillReq = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.InstallResonanceSkillReq, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.InstallResonanceSkillReq.displayName = 'proto.InstallResonanceSkillReq'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PlayAction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PlayAction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PlayAction.displayName = 'proto.PlayAction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ConnectWorld = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ConnectWorld, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ConnectWorld.displayName = 'proto.ConnectWorld'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UseSkill = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UseSkill, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UseSkill.displayName = 'proto.UseSkill'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AccumulateEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AccumulateEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AccumulateEnd.displayName = 'proto.AccumulateEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AttrInBattleShowSync = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AttrInBattleShowSync, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AttrInBattleShowSync.displayName = 'proto.AttrInBattleShowSync'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncSkillLocation = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncSkillLocation, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncSkillLocation.displayName = 'proto.SyncSkillLocation'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncHitInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SyncHitInfo.repeatedFields_, null); }; goog.inherits(proto.SyncHitInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncHitInfo.displayName = 'proto.SyncHitInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ChannelingEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ChannelingEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ChannelingEnd.displayName = 'proto.ChannelingEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncSkillStageTrigger = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncSkillStageTrigger, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncSkillStageTrigger.displayName = 'proto.SyncSkillStageTrigger'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ClientStageEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ClientStageEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ClientStageEnd.displayName = 'proto.ClientStageEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ClientTargetChange = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ClientTargetChange, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ClientTargetChange.displayName = 'proto.ClientTargetChange'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncBulletHitInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SyncBulletHitInfo.repeatedFields_, null); }; goog.inherits(proto.SyncBulletHitInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncBulletHitInfo.displayName = 'proto.SyncBulletHitInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncFakeBulletHitInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SyncFakeBulletHitInfo.repeatedFields_, null); }; goog.inherits(proto.SyncFakeBulletHitInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncFakeBulletHitInfo.displayName = 'proto.SyncFakeBulletHitInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncUserBeHitInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.SyncUserBeHitInfo.repeatedFields_, null); }; goog.inherits(proto.SyncUserBeHitInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncUserBeHitInfo.displayName = 'proto.SyncUserBeHitInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotMove = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotMove, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotMove.displayName = 'proto.AiBotMove'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotUseSkill = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotUseSkill, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotUseSkill.displayName = 'proto.AiBotUseSkill'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotAddBuffByConfigId = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotAddBuffByConfigId, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotAddBuffByConfigId.displayName = 'proto.AiBotAddBuffByConfigId'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotRemoveBuffByConfigId = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotRemoveBuffByConfigId, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotRemoveBuffByConfigId.displayName = 'proto.AiBotRemoveBuffByConfigId'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotActiveTrigger = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotActiveTrigger, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotActiveTrigger.displayName = 'proto.AiBotActiveTrigger'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotTeleportToPos = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotTeleportToPos, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotTeleportToPos.displayName = 'proto.AiBotTeleportToPos'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotPlayAction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotPlayAction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotPlayAction.displayName = 'proto.AiBotPlayAction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotSendGmMsg = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotSendGmMsg, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotSendGmMsg.displayName = 'proto.AiBotSendGmMsg'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotStartRide = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotStartRide, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotStartRide.displayName = 'proto.AiBotStartRide'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotSendChitChatMsg = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotSendChitChatMsg, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotSendChitChatMsg.displayName = 'proto.AiBotSendChitChatMsg'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AiBotResurrection = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AiBotResurrection, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AiBotResurrection.displayName = 'proto.AiBotResurrection'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ReqSwitchScene = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ReqSwitchScene, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ReqSwitchScene.displayName = 'proto.ReqSwitchScene'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.LoadMapSuccess = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.LoadMapSuccess, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.LoadMapSuccess.displayName = 'proto.LoadMapSuccess'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserDoAction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserDoAction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserDoAction.displayName = 'proto.UserDoAction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UserNotifyTrigger = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UserNotifyTrigger, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UserNotifyTrigger.displayName = 'proto.UserNotifyTrigger'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetLuaSceneAttr = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetLuaSceneAttr, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetLuaSceneAttr.displayName = 'proto.GetLuaSceneAttr'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SaveUserSingleSceneCutsState = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SaveUserSingleSceneCutsState, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SaveUserSingleSceneCutsState.displayName = 'proto.SaveUserSingleSceneCutsState'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SetAoiSyncUserCount = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SetAoiSyncUserCount, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SetAoiSyncUserCount.displayName = 'proto.SetAoiSyncUserCount'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CutScenePlayEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CutScenePlayEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CutScenePlayEnd.displayName = 'proto.CutScenePlayEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FlowPlayEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FlowPlayEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FlowPlayEnd.displayName = 'proto.FlowPlayEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncSceneArea = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncSceneArea, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncSceneArea.displayName = 'proto.SyncSceneArea'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.StartPlayAction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.StartPlayAction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.StartPlayAction.displayName = 'proto.StartPlayAction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SetInteractionPartnerPos = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SetInteractionPartnerPos, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SetInteractionPartnerPos.displayName = 'proto.SetInteractionPartnerPos'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.InteractionWithNotPlayer = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.InteractionWithNotPlayer, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.InteractionWithNotPlayer.displayName = 'proto.InteractionWithNotPlayer'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SetAiming = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SetAiming, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SetAiming.displayName = 'proto.SetAiming'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.AttachVelocity = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.AttachVelocity, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.AttachVelocity.displayName = 'proto.AttachVelocity'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ResetAttachVelocity = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ResetAttachVelocity, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ResetAttachVelocity.displayName = 'proto.ResetAttachVelocity'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SetTunnel = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SetTunnel, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SetTunnel.displayName = 'proto.SetTunnel'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NewMove = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NewMove, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NewMove.displayName = 'proto.NewMove'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.PersonalObjectAction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.PersonalObjectAction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.PersonalObjectAction.displayName = 'proto.PersonalObjectAction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TakeOnShowPiece = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TakeOnShowPiece, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TakeOnShowPiece.displayName = 'proto.TakeOnShowPiece'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TakeOffShowPiece = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TakeOffShowPiece, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TakeOffShowPiece.displayName = 'proto.TakeOffShowPiece'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.Interaction = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.Interaction, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.Interaction.displayName = 'proto.Interaction'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.InteractionActionEnd = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.InteractionActionEnd, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.InteractionActionEnd.displayName = 'proto.InteractionActionEnd'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UploadTLogBody = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UploadTLogBody, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UploadTLogBody.displayName = 'proto.UploadTLogBody'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.CommunityGetHomeLandBaseInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.CommunityGetHomeLandBaseInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.CommunityGetHomeLandBaseInfo.displayName = 'proto.CommunityGetHomeLandBaseInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UpdateStructure = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UpdateStructure, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UpdateStructure.displayName = 'proto.UpdateStructure'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetHomelandBuildFurnitureInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetHomelandBuildFurnitureInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetHomelandBuildFurnitureInfo.displayName = 'proto.GetHomelandBuildFurnitureInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.UseSlot = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.UseSlot, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.UseSlot.displayName = 'proto.UseSlot'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SetSlotAutoBattle = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SetSlotAutoBattle, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SetSlotAutoBattle.displayName = 'proto.SetSlotAutoBattle'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.MonsterHuntUnlockMonster = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.MonsterHuntUnlockMonster, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.MonsterHuntUnlockMonster.displayName = 'proto.MonsterHuntUnlockMonster'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.FishingSetStage = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.FishingSetStage, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.FishingSetStage.displayName = 'proto.FishingSetStage'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetSocialData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetSocialData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetSocialData.displayName = 'proto.GetSocialData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.StopRide = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.StopRide, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.StopRide.displayName = 'proto.StopRide'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.DetachRideMagnetic = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.DetachRideMagnetic, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.DetachRideMagnetic.displayName = 'proto.DetachRideMagnetic'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RideMagneticAttachTo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RideMagneticAttachTo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RideMagneticAttachTo.displayName = 'proto.RideMagneticAttachTo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TakeOnActivateRideSkin = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TakeOnActivateRideSkin, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TakeOnActivateRideSkin.displayName = 'proto.TakeOnActivateRideSkin'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.TakeOnSetRideSkin = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.TakeOnSetRideSkin, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.TakeOnSetRideSkin.displayName = 'proto.TakeOnSetRideSkin'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.SyncCirclePathLength = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.SyncCirclePathLength, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.SyncCirclePathLength.displayName = 'proto.SyncCirclePathLength'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetPath = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetPath, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetPath.displayName = 'proto.GetPath'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyHomelandBuildFurnitureOp = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyHomelandBuildFurnitureOp, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyHomelandBuildFurnitureOp.displayName = 'proto.NotifyHomelandBuildFurnitureOp'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyCommunityHomeLandDecorationInfo = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyCommunityHomeLandDecorationInfo, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyCommunityHomeLandDecorationInfo.displayName = 'proto.NotifyCommunityHomeLandDecorationInfo'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyCommunityHomeLandHousingTypeUpdate = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyCommunityHomeLandHousingTypeUpdate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyCommunityHomeLandHousingTypeUpdate.displayName = 'proto.NotifyCommunityHomeLandHousingTypeUpdate'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyCommunityHomeLandUnlockedAreasUpdate, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.displayName = 'proto.NotifyCommunityHomeLandUnlockedAreasUpdate'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetGitVersion = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetGitVersion, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetGitVersion.displayName = 'proto.GetGitVersion'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.GetClientOptions = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.GetClientOptions, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.GetClientOptions.displayName = 'proto.GetClientOptions'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.NotifyAntiData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.NotifyAntiData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.NotifyAntiData.displayName = 'proto.NotifyAntiData'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.RecvAntiData = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.RecvAntiData, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.RecvAntiData.displayName = 'proto.RecvAntiData'; } if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AccountData.prototype.toObject = function(opt_includeInstance) { return proto.AccountData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AccountData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AccountData.toObject = function(includeInstance, msg) { var f, obj = { openid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, sdktype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, accountid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, accountuuid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, os: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AccountData} */ proto.AccountData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AccountData; return proto.AccountData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AccountData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AccountData} */ proto.AccountData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setOpenid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSdktype(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setAccountid(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setAccountuuid(value); break; case 5: var value = /** @type {!proto.SystemType} */ (reader.readEnum()); msg.setOs(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AccountData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AccountData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AccountData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AccountData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = /** @type {!proto.SystemType} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeEnum( 5, f ); } }; /** * optional string OpenId = 1; * @return {string} */ proto.AccountData.prototype.getOpenid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.setOpenid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.clearOpenid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AccountData.prototype.hasOpenid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SdkType = 2; * @return {number} */ proto.AccountData.prototype.getSdktype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.setSdktype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.clearSdktype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AccountData.prototype.hasSdktype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string AccountId = 3; * @return {string} */ proto.AccountData.prototype.getAccountid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.setAccountid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.clearAccountid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AccountData.prototype.hasAccountid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string AccountUuid = 4; * @return {string} */ proto.AccountData.prototype.getAccountuuid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.setAccountuuid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.clearAccountuuid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AccountData.prototype.hasAccountuuid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional SystemType Os = 5; * @return {!proto.SystemType} */ proto.AccountData.prototype.getOs = function() { return /** @type {!proto.SystemType} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {!proto.SystemType} value * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.setOs = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.AccountData} returns this */ proto.AccountData.prototype.clearOs = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AccountData.prototype.hasOs = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Achievement.prototype.toObject = function(opt_includeInstance) { return proto.Achievement.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Achievement} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Achievement.toObject = function(includeInstance, msg) { var f, obj = { finishnum: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, hasreceived: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, beginprogress: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Achievement} */ proto.Achievement.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Achievement; return proto.Achievement.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Achievement} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Achievement} */ proto.Achievement.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setFinishnum(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setHasreceived(value); break; case 3: var value = /** @type {number} */ (reader.readUint64()); msg.setBeginprogress(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Achievement.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Achievement.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Achievement} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Achievement.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint64( 3, f ); } }; /** * optional uint32 FinishNum = 1; * @return {number} */ proto.Achievement.prototype.getFinishnum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.Achievement} returns this */ proto.Achievement.prototype.setFinishnum = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Achievement} returns this */ proto.Achievement.prototype.clearFinishnum = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Achievement.prototype.hasFinishnum = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool HasReceived = 2; * @return {boolean} */ proto.Achievement.prototype.getHasreceived = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.Achievement} returns this */ proto.Achievement.prototype.setHasreceived = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Achievement} returns this */ proto.Achievement.prototype.clearHasreceived = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Achievement.prototype.hasHasreceived = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint64 BeginProgress = 3; * @return {number} */ proto.Achievement.prototype.getBeginprogress = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.Achievement} returns this */ proto.Achievement.prototype.setBeginprogress = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.Achievement} returns this */ proto.Achievement.prototype.clearBeginprogress = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Achievement.prototype.hasBeginprogress = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ActionInfo.prototype.toObject = function(opt_includeInstance) { return proto.ActionInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ActionInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ActionInfo.toObject = function(includeInstance, msg) { var f, obj = { actionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, period: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, percent: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ActionInfo} */ proto.ActionInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ActionInfo; return proto.ActionInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ActionInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ActionInfo} */ proto.ActionInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setActionid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setPeriod(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setPercent(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ActionInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ActionInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ActionInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ActionInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } }; /** * optional int32 ActionId = 1; * @return {number} */ proto.ActionInfo.prototype.getActionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ActionInfo} returns this */ proto.ActionInfo.prototype.setActionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ActionInfo} returns this */ proto.ActionInfo.prototype.clearActionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActionInfo.prototype.hasActionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Period = 2; * @return {number} */ proto.ActionInfo.prototype.getPeriod = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ActionInfo} returns this */ proto.ActionInfo.prototype.setPeriod = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ActionInfo} returns this */ proto.ActionInfo.prototype.clearPeriod = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActionInfo.prototype.hasPeriod = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float Percent = 3; * @return {number} */ proto.ActionInfo.prototype.getPercent = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.ActionInfo} returns this */ proto.ActionInfo.prototype.setPercent = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ActionInfo} returns this */ proto.ActionInfo.prototype.clearPercent = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActionInfo.prototype.hasPercent = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ActorBodyPartInfo.prototype.toObject = function(opt_includeInstance) { return proto.ActorBodyPartInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ActorBodyPartInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ActorBodyPartInfo.toObject = function(includeInstance, msg) { var f, obj = { partid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, hp: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, maxhp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, state: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, fleshyid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ActorBodyPartInfo} */ proto.ActorBodyPartInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ActorBodyPartInfo; return proto.ActorBodyPartInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ActorBodyPartInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ActorBodyPartInfo} */ proto.ActorBodyPartInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setPartid(value); break; case 2: var value = /** @type {number} */ (reader.readUint64()); msg.setHp(value); break; case 3: var value = /** @type {number} */ (reader.readUint64()); msg.setMaxhp(value); break; case 4: var value = /** @type {!proto.BodyPartState} */ (reader.readEnum()); msg.setState(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setFleshyid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ActorBodyPartInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ActorBodyPartInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ActorBodyPartInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ActorBodyPartInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint64( 3, f ); } f = /** @type {!proto.BodyPartState} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeEnum( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int32 PartId = 1; * @return {number} */ proto.ActorBodyPartInfo.prototype.getPartid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.setPartid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.clearPartid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActorBodyPartInfo.prototype.hasPartid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint64 Hp = 2; * @return {number} */ proto.ActorBodyPartInfo.prototype.getHp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.setHp = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.clearHp = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActorBodyPartInfo.prototype.hasHp = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint64 MaxHp = 3; * @return {number} */ proto.ActorBodyPartInfo.prototype.getMaxhp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.setMaxhp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.clearMaxhp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActorBodyPartInfo.prototype.hasMaxhp = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional BodyPartState State = 4; * @return {!proto.BodyPartState} */ proto.ActorBodyPartInfo.prototype.getState = function() { return /** @type {!proto.BodyPartState} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {!proto.BodyPartState} value * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.setState = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.clearState = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActorBodyPartInfo.prototype.hasState = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 FleshyId = 5; * @return {number} */ proto.ActorBodyPartInfo.prototype.getFleshyid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.setFleshyid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.ActorBodyPartInfo} returns this */ proto.ActorBodyPartInfo.prototype.clearFleshyid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActorBodyPartInfo.prototype.hasFleshyid = function() { return jspb.Message.getField(this, 5) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ActorBodyPartInfos.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ActorBodyPartInfos.prototype.toObject = function(opt_includeInstance) { return proto.ActorBodyPartInfos.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ActorBodyPartInfos} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ActorBodyPartInfos.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, infosList: jspb.Message.toObjectList(msg.getInfosList(), proto.ActorBodyPartInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ActorBodyPartInfos} */ proto.ActorBodyPartInfos.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ActorBodyPartInfos; return proto.ActorBodyPartInfos.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ActorBodyPartInfos} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ActorBodyPartInfos} */ proto.ActorBodyPartInfos.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = new proto.ActorBodyPartInfo; reader.readMessage(value,proto.ActorBodyPartInfo.deserializeBinaryFromReader); msg.addInfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ActorBodyPartInfos.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ActorBodyPartInfos.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ActorBodyPartInfos} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ActorBodyPartInfos.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getInfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.ActorBodyPartInfo.serializeBinaryToWriter ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.ActorBodyPartInfos.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ActorBodyPartInfos} returns this */ proto.ActorBodyPartInfos.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ActorBodyPartInfos} returns this */ proto.ActorBodyPartInfos.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActorBodyPartInfos.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated ActorBodyPartInfo Infos = 2; * @return {!Array} */ proto.ActorBodyPartInfos.prototype.getInfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ActorBodyPartInfo, 2)); }; /** * @param {!Array} value * @return {!proto.ActorBodyPartInfos} returns this */ proto.ActorBodyPartInfos.prototype.setInfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.ActorBodyPartInfo=} opt_value * @param {number=} opt_index * @return {!proto.ActorBodyPartInfo} */ proto.ActorBodyPartInfos.prototype.addInfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ActorBodyPartInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ActorBodyPartInfos} returns this */ proto.ActorBodyPartInfos.prototype.clearInfosList = function() { return this.setInfosList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.AffixData.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AffixData.prototype.toObject = function(opt_includeInstance) { return proto.AffixData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AffixData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AffixData.toObject = function(includeInstance, msg) { var f, obj = { affixidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AffixData} */ proto.AffixData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AffixData; return proto.AffixData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AffixData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AffixData} */ proto.AffixData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addAffixids(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AffixData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AffixData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AffixData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AffixData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAffixidsList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } }; /** * repeated int32 AffixIds = 1; * @return {!Array} */ proto.AffixData.prototype.getAffixidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.AffixData} returns this */ proto.AffixData.prototype.setAffixidsList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.AffixData} returns this */ proto.AffixData.prototype.addAffixids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.AffixData} returns this */ proto.AffixData.prototype.clearAffixidsList = function() { return this.setAffixidsList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.AnswerList.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AnswerList.prototype.toObject = function(opt_includeInstance) { return proto.AnswerList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AnswerList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AnswerList.toObject = function(includeInstance, msg) { var f, obj = { answersList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AnswerList} */ proto.AnswerList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AnswerList; return proto.AnswerList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AnswerList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AnswerList} */ proto.AnswerList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addAnswers(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AnswerList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AnswerList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AnswerList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AnswerList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAnswersList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } }; /** * repeated int32 Answers = 1; * @return {!Array} */ proto.AnswerList.prototype.getAnswersList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.AnswerList} returns this */ proto.AnswerList.prototype.setAnswersList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.AnswerList} returns this */ proto.AnswerList.prototype.addAnswers = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.AnswerList} returns this */ proto.AnswerList.prototype.clearAnswersList = function() { return this.setAnswersList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.AoiSyncDelta.repeatedFields_ = [12,13]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AoiSyncDelta.prototype.toObject = function(opt_includeInstance) { return proto.AoiSyncDelta.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AoiSyncDelta} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AoiSyncDelta.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, attrs: (f = msg.getAttrs()) && proto.AttrCollection.toObject(includeInstance, f), tempattrs: (f = msg.getTempattrs()) && proto.TempAttrCollection.toObject(includeInstance, f), eventdatalist: (f = msg.getEventdatalist()) && proto.EventDataList.toObject(includeInstance, f), bulletevent: (f = msg.getBulletevent()) && proto.BulletEvent.toObject(includeInstance, f), bodypartinfos: (f = msg.getBodypartinfos()) && proto.ActorBodyPartInfos.toObject(includeInstance, f), skilleffects: (f = msg.getSkilleffects()) && proto.SkillEffect.toObject(includeInstance, f), passiveskillinfos: (f = msg.getPassiveskillinfos()) && proto.SeqPassiveSkillInfo.toObject(includeInstance, f), passiveskillendinfos: (f = msg.getPassiveskillendinfos()) && proto.SeqPassiveSkillEndInfo.toObject(includeInstance, f), buffinfos: (f = msg.getBuffinfos()) && proto.BuffInfoSync.toObject(includeInstance, f), buffeffect: (f = msg.getBuffeffect()) && proto.BuffEffectSync.toObject(includeInstance, f), fakebulletsList: jspb.Message.toObjectList(msg.getFakebulletsList(), proto.FakeBulletInfo.toObject, includeInstance), magneticridequeuechangeinfolistList: jspb.Message.toObjectList(msg.getMagneticridequeuechangeinfolistList(), proto.MagneticRideQueueChangeInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AoiSyncDelta} */ proto.AoiSyncDelta.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AoiSyncDelta; return proto.AoiSyncDelta.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AoiSyncDelta} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AoiSyncDelta} */ proto.AoiSyncDelta.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = new proto.AttrCollection; reader.readMessage(value,proto.AttrCollection.deserializeBinaryFromReader); msg.setAttrs(value); break; case 3: var value = new proto.TempAttrCollection; reader.readMessage(value,proto.TempAttrCollection.deserializeBinaryFromReader); msg.setTempattrs(value); break; case 4: var value = new proto.EventDataList; reader.readMessage(value,proto.EventDataList.deserializeBinaryFromReader); msg.setEventdatalist(value); break; case 5: var value = new proto.BulletEvent; reader.readMessage(value,proto.BulletEvent.deserializeBinaryFromReader); msg.setBulletevent(value); break; case 6: var value = new proto.ActorBodyPartInfos; reader.readMessage(value,proto.ActorBodyPartInfos.deserializeBinaryFromReader); msg.setBodypartinfos(value); break; case 7: var value = new proto.SkillEffect; reader.readMessage(value,proto.SkillEffect.deserializeBinaryFromReader); msg.setSkilleffects(value); break; case 8: var value = new proto.SeqPassiveSkillInfo; reader.readMessage(value,proto.SeqPassiveSkillInfo.deserializeBinaryFromReader); msg.setPassiveskillinfos(value); break; case 9: var value = new proto.SeqPassiveSkillEndInfo; reader.readMessage(value,proto.SeqPassiveSkillEndInfo.deserializeBinaryFromReader); msg.setPassiveskillendinfos(value); break; case 10: var value = new proto.BuffInfoSync; reader.readMessage(value,proto.BuffInfoSync.deserializeBinaryFromReader); msg.setBuffinfos(value); break; case 11: var value = new proto.BuffEffectSync; reader.readMessage(value,proto.BuffEffectSync.deserializeBinaryFromReader); msg.setBuffeffect(value); break; case 12: var value = new proto.FakeBulletInfo; reader.readMessage(value,proto.FakeBulletInfo.deserializeBinaryFromReader); msg.addFakebullets(value); break; case 13: var value = new proto.MagneticRideQueueChangeInfo; reader.readMessage(value,proto.MagneticRideQueueChangeInfo.deserializeBinaryFromReader); msg.addMagneticridequeuechangeinfolist(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AoiSyncDelta.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AoiSyncDelta.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AoiSyncDelta} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AoiSyncDelta.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getAttrs(); if (f != null) { writer.writeMessage( 2, f, proto.AttrCollection.serializeBinaryToWriter ); } f = message.getTempattrs(); if (f != null) { writer.writeMessage( 3, f, proto.TempAttrCollection.serializeBinaryToWriter ); } f = message.getEventdatalist(); if (f != null) { writer.writeMessage( 4, f, proto.EventDataList.serializeBinaryToWriter ); } f = message.getBulletevent(); if (f != null) { writer.writeMessage( 5, f, proto.BulletEvent.serializeBinaryToWriter ); } f = message.getBodypartinfos(); if (f != null) { writer.writeMessage( 6, f, proto.ActorBodyPartInfos.serializeBinaryToWriter ); } f = message.getSkilleffects(); if (f != null) { writer.writeMessage( 7, f, proto.SkillEffect.serializeBinaryToWriter ); } f = message.getPassiveskillinfos(); if (f != null) { writer.writeMessage( 8, f, proto.SeqPassiveSkillInfo.serializeBinaryToWriter ); } f = message.getPassiveskillendinfos(); if (f != null) { writer.writeMessage( 9, f, proto.SeqPassiveSkillEndInfo.serializeBinaryToWriter ); } f = message.getBuffinfos(); if (f != null) { writer.writeMessage( 10, f, proto.BuffInfoSync.serializeBinaryToWriter ); } f = message.getBuffeffect(); if (f != null) { writer.writeMessage( 11, f, proto.BuffEffectSync.serializeBinaryToWriter ); } f = message.getFakebulletsList(); if (f.length > 0) { writer.writeRepeatedMessage( 12, f, proto.FakeBulletInfo.serializeBinaryToWriter ); } f = message.getMagneticridequeuechangeinfolistList(); if (f.length > 0) { writer.writeRepeatedMessage( 13, f, proto.MagneticRideQueueChangeInfo.serializeBinaryToWriter ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.AoiSyncDelta.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional AttrCollection Attrs = 2; * @return {?proto.AttrCollection} */ proto.AoiSyncDelta.prototype.getAttrs = function() { return /** @type{?proto.AttrCollection} */ ( jspb.Message.getWrapperField(this, proto.AttrCollection, 2)); }; /** * @param {?proto.AttrCollection|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setAttrs = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearAttrs = function() { return this.setAttrs(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasAttrs = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional TempAttrCollection TempAttrs = 3; * @return {?proto.TempAttrCollection} */ proto.AoiSyncDelta.prototype.getTempattrs = function() { return /** @type{?proto.TempAttrCollection} */ ( jspb.Message.getWrapperField(this, proto.TempAttrCollection, 3)); }; /** * @param {?proto.TempAttrCollection|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setTempattrs = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearTempattrs = function() { return this.setTempattrs(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasTempattrs = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional EventDataList EventDataList = 4; * @return {?proto.EventDataList} */ proto.AoiSyncDelta.prototype.getEventdatalist = function() { return /** @type{?proto.EventDataList} */ ( jspb.Message.getWrapperField(this, proto.EventDataList, 4)); }; /** * @param {?proto.EventDataList|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setEventdatalist = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearEventdatalist = function() { return this.setEventdatalist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasEventdatalist = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional BulletEvent BulletEvent = 5; * @return {?proto.BulletEvent} */ proto.AoiSyncDelta.prototype.getBulletevent = function() { return /** @type{?proto.BulletEvent} */ ( jspb.Message.getWrapperField(this, proto.BulletEvent, 5)); }; /** * @param {?proto.BulletEvent|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setBulletevent = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearBulletevent = function() { return this.setBulletevent(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasBulletevent = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional ActorBodyPartInfos BodyPartInfos = 6; * @return {?proto.ActorBodyPartInfos} */ proto.AoiSyncDelta.prototype.getBodypartinfos = function() { return /** @type{?proto.ActorBodyPartInfos} */ ( jspb.Message.getWrapperField(this, proto.ActorBodyPartInfos, 6)); }; /** * @param {?proto.ActorBodyPartInfos|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setBodypartinfos = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearBodypartinfos = function() { return this.setBodypartinfos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasBodypartinfos = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional SkillEffect SkillEffects = 7; * @return {?proto.SkillEffect} */ proto.AoiSyncDelta.prototype.getSkilleffects = function() { return /** @type{?proto.SkillEffect} */ ( jspb.Message.getWrapperField(this, proto.SkillEffect, 7)); }; /** * @param {?proto.SkillEffect|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setSkilleffects = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearSkilleffects = function() { return this.setSkilleffects(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasSkilleffects = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional SeqPassiveSkillInfo PassiveSkillInfos = 8; * @return {?proto.SeqPassiveSkillInfo} */ proto.AoiSyncDelta.prototype.getPassiveskillinfos = function() { return /** @type{?proto.SeqPassiveSkillInfo} */ ( jspb.Message.getWrapperField(this, proto.SeqPassiveSkillInfo, 8)); }; /** * @param {?proto.SeqPassiveSkillInfo|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setPassiveskillinfos = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearPassiveskillinfos = function() { return this.setPassiveskillinfos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasPassiveskillinfos = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional SeqPassiveSkillEndInfo PassiveSkillEndInfos = 9; * @return {?proto.SeqPassiveSkillEndInfo} */ proto.AoiSyncDelta.prototype.getPassiveskillendinfos = function() { return /** @type{?proto.SeqPassiveSkillEndInfo} */ ( jspb.Message.getWrapperField(this, proto.SeqPassiveSkillEndInfo, 9)); }; /** * @param {?proto.SeqPassiveSkillEndInfo|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setPassiveskillendinfos = function(value) { return jspb.Message.setWrapperField(this, 9, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearPassiveskillendinfos = function() { return this.setPassiveskillendinfos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasPassiveskillendinfos = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional BuffInfoSync BuffInfos = 10; * @return {?proto.BuffInfoSync} */ proto.AoiSyncDelta.prototype.getBuffinfos = function() { return /** @type{?proto.BuffInfoSync} */ ( jspb.Message.getWrapperField(this, proto.BuffInfoSync, 10)); }; /** * @param {?proto.BuffInfoSync|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setBuffinfos = function(value) { return jspb.Message.setWrapperField(this, 10, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearBuffinfos = function() { return this.setBuffinfos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasBuffinfos = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional BuffEffectSync BuffEffect = 11; * @return {?proto.BuffEffectSync} */ proto.AoiSyncDelta.prototype.getBuffeffect = function() { return /** @type{?proto.BuffEffectSync} */ ( jspb.Message.getWrapperField(this, proto.BuffEffectSync, 11)); }; /** * @param {?proto.BuffEffectSync|undefined} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setBuffeffect = function(value) { return jspb.Message.setWrapperField(this, 11, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearBuffeffect = function() { return this.setBuffeffect(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncDelta.prototype.hasBuffeffect = function() { return jspb.Message.getField(this, 11) != null; }; /** * repeated FakeBulletInfo FakeBullets = 12; * @return {!Array} */ proto.AoiSyncDelta.prototype.getFakebulletsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.FakeBulletInfo, 12)); }; /** * @param {!Array} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setFakebulletsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 12, value); }; /** * @param {!proto.FakeBulletInfo=} opt_value * @param {number=} opt_index * @return {!proto.FakeBulletInfo} */ proto.AoiSyncDelta.prototype.addFakebullets = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.FakeBulletInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearFakebulletsList = function() { return this.setFakebulletsList([]); }; /** * repeated MagneticRideQueueChangeInfo MagneticRideQueueChangeInfoList = 13; * @return {!Array} */ proto.AoiSyncDelta.prototype.getMagneticridequeuechangeinfolistList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.MagneticRideQueueChangeInfo, 13)); }; /** * @param {!Array} value * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.setMagneticridequeuechangeinfolistList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 13, value); }; /** * @param {!proto.MagneticRideQueueChangeInfo=} opt_value * @param {number=} opt_index * @return {!proto.MagneticRideQueueChangeInfo} */ proto.AoiSyncDelta.prototype.addMagneticridequeuechangeinfolist = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.MagneticRideQueueChangeInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.AoiSyncDelta} returns this */ proto.AoiSyncDelta.prototype.clearMagneticridequeuechangeinfolistList = function() { return this.setMagneticridequeuechangeinfolistList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.AttrCollection.repeatedFields_ = [2,3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AttrCollection.prototype.toObject = function(opt_includeInstance) { return proto.AttrCollection.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AttrCollection} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AttrCollection.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, attrsList: jspb.Message.toObjectList(msg.getAttrsList(), proto.Attr.toObject, includeInstance), mapattrsList: jspb.Message.toObjectList(msg.getMapattrsList(), proto.MapAttr.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AttrCollection} */ proto.AttrCollection.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AttrCollection; return proto.AttrCollection.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AttrCollection} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AttrCollection} */ proto.AttrCollection.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = new proto.Attr; reader.readMessage(value,proto.Attr.deserializeBinaryFromReader); msg.addAttrs(value); break; case 3: var value = new proto.MapAttr; reader.readMessage(value,proto.MapAttr.deserializeBinaryFromReader); msg.addMapattrs(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AttrCollection.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AttrCollection.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AttrCollection} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AttrCollection.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getAttrsList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.Attr.serializeBinaryToWriter ); } f = message.getMapattrsList(); if (f.length > 0) { writer.writeRepeatedMessage( 3, f, proto.MapAttr.serializeBinaryToWriter ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.AttrCollection.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.AttrCollection} returns this */ proto.AttrCollection.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.AttrCollection} returns this */ proto.AttrCollection.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AttrCollection.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated Attr Attrs = 2; * @return {!Array} */ proto.AttrCollection.prototype.getAttrsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.Attr, 2)); }; /** * @param {!Array} value * @return {!proto.AttrCollection} returns this */ proto.AttrCollection.prototype.setAttrsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.Attr=} opt_value * @param {number=} opt_index * @return {!proto.Attr} */ proto.AttrCollection.prototype.addAttrs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Attr, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.AttrCollection} returns this */ proto.AttrCollection.prototype.clearAttrsList = function() { return this.setAttrsList([]); }; /** * repeated MapAttr MapAttrs = 3; * @return {!Array} */ proto.AttrCollection.prototype.getMapattrsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.MapAttr, 3)); }; /** * @param {!Array} value * @return {!proto.AttrCollection} returns this */ proto.AttrCollection.prototype.setMapattrsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** * @param {!proto.MapAttr=} opt_value * @param {number=} opt_index * @return {!proto.MapAttr} */ proto.AttrCollection.prototype.addMapattrs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.MapAttr, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.AttrCollection} returns this */ proto.AttrCollection.prototype.clearMapattrsList = function() { return this.setMapattrsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Attr.prototype.toObject = function(opt_includeInstance) { return proto.Attr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Attr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Attr.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, rawdata: msg.getRawdata_asB64() }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Attr} */ proto.Attr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Attr; return proto.Attr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Attr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Attr} */ proto.Attr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setRawdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Attr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Attr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Attr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Attr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBytes( 2, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.Attr.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.Attr} returns this */ proto.Attr.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Attr} returns this */ proto.Attr.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Attr.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bytes RawData = 2; * @return {!(string|Uint8Array)} */ proto.Attr.prototype.getRawdata = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * optional bytes RawData = 2; * This is a type-conversion wrapper around `getRawdata()` * @return {string} */ proto.Attr.prototype.getRawdata_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getRawdata())); }; /** * optional bytes RawData = 2; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getRawdata()` * @return {!Uint8Array} */ proto.Attr.prototype.getRawdata_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getRawdata())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.Attr} returns this */ proto.Attr.prototype.setRawdata = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Attr} returns this */ proto.Attr.prototype.clearRawdata = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Attr.prototype.hasRawdata = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.MapAttr.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MapAttr.prototype.toObject = function(opt_includeInstance) { return proto.MapAttr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MapAttr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapAttr.toObject = function(includeInstance, msg) { var f, obj = { isclear: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, id: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, attrsList: jspb.Message.toObjectList(msg.getAttrsList(), proto.MapAttrValue.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MapAttr} */ proto.MapAttr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MapAttr; return proto.MapAttr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MapAttr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MapAttr} */ proto.MapAttr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsclear(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 3: var value = new proto.MapAttrValue; reader.readMessage(value,proto.MapAttrValue.deserializeBinaryFromReader); msg.addAttrs(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MapAttr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MapAttr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MapAttr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapAttr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getAttrsList(); if (f.length > 0) { writer.writeRepeatedMessage( 3, f, proto.MapAttrValue.serializeBinaryToWriter ); } }; /** * optional bool IsClear = 1; * @return {boolean} */ proto.MapAttr.prototype.getIsclear = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.MapAttr} returns this */ proto.MapAttr.prototype.setIsclear = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MapAttr} returns this */ proto.MapAttr.prototype.clearIsclear = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapAttr.prototype.hasIsclear = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Id = 2; * @return {number} */ proto.MapAttr.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.MapAttr} returns this */ proto.MapAttr.prototype.setId = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MapAttr} returns this */ proto.MapAttr.prototype.clearId = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapAttr.prototype.hasId = function() { return jspb.Message.getField(this, 2) != null; }; /** * repeated MapAttrValue Attrs = 3; * @return {!Array} */ proto.MapAttr.prototype.getAttrsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.MapAttrValue, 3)); }; /** * @param {!Array} value * @return {!proto.MapAttr} returns this */ proto.MapAttr.prototype.setAttrsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** * @param {!proto.MapAttrValue=} opt_value * @param {number=} opt_index * @return {!proto.MapAttrValue} */ proto.MapAttr.prototype.addAttrs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.MapAttrValue, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.MapAttr} returns this */ proto.MapAttr.prototype.clearAttrsList = function() { return this.setAttrsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MapAttrValue.prototype.toObject = function(opt_includeInstance) { return proto.MapAttrValue.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MapAttrValue} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapAttrValue.toObject = function(includeInstance, msg) { var f, obj = { isremove: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, key: msg.getKey_asB64(), value: msg.getValue_asB64() }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MapAttrValue} */ proto.MapAttrValue.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MapAttrValue; return proto.MapAttrValue.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MapAttrValue} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MapAttrValue} */ proto.MapAttrValue.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsremove(value); break; case 2: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setKey(value); break; case 3: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setValue(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MapAttrValue.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MapAttrValue.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MapAttrValue} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapAttrValue.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBytes( 2, f ); } f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBytes( 3, f ); } }; /** * optional bool IsRemove = 1; * @return {boolean} */ proto.MapAttrValue.prototype.getIsremove = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.MapAttrValue} returns this */ proto.MapAttrValue.prototype.setIsremove = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MapAttrValue} returns this */ proto.MapAttrValue.prototype.clearIsremove = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapAttrValue.prototype.hasIsremove = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bytes Key = 2; * @return {!(string|Uint8Array)} */ proto.MapAttrValue.prototype.getKey = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * optional bytes Key = 2; * This is a type-conversion wrapper around `getKey()` * @return {string} */ proto.MapAttrValue.prototype.getKey_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getKey())); }; /** * optional bytes Key = 2; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getKey()` * @return {!Uint8Array} */ proto.MapAttrValue.prototype.getKey_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getKey())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.MapAttrValue} returns this */ proto.MapAttrValue.prototype.setKey = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MapAttrValue} returns this */ proto.MapAttrValue.prototype.clearKey = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapAttrValue.prototype.hasKey = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bytes Value = 3; * @return {!(string|Uint8Array)} */ proto.MapAttrValue.prototype.getValue = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * optional bytes Value = 3; * This is a type-conversion wrapper around `getValue()` * @return {string} */ proto.MapAttrValue.prototype.getValue_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getValue())); }; /** * optional bytes Value = 3; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getValue()` * @return {!Uint8Array} */ proto.MapAttrValue.prototype.getValue_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getValue())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.MapAttrValue} returns this */ proto.MapAttrValue.prototype.setValue = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MapAttrValue} returns this */ proto.MapAttrValue.prototype.clearValue = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapAttrValue.prototype.hasValue = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.TempAttrCollection.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TempAttrCollection.prototype.toObject = function(opt_includeInstance) { return proto.TempAttrCollection.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TempAttrCollection} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TempAttrCollection.toObject = function(includeInstance, msg) { var f, obj = { attrsList: jspb.Message.toObjectList(msg.getAttrsList(), proto.TempAttr.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TempAttrCollection} */ proto.TempAttrCollection.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TempAttrCollection; return proto.TempAttrCollection.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TempAttrCollection} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TempAttrCollection} */ proto.TempAttrCollection.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TempAttr; reader.readMessage(value,proto.TempAttr.deserializeBinaryFromReader); msg.addAttrs(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TempAttrCollection.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TempAttrCollection.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TempAttrCollection} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TempAttrCollection.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAttrsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.TempAttr.serializeBinaryToWriter ); } }; /** * repeated TempAttr Attrs = 1; * @return {!Array} */ proto.TempAttrCollection.prototype.getAttrsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.TempAttr, 1)); }; /** * @param {!Array} value * @return {!proto.TempAttrCollection} returns this */ proto.TempAttrCollection.prototype.setAttrsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.TempAttr=} opt_value * @param {number=} opt_index * @return {!proto.TempAttr} */ proto.TempAttrCollection.prototype.addAttrs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TempAttr, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.TempAttrCollection} returns this */ proto.TempAttrCollection.prototype.clearAttrsList = function() { return this.setAttrsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TempAttr.prototype.toObject = function(opt_includeInstance) { return proto.TempAttr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TempAttr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TempAttr.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, value: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TempAttr} */ proto.TempAttr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TempAttr; return proto.TempAttr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TempAttr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TempAttr} */ proto.TempAttr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setValue(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TempAttr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TempAttr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TempAttr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TempAttr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.TempAttr.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TempAttr} returns this */ proto.TempAttr.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TempAttr} returns this */ proto.TempAttr.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TempAttr.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Value = 2; * @return {number} */ proto.TempAttr.prototype.getValue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.TempAttr} returns this */ proto.TempAttr.prototype.setValue = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TempAttr} returns this */ proto.TempAttr.prototype.clearValue = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TempAttr.prototype.hasValue = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.EventDataList.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EventDataList.prototype.toObject = function(opt_includeInstance) { return proto.EventDataList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EventDataList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EventDataList.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, eventsList: jspb.Message.toObjectList(msg.getEventsList(), proto.EventData.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EventDataList} */ proto.EventDataList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EventDataList; return proto.EventDataList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EventDataList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EventDataList} */ proto.EventDataList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = new proto.EventData; reader.readMessage(value,proto.EventData.deserializeBinaryFromReader); msg.addEvents(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EventDataList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EventDataList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EventDataList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EventDataList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getEventsList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.EventData.serializeBinaryToWriter ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.EventDataList.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.EventDataList} returns this */ proto.EventDataList.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.EventDataList} returns this */ proto.EventDataList.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EventDataList.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated EventData Events = 2; * @return {!Array} */ proto.EventDataList.prototype.getEventsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.EventData, 2)); }; /** * @param {!Array} value * @return {!proto.EventDataList} returns this */ proto.EventDataList.prototype.setEventsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.EventData=} opt_value * @param {number=} opt_index * @return {!proto.EventData} */ proto.EventDataList.prototype.addEvents = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.EventData, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.EventDataList} returns this */ proto.EventDataList.prototype.clearEventsList = function() { return this.setEventsList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.EventData.repeatedFields_ = [2,3,4,5]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EventData.prototype.toObject = function(opt_includeInstance) { return proto.EventData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EventData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EventData.toObject = function(includeInstance, msg) { var f, obj = { eventtype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, intparamsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, longparamsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, floatparamsList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 4)) == null ? undefined : f, strparamsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EventData} */ proto.EventData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EventData; return proto.EventData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EventData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EventData} */ proto.EventData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setEventtype(value); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addIntparams(values[i]); } break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addLongparams(values[i]); } break; case 4: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedFloat() : [reader.readFloat()]); for (var i = 0; i < values.length; i++) { msg.addFloatparams(values[i]); } break; case 5: var value = /** @type {string} */ (reader.readString()); msg.addStrparams(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EventData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EventData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EventData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EventData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getIntparamsList(); if (f.length > 0) { writer.writePackedInt32( 2, f ); } f = message.getLongparamsList(); if (f.length > 0) { writer.writePackedInt64( 3, f ); } f = message.getFloatparamsList(); if (f.length > 0) { writer.writePackedFloat( 4, f ); } f = message.getStrparamsList(); if (f.length > 0) { writer.writeRepeatedString( 5, f ); } }; /** * optional int32 EventType = 1; * @return {number} */ proto.EventData.prototype.getEventtype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.EventData} returns this */ proto.EventData.prototype.setEventtype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.EventData} returns this */ proto.EventData.prototype.clearEventtype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EventData.prototype.hasEventtype = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated int32 IntParams = 2; * @return {!Array} */ proto.EventData.prototype.getIntparamsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.EventData} returns this */ proto.EventData.prototype.setIntparamsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.EventData} returns this */ proto.EventData.prototype.addIntparams = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.EventData} returns this */ proto.EventData.prototype.clearIntparamsList = function() { return this.setIntparamsList([]); }; /** * repeated int64 LongParams = 3; * @return {!Array} */ proto.EventData.prototype.getLongparamsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.EventData} returns this */ proto.EventData.prototype.setLongparamsList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.EventData} returns this */ proto.EventData.prototype.addLongparams = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.EventData} returns this */ proto.EventData.prototype.clearLongparamsList = function() { return this.setLongparamsList([]); }; /** * repeated float FloatParams = 4; * @return {!Array} */ proto.EventData.prototype.getFloatparamsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedFloatingPointField(this, 4)); }; /** * @param {!Array} value * @return {!proto.EventData} returns this */ proto.EventData.prototype.setFloatparamsList = function(value) { return jspb.Message.setField(this, 4, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.EventData} returns this */ proto.EventData.prototype.addFloatparams = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 4, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.EventData} returns this */ proto.EventData.prototype.clearFloatparamsList = function() { return this.setFloatparamsList([]); }; /** * repeated string StrParams = 5; * @return {!Array} */ proto.EventData.prototype.getStrparamsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); }; /** * @param {!Array} value * @return {!proto.EventData} returns this */ proto.EventData.prototype.setStrparamsList = function(value) { return jspb.Message.setField(this, 5, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.EventData} returns this */ proto.EventData.prototype.addStrparams = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 5, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.EventData} returns this */ proto.EventData.prototype.clearStrparamsList = function() { return this.setStrparamsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BulletEvent.prototype.toObject = function(opt_includeInstance) { return proto.BulletEvent.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BulletEvent} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BulletEvent.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, enterstageid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BulletEvent} */ proto.BulletEvent.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BulletEvent; return proto.BulletEvent.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BulletEvent} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BulletEvent} */ proto.BulletEvent.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setEnterstageid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BulletEvent.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BulletEvent.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BulletEvent} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BulletEvent.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.BulletEvent.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BulletEvent} returns this */ proto.BulletEvent.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BulletEvent} returns this */ proto.BulletEvent.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BulletEvent.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 EnterStageId = 2; * @return {number} */ proto.BulletEvent.prototype.getEnterstageid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BulletEvent} returns this */ proto.BulletEvent.prototype.setEnterstageid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BulletEvent} returns this */ proto.BulletEvent.prototype.clearEnterstageid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BulletEvent.prototype.hasEnterstageid = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SkillEffect.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SkillEffect.prototype.toObject = function(opt_includeInstance) { return proto.SkillEffect.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SkillEffect} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SkillEffect.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, damagesList: jspb.Message.toObjectList(msg.getDamagesList(), proto.SyncDamageInfo.toObject, includeInstance), totaldamage: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SkillEffect} */ proto.SkillEffect.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SkillEffect; return proto.SkillEffect.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SkillEffect} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SkillEffect} */ proto.SkillEffect.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = new proto.SyncDamageInfo; reader.readMessage(value,proto.SyncDamageInfo.deserializeBinaryFromReader); msg.addDamages(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setTotaldamage(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SkillEffect.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SkillEffect.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SkillEffect} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SkillEffect.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getDamagesList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.SyncDamageInfo.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.SkillEffect.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SkillEffect} returns this */ proto.SkillEffect.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillEffect} returns this */ proto.SkillEffect.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillEffect.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated SyncDamageInfo Damages = 2; * @return {!Array} */ proto.SkillEffect.prototype.getDamagesList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.SyncDamageInfo, 2)); }; /** * @param {!Array} value * @return {!proto.SkillEffect} returns this */ proto.SkillEffect.prototype.setDamagesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.SyncDamageInfo=} opt_value * @param {number=} opt_index * @return {!proto.SyncDamageInfo} */ proto.SkillEffect.prototype.addDamages = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.SyncDamageInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SkillEffect} returns this */ proto.SkillEffect.prototype.clearDamagesList = function() { return this.setDamagesList([]); }; /** * optional int64 TotalDamage = 3; * @return {number} */ proto.SkillEffect.prototype.getTotaldamage = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SkillEffect} returns this */ proto.SkillEffect.prototype.setTotaldamage = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillEffect} returns this */ proto.SkillEffect.prototype.clearTotaldamage = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillEffect.prototype.hasTotaldamage = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SyncDamageInfo.repeatedFields_ = [20]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncDamageInfo.prototype.toObject = function(opt_includeInstance) { return proto.SyncDamageInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncDamageInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncDamageInfo.toObject = function(includeInstance, msg) { var f, obj = { damagesource: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, ismiss: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, iscrit: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, type: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, typeflag: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, value: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, actualvalue: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, luckyvalue: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, hplessenvalue: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, shieldlessenvalue: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, attackeruuid: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, ownerid: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f, ownerlevel: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f, ownerstage: (f = jspb.Message.getField(msg, 14)) == null ? undefined : f, hiteventid: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f, isnormal: (f = jspb.Message.getBooleanField(msg, 16)) == null ? undefined : f, isdead: (f = jspb.Message.getBooleanField(msg, 17)) == null ? undefined : f, property: (f = jspb.Message.getField(msg, 18)) == null ? undefined : f, damagepos: (f = msg.getDamagepos()) && proto.Vector3.toObject(includeInstance, f), partinfosList: jspb.Message.toObjectList(msg.getPartinfosList(), proto.ClientHitPartInfo.toObject, includeInstance), topsummonerid: (f = jspb.Message.getField(msg, 21)) == null ? undefined : f, damageweight: (f = msg.getDamageweight()) && proto.Vector2.toObject(includeInstance, f), passiveuuid: (f = jspb.Message.getField(msg, 23)) == null ? undefined : f, israinbow: (f = jspb.Message.getBooleanField(msg, 24)) == null ? undefined : f, damagemode: (f = jspb.Message.getField(msg, 25)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncDamageInfo} */ proto.SyncDamageInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncDamageInfo; return proto.SyncDamageInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncDamageInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncDamageInfo} */ proto.SyncDamageInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EDamageSource} */ (reader.readEnum()); msg.setDamagesource(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsmiss(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIscrit(value); break; case 4: var value = /** @type {!proto.EDamageType} */ (reader.readEnum()); msg.setType(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setTypeflag(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setValue(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setActualvalue(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setLuckyvalue(value); break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setHplessenvalue(value); break; case 10: var value = /** @type {number} */ (reader.readInt64()); msg.setShieldlessenvalue(value); break; case 11: var value = /** @type {number} */ (reader.readInt64()); msg.setAttackeruuid(value); break; case 12: var value = /** @type {number} */ (reader.readInt32()); msg.setOwnerid(value); break; case 13: var value = /** @type {number} */ (reader.readInt32()); msg.setOwnerlevel(value); break; case 14: var value = /** @type {number} */ (reader.readInt32()); msg.setOwnerstage(value); break; case 15: var value = /** @type {number} */ (reader.readInt32()); msg.setHiteventid(value); break; case 16: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsnormal(value); break; case 17: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsdead(value); break; case 18: var value = /** @type {!proto.EDamageProperty} */ (reader.readEnum()); msg.setProperty(value); break; case 19: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setDamagepos(value); break; case 20: var value = new proto.ClientHitPartInfo; reader.readMessage(value,proto.ClientHitPartInfo.deserializeBinaryFromReader); msg.addPartinfos(value); break; case 21: var value = /** @type {number} */ (reader.readInt64()); msg.setTopsummonerid(value); break; case 22: var value = new proto.Vector2; reader.readMessage(value,proto.Vector2.deserializeBinaryFromReader); msg.setDamageweight(value); break; case 23: var value = /** @type {number} */ (reader.readUint32()); msg.setPassiveuuid(value); break; case 24: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsrainbow(value); break; case 25: var value = /** @type {!proto.EDamageMode} */ (reader.readEnum()); msg.setDamagemode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncDamageInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncDamageInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncDamageInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncDamageInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EDamageSource} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {!proto.EDamageType} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeEnum( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeInt64( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt64( 11, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 12)); if (f != null) { writer.writeInt32( 12, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeInt32( 13, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 14)); if (f != null) { writer.writeInt32( 14, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 15)); if (f != null) { writer.writeInt32( 15, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 16)); if (f != null) { writer.writeBool( 16, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 17)); if (f != null) { writer.writeBool( 17, f ); } f = /** @type {!proto.EDamageProperty} */ (jspb.Message.getField(message, 18)); if (f != null) { writer.writeEnum( 18, f ); } f = message.getDamagepos(); if (f != null) { writer.writeMessage( 19, f, proto.Vector3.serializeBinaryToWriter ); } f = message.getPartinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 20, f, proto.ClientHitPartInfo.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 21)); if (f != null) { writer.writeInt64( 21, f ); } f = message.getDamageweight(); if (f != null) { writer.writeMessage( 22, f, proto.Vector2.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 23)); if (f != null) { writer.writeUint32( 23, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 24)); if (f != null) { writer.writeBool( 24, f ); } f = /** @type {!proto.EDamageMode} */ (jspb.Message.getField(message, 25)); if (f != null) { writer.writeEnum( 25, f ); } }; /** * optional EDamageSource DamageSource = 1; * @return {!proto.EDamageSource} */ proto.SyncDamageInfo.prototype.getDamagesource = function() { return /** @type {!proto.EDamageSource} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EDamageSource} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setDamagesource = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearDamagesource = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasDamagesource = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsMiss = 2; * @return {boolean} */ proto.SyncDamageInfo.prototype.getIsmiss = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setIsmiss = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearIsmiss = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasIsmiss = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsCrit = 3; * @return {boolean} */ proto.SyncDamageInfo.prototype.getIscrit = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setIscrit = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearIscrit = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasIscrit = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional EDamageType Type = 4; * @return {!proto.EDamageType} */ proto.SyncDamageInfo.prototype.getType = function() { return /** @type {!proto.EDamageType} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {!proto.EDamageType} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setType = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearType = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasType = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 TypeFlag = 5; * @return {number} */ proto.SyncDamageInfo.prototype.getTypeflag = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setTypeflag = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearTypeflag = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasTypeflag = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int64 Value = 6; * @return {number} */ proto.SyncDamageInfo.prototype.getValue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setValue = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearValue = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasValue = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int64 ActualValue = 7; * @return {number} */ proto.SyncDamageInfo.prototype.getActualvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setActualvalue = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearActualvalue = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasActualvalue = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int64 LuckyValue = 8; * @return {number} */ proto.SyncDamageInfo.prototype.getLuckyvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setLuckyvalue = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearLuckyvalue = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasLuckyvalue = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int64 HpLessenValue = 9; * @return {number} */ proto.SyncDamageInfo.prototype.getHplessenvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setHplessenvalue = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearHplessenvalue = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasHplessenvalue = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional int64 ShieldLessenValue = 10; * @return {number} */ proto.SyncDamageInfo.prototype.getShieldlessenvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setShieldlessenvalue = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearShieldlessenvalue = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasShieldlessenvalue = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional int64 AttackerUuid = 11; * @return {number} */ proto.SyncDamageInfo.prototype.getAttackeruuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setAttackeruuid = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearAttackeruuid = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasAttackeruuid = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional int32 OwnerId = 12; * @return {number} */ proto.SyncDamageInfo.prototype.getOwnerid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setOwnerid = function(value) { return jspb.Message.setField(this, 12, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearOwnerid = function() { return jspb.Message.setField(this, 12, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasOwnerid = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional int32 OwnerLevel = 13; * @return {number} */ proto.SyncDamageInfo.prototype.getOwnerlevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setOwnerlevel = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearOwnerlevel = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasOwnerlevel = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional int32 OwnerStage = 14; * @return {number} */ proto.SyncDamageInfo.prototype.getOwnerstage = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setOwnerstage = function(value) { return jspb.Message.setField(this, 14, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearOwnerstage = function() { return jspb.Message.setField(this, 14, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasOwnerstage = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional int32 HitEventId = 15; * @return {number} */ proto.SyncDamageInfo.prototype.getHiteventid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setHiteventid = function(value) { return jspb.Message.setField(this, 15, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearHiteventid = function() { return jspb.Message.setField(this, 15, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasHiteventid = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional bool IsNormal = 16; * @return {boolean} */ proto.SyncDamageInfo.prototype.getIsnormal = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false)); }; /** * @param {boolean} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setIsnormal = function(value) { return jspb.Message.setField(this, 16, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearIsnormal = function() { return jspb.Message.setField(this, 16, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasIsnormal = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional bool IsDead = 17; * @return {boolean} */ proto.SyncDamageInfo.prototype.getIsdead = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false)); }; /** * @param {boolean} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setIsdead = function(value) { return jspb.Message.setField(this, 17, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearIsdead = function() { return jspb.Message.setField(this, 17, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasIsdead = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional EDamageProperty Property = 18; * @return {!proto.EDamageProperty} */ proto.SyncDamageInfo.prototype.getProperty = function() { return /** @type {!proto.EDamageProperty} */ (jspb.Message.getFieldWithDefault(this, 18, 0)); }; /** * @param {!proto.EDamageProperty} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setProperty = function(value) { return jspb.Message.setField(this, 18, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearProperty = function() { return jspb.Message.setField(this, 18, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasProperty = function() { return jspb.Message.getField(this, 18) != null; }; /** * optional Vector3 DamagePos = 19; * @return {?proto.Vector3} */ proto.SyncDamageInfo.prototype.getDamagepos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 19)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setDamagepos = function(value) { return jspb.Message.setWrapperField(this, 19, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearDamagepos = function() { return this.setDamagepos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasDamagepos = function() { return jspb.Message.getField(this, 19) != null; }; /** * repeated ClientHitPartInfo PartInfos = 20; * @return {!Array} */ proto.SyncDamageInfo.prototype.getPartinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ClientHitPartInfo, 20)); }; /** * @param {!Array} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setPartinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 20, value); }; /** * @param {!proto.ClientHitPartInfo=} opt_value * @param {number=} opt_index * @return {!proto.ClientHitPartInfo} */ proto.SyncDamageInfo.prototype.addPartinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.ClientHitPartInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearPartinfosList = function() { return this.setPartinfosList([]); }; /** * optional int64 TopSummonerId = 21; * @return {number} */ proto.SyncDamageInfo.prototype.getTopsummonerid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setTopsummonerid = function(value) { return jspb.Message.setField(this, 21, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearTopsummonerid = function() { return jspb.Message.setField(this, 21, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasTopsummonerid = function() { return jspb.Message.getField(this, 21) != null; }; /** * optional Vector2 DamageWeight = 22; * @return {?proto.Vector2} */ proto.SyncDamageInfo.prototype.getDamageweight = function() { return /** @type{?proto.Vector2} */ ( jspb.Message.getWrapperField(this, proto.Vector2, 22)); }; /** * @param {?proto.Vector2|undefined} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setDamageweight = function(value) { return jspb.Message.setWrapperField(this, 22, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearDamageweight = function() { return this.setDamageweight(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasDamageweight = function() { return jspb.Message.getField(this, 22) != null; }; /** * optional uint32 PassiveUuid = 23; * @return {number} */ proto.SyncDamageInfo.prototype.getPassiveuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0)); }; /** * @param {number} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setPassiveuuid = function(value) { return jspb.Message.setField(this, 23, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearPassiveuuid = function() { return jspb.Message.setField(this, 23, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasPassiveuuid = function() { return jspb.Message.getField(this, 23) != null; }; /** * optional bool IsRainbow = 24; * @return {boolean} */ proto.SyncDamageInfo.prototype.getIsrainbow = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 24, false)); }; /** * @param {boolean} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setIsrainbow = function(value) { return jspb.Message.setField(this, 24, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearIsrainbow = function() { return jspb.Message.setField(this, 24, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasIsrainbow = function() { return jspb.Message.getField(this, 24) != null; }; /** * optional EDamageMode DamageMode = 25; * @return {!proto.EDamageMode} */ proto.SyncDamageInfo.prototype.getDamagemode = function() { return /** @type {!proto.EDamageMode} */ (jspb.Message.getFieldWithDefault(this, 25, 0)); }; /** * @param {!proto.EDamageMode} value * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.setDamagemode = function(value) { return jspb.Message.setField(this, 25, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDamageInfo} returns this */ proto.SyncDamageInfo.prototype.clearDamagemode = function() { return jspb.Message.setField(this, 25, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDamageInfo.prototype.hasDamagemode = function() { return jspb.Message.getField(this, 25) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Vector3.prototype.toObject = function(opt_includeInstance) { return proto.Vector3.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Vector3} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Vector3.toObject = function(includeInstance, msg) { var f, obj = { x: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, y: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, z: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Vector3} */ proto.Vector3.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Vector3; return proto.Vector3.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Vector3} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Vector3} */ proto.Vector3.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readFloat()); msg.setX(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setY(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setZ(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Vector3.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Vector3.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Vector3} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Vector3.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeFloat( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeFloat( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } }; /** * optional float X = 1; * @return {number} */ proto.Vector3.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); }; /** * @param {number} value * @return {!proto.Vector3} returns this */ proto.Vector3.prototype.setX = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Vector3} returns this */ proto.Vector3.prototype.clearX = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Vector3.prototype.hasX = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional float Y = 2; * @return {number} */ proto.Vector3.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.Vector3} returns this */ proto.Vector3.prototype.setY = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Vector3} returns this */ proto.Vector3.prototype.clearY = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Vector3.prototype.hasY = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float Z = 3; * @return {number} */ proto.Vector3.prototype.getZ = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.Vector3} returns this */ proto.Vector3.prototype.setZ = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.Vector3} returns this */ proto.Vector3.prototype.clearZ = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Vector3.prototype.hasZ = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ClientHitPartInfo.prototype.toObject = function(opt_includeInstance) { return proto.ClientHitPartInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ClientHitPartInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientHitPartInfo.toObject = function(includeInstance, msg) { var f, obj = { partid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, damagepos: (f = msg.getDamagepos()) && proto.Vector3.toObject(includeInstance, f), damageval: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ClientHitPartInfo} */ proto.ClientHitPartInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ClientHitPartInfo; return proto.ClientHitPartInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ClientHitPartInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ClientHitPartInfo} */ proto.ClientHitPartInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setPartid(value); break; case 2: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setDamagepos(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setDamageval(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ClientHitPartInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ClientHitPartInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ClientHitPartInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientHitPartInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getDamagepos(); if (f != null) { writer.writeMessage( 2, f, proto.Vector3.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional int32 PartId = 1; * @return {number} */ proto.ClientHitPartInfo.prototype.getPartid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ClientHitPartInfo} returns this */ proto.ClientHitPartInfo.prototype.setPartid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitPartInfo} returns this */ proto.ClientHitPartInfo.prototype.clearPartid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitPartInfo.prototype.hasPartid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Vector3 DamagePos = 2; * @return {?proto.Vector3} */ proto.ClientHitPartInfo.prototype.getDamagepos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 2)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.ClientHitPartInfo} returns this */ proto.ClientHitPartInfo.prototype.setDamagepos = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.ClientHitPartInfo} returns this */ proto.ClientHitPartInfo.prototype.clearDamagepos = function() { return this.setDamagepos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitPartInfo.prototype.hasDamagepos = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 DamageVal = 3; * @return {number} */ proto.ClientHitPartInfo.prototype.getDamageval = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ClientHitPartInfo} returns this */ proto.ClientHitPartInfo.prototype.setDamageval = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitPartInfo} returns this */ proto.ClientHitPartInfo.prototype.clearDamageval = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitPartInfo.prototype.hasDamageval = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Vector2.prototype.toObject = function(opt_includeInstance) { return proto.Vector2.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Vector2} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Vector2.toObject = function(includeInstance, msg) { var f, obj = { x: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, y: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Vector2} */ proto.Vector2.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Vector2; return proto.Vector2.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Vector2} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Vector2} */ proto.Vector2.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readFloat()); msg.setX(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setY(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Vector2.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Vector2.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Vector2} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Vector2.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeFloat( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeFloat( 2, f ); } }; /** * optional float X = 1; * @return {number} */ proto.Vector2.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); }; /** * @param {number} value * @return {!proto.Vector2} returns this */ proto.Vector2.prototype.setX = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Vector2} returns this */ proto.Vector2.prototype.clearX = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Vector2.prototype.hasX = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional float Y = 2; * @return {number} */ proto.Vector2.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.Vector2} returns this */ proto.Vector2.prototype.setY = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Vector2} returns this */ proto.Vector2.prototype.clearY = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Vector2.prototype.hasY = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SeqPassiveSkillInfo.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeqPassiveSkillInfo.prototype.toObject = function(opt_includeInstance) { return proto.SeqPassiveSkillInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeqPassiveSkillInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeqPassiveSkillInfo.toObject = function(includeInstance, msg) { var f, obj = { actoruuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, passiveinfosList: jspb.Message.toObjectList(msg.getPassiveinfosList(), proto.PassiveSkillInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeqPassiveSkillInfo} */ proto.SeqPassiveSkillInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeqPassiveSkillInfo; return proto.SeqPassiveSkillInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeqPassiveSkillInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeqPassiveSkillInfo} */ proto.SeqPassiveSkillInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setActoruuid(value); break; case 2: var value = new proto.PassiveSkillInfo; reader.readMessage(value,proto.PassiveSkillInfo.deserializeBinaryFromReader); msg.addPassiveinfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeqPassiveSkillInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeqPassiveSkillInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeqPassiveSkillInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeqPassiveSkillInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getPassiveinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.PassiveSkillInfo.serializeBinaryToWriter ); } }; /** * optional int64 ActorUuid = 1; * @return {number} */ proto.SeqPassiveSkillInfo.prototype.getActoruuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeqPassiveSkillInfo} returns this */ proto.SeqPassiveSkillInfo.prototype.setActoruuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeqPassiveSkillInfo} returns this */ proto.SeqPassiveSkillInfo.prototype.clearActoruuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeqPassiveSkillInfo.prototype.hasActoruuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated PassiveSkillInfo PassiveInfos = 2; * @return {!Array} */ proto.SeqPassiveSkillInfo.prototype.getPassiveinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.PassiveSkillInfo, 2)); }; /** * @param {!Array} value * @return {!proto.SeqPassiveSkillInfo} returns this */ proto.SeqPassiveSkillInfo.prototype.setPassiveinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.PassiveSkillInfo=} opt_value * @param {number=} opt_index * @return {!proto.PassiveSkillInfo} */ proto.SeqPassiveSkillInfo.prototype.addPassiveinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.PassiveSkillInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SeqPassiveSkillInfo} returns this */ proto.SeqPassiveSkillInfo.prototype.clearPassiveinfosList = function() { return this.setPassiveinfosList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PassiveSkillInfo.prototype.toObject = function(opt_includeInstance) { return proto.PassiveSkillInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PassiveSkillInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PassiveSkillInfo.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, stagebegintime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, begintime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, stageplaynum: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, skillid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, skilllevel: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, skillstage: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PassiveSkillInfo} */ proto.PassiveSkillInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PassiveSkillInfo; return proto.PassiveSkillInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PassiveSkillInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PassiveSkillInfo} */ proto.PassiveSkillInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setUuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setStagebegintime(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setStageplaynum(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillid(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilllevel(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillstage(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PassiveSkillInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PassiveSkillInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PassiveSkillInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PassiveSkillInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } }; /** * optional int32 Uuid = 1; * @return {number} */ proto.PassiveSkillInfo.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassiveSkillInfo.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 TargetUuid = 2; * @return {number} */ proto.PassiveSkillInfo.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassiveSkillInfo.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 StageBeginTime = 3; * @return {number} */ proto.PassiveSkillInfo.prototype.getStagebegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.setStagebegintime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.clearStagebegintime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassiveSkillInfo.prototype.hasStagebegintime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 BeginTime = 4; * @return {number} */ proto.PassiveSkillInfo.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.clearBegintime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassiveSkillInfo.prototype.hasBegintime = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 StagePlayNum = 5; * @return {number} */ proto.PassiveSkillInfo.prototype.getStageplaynum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.setStageplaynum = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.clearStageplaynum = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassiveSkillInfo.prototype.hasStageplaynum = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 SkillId = 6; * @return {number} */ proto.PassiveSkillInfo.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.clearSkillid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassiveSkillInfo.prototype.hasSkillid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 SkillLevel = 7; * @return {number} */ proto.PassiveSkillInfo.prototype.getSkilllevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.setSkilllevel = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.clearSkilllevel = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassiveSkillInfo.prototype.hasSkilllevel = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 SkillStage = 8; * @return {number} */ proto.PassiveSkillInfo.prototype.getSkillstage = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.setSkillstage = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.PassiveSkillInfo} returns this */ proto.PassiveSkillInfo.prototype.clearSkillstage = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassiveSkillInfo.prototype.hasSkillstage = function() { return jspb.Message.getField(this, 8) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SeqPassiveSkillEndInfo.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeqPassiveSkillEndInfo.prototype.toObject = function(opt_includeInstance) { return proto.SeqPassiveSkillEndInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeqPassiveSkillEndInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeqPassiveSkillEndInfo.toObject = function(includeInstance, msg) { var f, obj = { actoruuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, uuidsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeqPassiveSkillEndInfo} */ proto.SeqPassiveSkillEndInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeqPassiveSkillEndInfo; return proto.SeqPassiveSkillEndInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeqPassiveSkillEndInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeqPassiveSkillEndInfo} */ proto.SeqPassiveSkillEndInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setActoruuid(value); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addUuids(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeqPassiveSkillEndInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeqPassiveSkillEndInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeqPassiveSkillEndInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeqPassiveSkillEndInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getUuidsList(); if (f.length > 0) { writer.writePackedInt64( 2, f ); } }; /** * optional int64 ActorUuid = 1; * @return {number} */ proto.SeqPassiveSkillEndInfo.prototype.getActoruuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeqPassiveSkillEndInfo} returns this */ proto.SeqPassiveSkillEndInfo.prototype.setActoruuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeqPassiveSkillEndInfo} returns this */ proto.SeqPassiveSkillEndInfo.prototype.clearActoruuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeqPassiveSkillEndInfo.prototype.hasActoruuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated int64 Uuids = 2; * @return {!Array} */ proto.SeqPassiveSkillEndInfo.prototype.getUuidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.SeqPassiveSkillEndInfo} returns this */ proto.SeqPassiveSkillEndInfo.prototype.setUuidsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.SeqPassiveSkillEndInfo} returns this */ proto.SeqPassiveSkillEndInfo.prototype.addUuids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SeqPassiveSkillEndInfo} returns this */ proto.SeqPassiveSkillEndInfo.prototype.clearUuidsList = function() { return this.setUuidsList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BuffInfoSync.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffInfoSync.prototype.toObject = function(opt_includeInstance) { return proto.BuffInfoSync.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffInfoSync} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffInfoSync.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, buffinfosList: jspb.Message.toObjectList(msg.getBuffinfosList(), proto.BuffInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffInfoSync} */ proto.BuffInfoSync.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffInfoSync; return proto.BuffInfoSync.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffInfoSync} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffInfoSync} */ proto.BuffInfoSync.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = new proto.BuffInfo; reader.readMessage(value,proto.BuffInfo.deserializeBinaryFromReader); msg.addBuffinfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffInfoSync.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffInfoSync.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffInfoSync} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffInfoSync.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getBuffinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.BuffInfo.serializeBinaryToWriter ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.BuffInfoSync.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BuffInfoSync} returns this */ proto.BuffInfoSync.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfoSync} returns this */ proto.BuffInfoSync.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfoSync.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated BuffInfo BuffInfos = 2; * @return {!Array} */ proto.BuffInfoSync.prototype.getBuffinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.BuffInfo, 2)); }; /** * @param {!Array} value * @return {!proto.BuffInfoSync} returns this */ proto.BuffInfoSync.prototype.setBuffinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.BuffInfo=} opt_value * @param {number=} opt_index * @return {!proto.BuffInfo} */ proto.BuffInfoSync.prototype.addBuffinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.BuffInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffInfoSync} returns this */ proto.BuffInfoSync.prototype.clearBuffinfosList = function() { return this.setBuffinfosList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BuffInfo.repeatedFields_ = [13]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffInfo.prototype.toObject = function(opt_includeInstance) { return proto.BuffInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffInfo.toObject = function(includeInstance, msg) { var f, obj = { buffuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, baseid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, hostuuid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, tableuuid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, createtime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, fireuuid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, layer: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, partid: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, count: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, duration: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, fightsourceinfo: (f = msg.getFightsourceinfo()) && proto.FightSourceInfo.toObject(includeInstance, f), logiceffectList: jspb.Message.toObjectList(msg.getLogiceffectList(), proto.BuffEffectLogicInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffInfo} */ proto.BuffInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffInfo; return proto.BuffInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffInfo} */ proto.BuffInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setBuffuuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setBaseid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setHostuuid(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setTableuuid(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatetime(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setFireuuid(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setLayer(value); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setPartid(value); break; case 10: var value = /** @type {number} */ (reader.readInt32()); msg.setCount(value); break; case 11: var value = /** @type {number} */ (reader.readInt32()); msg.setDuration(value); break; case 12: var value = new proto.FightSourceInfo; reader.readMessage(value,proto.FightSourceInfo.deserializeBinaryFromReader); msg.setFightsourceinfo(value); break; case 13: var value = new proto.BuffEffectLogicInfo; reader.readMessage(value,proto.BuffEffectLogicInfo.deserializeBinaryFromReader); msg.addLogiceffect(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt32( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeInt32( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt32( 11, f ); } f = message.getFightsourceinfo(); if (f != null) { writer.writeMessage( 12, f, proto.FightSourceInfo.serializeBinaryToWriter ); } f = message.getLogiceffectList(); if (f.length > 0) { writer.writeRepeatedMessage( 13, f, proto.BuffEffectLogicInfo.serializeBinaryToWriter ); } }; /** * optional int32 BuffUuid = 1; * @return {number} */ proto.BuffInfo.prototype.getBuffuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setBuffuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearBuffuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasBuffuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 BaseId = 2; * @return {number} */ proto.BuffInfo.prototype.getBaseid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setBaseid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearBaseid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasBaseid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Level = 3; * @return {number} */ proto.BuffInfo.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setLevel = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearLevel = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasLevel = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 HostUuid = 4; * @return {number} */ proto.BuffInfo.prototype.getHostuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setHostuuid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearHostuuid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasHostuuid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 TableUuid = 5; * @return {number} */ proto.BuffInfo.prototype.getTableuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setTableuuid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearTableuuid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasTableuuid = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int64 CreateTime = 6; * @return {number} */ proto.BuffInfo.prototype.getCreatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setCreatetime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearCreatetime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasCreatetime = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int64 FireUuid = 7; * @return {number} */ proto.BuffInfo.prototype.getFireuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setFireuuid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearFireuuid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasFireuuid = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 Layer = 8; * @return {number} */ proto.BuffInfo.prototype.getLayer = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setLayer = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearLayer = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasLayer = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int32 PartId = 9; * @return {number} */ proto.BuffInfo.prototype.getPartid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setPartid = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearPartid = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasPartid = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional int32 Count = 10; * @return {number} */ proto.BuffInfo.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setCount = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearCount = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasCount = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional int32 Duration = 11; * @return {number} */ proto.BuffInfo.prototype.getDuration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setDuration = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearDuration = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasDuration = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional FightSourceInfo FightSourceInfo = 12; * @return {?proto.FightSourceInfo} */ proto.BuffInfo.prototype.getFightsourceinfo = function() { return /** @type{?proto.FightSourceInfo} */ ( jspb.Message.getWrapperField(this, proto.FightSourceInfo, 12)); }; /** * @param {?proto.FightSourceInfo|undefined} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setFightsourceinfo = function(value) { return jspb.Message.setWrapperField(this, 12, value); }; /** * Clears the message field making it undefined. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearFightsourceinfo = function() { return this.setFightsourceinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffInfo.prototype.hasFightsourceinfo = function() { return jspb.Message.getField(this, 12) != null; }; /** * repeated BuffEffectLogicInfo LogicEffect = 13; * @return {!Array} */ proto.BuffInfo.prototype.getLogiceffectList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.BuffEffectLogicInfo, 13)); }; /** * @param {!Array} value * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.setLogiceffectList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 13, value); }; /** * @param {!proto.BuffEffectLogicInfo=} opt_value * @param {number=} opt_index * @return {!proto.BuffEffectLogicInfo} */ proto.BuffInfo.prototype.addLogiceffect = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.BuffEffectLogicInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffInfo} returns this */ proto.BuffInfo.prototype.clearLogiceffectList = function() { return this.setLogiceffectList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FightSourceInfo.prototype.toObject = function(opt_includeInstance) { return proto.FightSourceInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FightSourceInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightSourceInfo.toObject = function(includeInstance, msg) { var f, obj = { fightsourcetype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, sourceconfigid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FightSourceInfo} */ proto.FightSourceInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FightSourceInfo; return proto.FightSourceInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FightSourceInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FightSourceInfo} */ proto.FightSourceInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setFightsourcetype(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSourceconfigid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FightSourceInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FightSourceInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FightSourceInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightSourceInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 FightSourceType = 1; * @return {number} */ proto.FightSourceInfo.prototype.getFightsourcetype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FightSourceInfo} returns this */ proto.FightSourceInfo.prototype.setFightsourcetype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FightSourceInfo} returns this */ proto.FightSourceInfo.prototype.clearFightsourcetype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightSourceInfo.prototype.hasFightsourcetype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SourceConfigId = 2; * @return {number} */ proto.FightSourceInfo.prototype.getSourceconfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FightSourceInfo} returns this */ proto.FightSourceInfo.prototype.setSourceconfigid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FightSourceInfo} returns this */ proto.FightSourceInfo.prototype.clearSourceconfigid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightSourceInfo.prototype.hasSourceconfigid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffEffectLogicInfo.prototype.toObject = function(opt_includeInstance) { return proto.BuffEffectLogicInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffEffectLogicInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffEffectLogicInfo.toObject = function(includeInstance, msg) { var f, obj = { effecttype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, rawdata: msg.getRawdata_asB64(), isloop: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffEffectLogicInfo} */ proto.BuffEffectLogicInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffEffectLogicInfo; return proto.BuffEffectLogicInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffEffectLogicInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffEffectLogicInfo} */ proto.BuffEffectLogicInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EBuffEffectLogicPbType} */ (reader.readEnum()); msg.setEffecttype(value); break; case 2: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setRawdata(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsloop(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffEffectLogicInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffEffectLogicInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffEffectLogicInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffEffectLogicInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EBuffEffectLogicPbType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBytes( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } }; /** * optional EBuffEffectLogicPbType EffectType = 1; * @return {!proto.EBuffEffectLogicPbType} */ proto.BuffEffectLogicInfo.prototype.getEffecttype = function() { return /** @type {!proto.EBuffEffectLogicPbType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EBuffEffectLogicPbType} value * @return {!proto.BuffEffectLogicInfo} returns this */ proto.BuffEffectLogicInfo.prototype.setEffecttype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffectLogicInfo} returns this */ proto.BuffEffectLogicInfo.prototype.clearEffecttype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffectLogicInfo.prototype.hasEffecttype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bytes RawData = 2; * @return {!(string|Uint8Array)} */ proto.BuffEffectLogicInfo.prototype.getRawdata = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * optional bytes RawData = 2; * This is a type-conversion wrapper around `getRawdata()` * @return {string} */ proto.BuffEffectLogicInfo.prototype.getRawdata_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getRawdata())); }; /** * optional bytes RawData = 2; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getRawdata()` * @return {!Uint8Array} */ proto.BuffEffectLogicInfo.prototype.getRawdata_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getRawdata())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.BuffEffectLogicInfo} returns this */ proto.BuffEffectLogicInfo.prototype.setRawdata = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffectLogicInfo} returns this */ proto.BuffEffectLogicInfo.prototype.clearRawdata = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffectLogicInfo.prototype.hasRawdata = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsLoop = 3; * @return {boolean} */ proto.BuffEffectLogicInfo.prototype.getIsloop = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.BuffEffectLogicInfo} returns this */ proto.BuffEffectLogicInfo.prototype.setIsloop = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffectLogicInfo} returns this */ proto.BuffEffectLogicInfo.prototype.clearIsloop = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffectLogicInfo.prototype.hasIsloop = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BuffEffectSync.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffEffectSync.prototype.toObject = function(opt_includeInstance) { return proto.BuffEffectSync.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffEffectSync} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffEffectSync.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, buffeffectsList: jspb.Message.toObjectList(msg.getBuffeffectsList(), proto.BuffEffect.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffEffectSync} */ proto.BuffEffectSync.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffEffectSync; return proto.BuffEffectSync.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffEffectSync} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffEffectSync} */ proto.BuffEffectSync.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = new proto.BuffEffect; reader.readMessage(value,proto.BuffEffect.deserializeBinaryFromReader); msg.addBuffeffects(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffEffectSync.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffEffectSync.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffEffectSync} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffEffectSync.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getBuffeffectsList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.BuffEffect.serializeBinaryToWriter ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.BuffEffectSync.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BuffEffectSync} returns this */ proto.BuffEffectSync.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffectSync} returns this */ proto.BuffEffectSync.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffectSync.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated BuffEffect BuffEffects = 2; * @return {!Array} */ proto.BuffEffectSync.prototype.getBuffeffectsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.BuffEffect, 2)); }; /** * @param {!Array} value * @return {!proto.BuffEffectSync} returns this */ proto.BuffEffectSync.prototype.setBuffeffectsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.BuffEffect=} opt_value * @param {number=} opt_index * @return {!proto.BuffEffect} */ proto.BuffEffectSync.prototype.addBuffeffects = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.BuffEffect, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffEffectSync} returns this */ proto.BuffEffectSync.prototype.clearBuffeffectsList = function() { return this.setBuffeffectsList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BuffEffect.repeatedFields_ = [5]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffEffect.prototype.toObject = function(opt_includeInstance) { return proto.BuffEffect.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffEffect} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffEffect.toObject = function(includeInstance, msg) { var f, obj = { type: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, buffuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, hostuuid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, triggertime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, logiceffectList: jspb.Message.toObjectList(msg.getLogiceffectList(), proto.BuffEffectLogicInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffEffect} */ proto.BuffEffect.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffEffect; return proto.BuffEffect.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffEffect} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffEffect} */ proto.BuffEffect.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EBuffEventType} */ (reader.readEnum()); msg.setType(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setBuffuuid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setHostuuid(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setTriggertime(value); break; case 5: var value = new proto.BuffEffectLogicInfo; reader.readMessage(value,proto.BuffEffectLogicInfo.deserializeBinaryFromReader); msg.addLogiceffect(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffEffect.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffEffect.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffEffect} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffEffect.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EBuffEventType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = message.getLogiceffectList(); if (f.length > 0) { writer.writeRepeatedMessage( 5, f, proto.BuffEffectLogicInfo.serializeBinaryToWriter ); } }; /** * optional EBuffEventType Type = 1; * @return {!proto.EBuffEventType} */ proto.BuffEffect.prototype.getType = function() { return /** @type {!proto.EBuffEventType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EBuffEventType} value * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.setType = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.clearType = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffect.prototype.hasType = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 BuffUuid = 2; * @return {number} */ proto.BuffEffect.prototype.getBuffuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.setBuffuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.clearBuffuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffect.prototype.hasBuffuuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 HostUuid = 3; * @return {number} */ proto.BuffEffect.prototype.getHostuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.setHostuuid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.clearHostuuid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffect.prototype.hasHostuuid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 TriggerTime = 4; * @return {number} */ proto.BuffEffect.prototype.getTriggertime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.setTriggertime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.clearTriggertime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffect.prototype.hasTriggertime = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated BuffEffectLogicInfo LogicEffect = 5; * @return {!Array} */ proto.BuffEffect.prototype.getLogiceffectList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.BuffEffectLogicInfo, 5)); }; /** * @param {!Array} value * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.setLogiceffectList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 5, value); }; /** * @param {!proto.BuffEffectLogicInfo=} opt_value * @param {number=} opt_index * @return {!proto.BuffEffectLogicInfo} */ proto.BuffEffect.prototype.addLogiceffect = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.BuffEffectLogicInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffEffect} returns this */ proto.BuffEffect.prototype.clearLogiceffectList = function() { return this.setLogiceffectList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FakeBulletInfo.prototype.toObject = function(opt_includeInstance) { return proto.FakeBulletInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FakeBulletInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FakeBulletInfo.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, bulletid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, targetid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, partid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, offset: (f = msg.getOffset()) && proto.Vector3.toObject(includeInstance, f), rotate: (f = msg.getRotate()) && proto.Vector3.toObject(includeInstance, f), skinid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FakeBulletInfo} */ proto.FakeBulletInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FakeBulletInfo; return proto.FakeBulletInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FakeBulletInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FakeBulletInfo} */ proto.FakeBulletInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setUuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setBulletid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetid(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setPartid(value); break; case 5: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setOffset(value); break; case 6: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setRotate(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setSkinid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FakeBulletInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FakeBulletInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FakeBulletInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FakeBulletInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = message.getOffset(); if (f != null) { writer.writeMessage( 5, f, proto.Vector3.serializeBinaryToWriter ); } f = message.getRotate(); if (f != null) { writer.writeMessage( 6, f, proto.Vector3.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } }; /** * optional int32 Uuid = 1; * @return {number} */ proto.FakeBulletInfo.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FakeBulletInfo.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 BulletId = 2; * @return {number} */ proto.FakeBulletInfo.prototype.getBulletid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.setBulletid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.clearBulletid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FakeBulletInfo.prototype.hasBulletid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 TargetId = 3; * @return {number} */ proto.FakeBulletInfo.prototype.getTargetid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.setTargetid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.clearTargetid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FakeBulletInfo.prototype.hasTargetid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 PartId = 4; * @return {number} */ proto.FakeBulletInfo.prototype.getPartid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.setPartid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.clearPartid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FakeBulletInfo.prototype.hasPartid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional Vector3 Offset = 5; * @return {?proto.Vector3} */ proto.FakeBulletInfo.prototype.getOffset = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 5)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.setOffset = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.clearOffset = function() { return this.setOffset(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FakeBulletInfo.prototype.hasOffset = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional Vector3 Rotate = 6; * @return {?proto.Vector3} */ proto.FakeBulletInfo.prototype.getRotate = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 6)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.setRotate = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.clearRotate = function() { return this.setRotate(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FakeBulletInfo.prototype.hasRotate = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 SkinId = 7; * @return {number} */ proto.FakeBulletInfo.prototype.getSkinid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.setSkinid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.FakeBulletInfo} returns this */ proto.FakeBulletInfo.prototype.clearSkinid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FakeBulletInfo.prototype.hasSkinid = function() { return jspb.Message.getField(this, 7) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MagneticRideQueueChangeInfo.prototype.toObject = function(opt_includeInstance) { return proto.MagneticRideQueueChangeInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MagneticRideQueueChangeInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MagneticRideQueueChangeInfo.toObject = function(includeInstance, msg) { var f, obj = { queueuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, passengerchangeinfo: (f = msg.getPassengerchangeinfo()) && proto.MagneticRidePassengerChangeInfo.toObject(includeInstance, f), pathpointchangeinfo: (f = msg.getPathpointchangeinfo()) && proto.MagneticRidePathPointChangeInfo.toObject(includeInstance, f), iscircle: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, isremove: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, pathlength: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MagneticRideQueueChangeInfo} */ proto.MagneticRideQueueChangeInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MagneticRideQueueChangeInfo; return proto.MagneticRideQueueChangeInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MagneticRideQueueChangeInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MagneticRideQueueChangeInfo} */ proto.MagneticRideQueueChangeInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setQueueuuid(value); break; case 2: var value = new proto.MagneticRidePassengerChangeInfo; reader.readMessage(value,proto.MagneticRidePassengerChangeInfo.deserializeBinaryFromReader); msg.setPassengerchangeinfo(value); break; case 3: var value = new proto.MagneticRidePathPointChangeInfo; reader.readMessage(value,proto.MagneticRidePathPointChangeInfo.deserializeBinaryFromReader); msg.setPathpointchangeinfo(value); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setIscircle(value); break; case 5: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsremove(value); break; case 6: var value = /** @type {number} */ (reader.readFloat()); msg.setPathlength(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MagneticRideQueueChangeInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MagneticRideQueueChangeInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MagneticRideQueueChangeInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MagneticRideQueueChangeInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getPassengerchangeinfo(); if (f != null) { writer.writeMessage( 2, f, proto.MagneticRidePassengerChangeInfo.serializeBinaryToWriter ); } f = message.getPathpointchangeinfo(); if (f != null) { writer.writeMessage( 3, f, proto.MagneticRidePathPointChangeInfo.serializeBinaryToWriter ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeBool( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeFloat( 6, f ); } }; /** * optional int64 QueueUuid = 1; * @return {number} */ proto.MagneticRideQueueChangeInfo.prototype.getQueueuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.setQueueuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.clearQueueuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MagneticRideQueueChangeInfo.prototype.hasQueueuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional MagneticRidePassengerChangeInfo PassengerChangeInfo = 2; * @return {?proto.MagneticRidePassengerChangeInfo} */ proto.MagneticRideQueueChangeInfo.prototype.getPassengerchangeinfo = function() { return /** @type{?proto.MagneticRidePassengerChangeInfo} */ ( jspb.Message.getWrapperField(this, proto.MagneticRidePassengerChangeInfo, 2)); }; /** * @param {?proto.MagneticRidePassengerChangeInfo|undefined} value * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.setPassengerchangeinfo = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.clearPassengerchangeinfo = function() { return this.setPassengerchangeinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MagneticRideQueueChangeInfo.prototype.hasPassengerchangeinfo = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional MagneticRidePathPointChangeInfo PathPointChangeInfo = 3; * @return {?proto.MagneticRidePathPointChangeInfo} */ proto.MagneticRideQueueChangeInfo.prototype.getPathpointchangeinfo = function() { return /** @type{?proto.MagneticRidePathPointChangeInfo} */ ( jspb.Message.getWrapperField(this, proto.MagneticRidePathPointChangeInfo, 3)); }; /** * @param {?proto.MagneticRidePathPointChangeInfo|undefined} value * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.setPathpointchangeinfo = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.clearPathpointchangeinfo = function() { return this.setPathpointchangeinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MagneticRideQueueChangeInfo.prototype.hasPathpointchangeinfo = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional bool IsCircle = 4; * @return {boolean} */ proto.MagneticRideQueueChangeInfo.prototype.getIscircle = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.setIscircle = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.clearIscircle = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MagneticRideQueueChangeInfo.prototype.hasIscircle = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional bool IsRemove = 5; * @return {boolean} */ proto.MagneticRideQueueChangeInfo.prototype.getIsremove = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); }; /** * @param {boolean} value * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.setIsremove = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.clearIsremove = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MagneticRideQueueChangeInfo.prototype.hasIsremove = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional float PathLength = 6; * @return {number} */ proto.MagneticRideQueueChangeInfo.prototype.getPathlength = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)); }; /** * @param {number} value * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.setPathlength = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.MagneticRideQueueChangeInfo} returns this */ proto.MagneticRideQueueChangeInfo.prototype.clearPathlength = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MagneticRideQueueChangeInfo.prototype.hasPathlength = function() { return jspb.Message.getField(this, 6) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.MagneticRidePassengerChangeInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MagneticRidePassengerChangeInfo.prototype.toObject = function(opt_includeInstance) { return proto.MagneticRidePassengerChangeInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MagneticRidePassengerChangeInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MagneticRidePassengerChangeInfo.toObject = function(includeInstance, msg) { var f, obj = { passengerchangelistList: jspb.Message.toObjectList(msg.getPassengerchangelistList(), proto.PassengerChangeParam.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MagneticRidePassengerChangeInfo} */ proto.MagneticRidePassengerChangeInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MagneticRidePassengerChangeInfo; return proto.MagneticRidePassengerChangeInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MagneticRidePassengerChangeInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MagneticRidePassengerChangeInfo} */ proto.MagneticRidePassengerChangeInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.PassengerChangeParam; reader.readMessage(value,proto.PassengerChangeParam.deserializeBinaryFromReader); msg.addPassengerchangelist(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MagneticRidePassengerChangeInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MagneticRidePassengerChangeInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MagneticRidePassengerChangeInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MagneticRidePassengerChangeInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPassengerchangelistList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.PassengerChangeParam.serializeBinaryToWriter ); } }; /** * repeated PassengerChangeParam PassengerChangeList = 1; * @return {!Array} */ proto.MagneticRidePassengerChangeInfo.prototype.getPassengerchangelistList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.PassengerChangeParam, 1)); }; /** * @param {!Array} value * @return {!proto.MagneticRidePassengerChangeInfo} returns this */ proto.MagneticRidePassengerChangeInfo.prototype.setPassengerchangelistList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.PassengerChangeParam=} opt_value * @param {number=} opt_index * @return {!proto.PassengerChangeParam} */ proto.MagneticRidePassengerChangeInfo.prototype.addPassengerchangelist = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.PassengerChangeParam, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.MagneticRidePassengerChangeInfo} returns this */ proto.MagneticRidePassengerChangeInfo.prototype.clearPassengerchangelistList = function() { return this.setPassengerchangelistList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PassengerChangeParam.prototype.toObject = function(opt_includeInstance) { return proto.PassengerChangeParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PassengerChangeParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PassengerChangeParam.toObject = function(includeInstance, msg) { var f, obj = { isaddpassenger: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, addorremoveuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PassengerChangeParam} */ proto.PassengerChangeParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PassengerChangeParam; return proto.PassengerChangeParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PassengerChangeParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PassengerChangeParam} */ proto.PassengerChangeParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsaddpassenger(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setAddorremoveuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PassengerChangeParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PassengerChangeParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PassengerChangeParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PassengerChangeParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional bool IsAddPassenger = 1; * @return {boolean} */ proto.PassengerChangeParam.prototype.getIsaddpassenger = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.PassengerChangeParam} returns this */ proto.PassengerChangeParam.prototype.setIsaddpassenger = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PassengerChangeParam} returns this */ proto.PassengerChangeParam.prototype.clearIsaddpassenger = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassengerChangeParam.prototype.hasIsaddpassenger = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 AddOrRemoveUuid = 2; * @return {number} */ proto.PassengerChangeParam.prototype.getAddorremoveuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PassengerChangeParam} returns this */ proto.PassengerChangeParam.prototype.setAddorremoveuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PassengerChangeParam} returns this */ proto.PassengerChangeParam.prototype.clearAddorremoveuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PassengerChangeParam.prototype.hasAddorremoveuuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.MagneticRidePathPointChangeInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MagneticRidePathPointChangeInfo.prototype.toObject = function(opt_includeInstance) { return proto.MagneticRidePathPointChangeInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MagneticRidePathPointChangeInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MagneticRidePathPointChangeInfo.toObject = function(includeInstance, msg) { var f, obj = { pathpointchangelistList: jspb.Message.toObjectList(msg.getPathpointchangelistList(), proto.PathPointChangeParam.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MagneticRidePathPointChangeInfo} */ proto.MagneticRidePathPointChangeInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MagneticRidePathPointChangeInfo; return proto.MagneticRidePathPointChangeInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MagneticRidePathPointChangeInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MagneticRidePathPointChangeInfo} */ proto.MagneticRidePathPointChangeInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.PathPointChangeParam; reader.readMessage(value,proto.PathPointChangeParam.deserializeBinaryFromReader); msg.addPathpointchangelist(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MagneticRidePathPointChangeInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MagneticRidePathPointChangeInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MagneticRidePathPointChangeInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MagneticRidePathPointChangeInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPathpointchangelistList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.PathPointChangeParam.serializeBinaryToWriter ); } }; /** * repeated PathPointChangeParam PathPointChangeList = 1; * @return {!Array} */ proto.MagneticRidePathPointChangeInfo.prototype.getPathpointchangelistList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.PathPointChangeParam, 1)); }; /** * @param {!Array} value * @return {!proto.MagneticRidePathPointChangeInfo} returns this */ proto.MagneticRidePathPointChangeInfo.prototype.setPathpointchangelistList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.PathPointChangeParam=} opt_value * @param {number=} opt_index * @return {!proto.PathPointChangeParam} */ proto.MagneticRidePathPointChangeInfo.prototype.addPathpointchangelist = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.PathPointChangeParam, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.MagneticRidePathPointChangeInfo} returns this */ proto.MagneticRidePathPointChangeInfo.prototype.clearPathpointchangelistList = function() { return this.setPathpointchangelistList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PathPointChangeParam.prototype.toObject = function(opt_includeInstance) { return proto.PathPointChangeParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PathPointChangeParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PathPointChangeParam.toObject = function(includeInstance, msg) { var f, obj = { operation: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, addpoint: (f = msg.getAddpoint()) && proto.Position.toObject(includeInstance, f), removepointcount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PathPointChangeParam} */ proto.PathPointChangeParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PathPointChangeParam; return proto.PathPointChangeParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PathPointChangeParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PathPointChangeParam} */ proto.PathPointChangeParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setOperation(value); break; case 2: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setAddpoint(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setRemovepointcount(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PathPointChangeParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PathPointChangeParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PathPointChangeParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PathPointChangeParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getAddpoint(); if (f != null) { writer.writeMessage( 2, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 Operation = 1; * @return {number} */ proto.PathPointChangeParam.prototype.getOperation = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PathPointChangeParam} returns this */ proto.PathPointChangeParam.prototype.setOperation = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PathPointChangeParam} returns this */ proto.PathPointChangeParam.prototype.clearOperation = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathPointChangeParam.prototype.hasOperation = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Position AddPoint = 2; * @return {?proto.Position} */ proto.PathPointChangeParam.prototype.getAddpoint = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 2)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.PathPointChangeParam} returns this */ proto.PathPointChangeParam.prototype.setAddpoint = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.PathPointChangeParam} returns this */ proto.PathPointChangeParam.prototype.clearAddpoint = function() { return this.setAddpoint(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathPointChangeParam.prototype.hasAddpoint = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 RemovePointCount = 3; * @return {number} */ proto.PathPointChangeParam.prototype.getRemovepointcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PathPointChangeParam} returns this */ proto.PathPointChangeParam.prototype.setRemovepointcount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PathPointChangeParam} returns this */ proto.PathPointChangeParam.prototype.clearRemovepointcount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathPointChangeParam.prototype.hasRemovepointcount = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Position.prototype.toObject = function(opt_includeInstance) { return proto.Position.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Position} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Position.toObject = function(includeInstance, msg) { var f, obj = { x: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, y: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, z: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, dir: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Position} */ proto.Position.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Position; return proto.Position.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Position} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Position} */ proto.Position.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readFloat()); msg.setX(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setY(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setZ(value); break; case 4: var value = /** @type {number} */ (reader.readFloat()); msg.setDir(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Position.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Position.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Position} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Position.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeFloat( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeFloat( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeFloat( 4, f ); } }; /** * optional float X = 1; * @return {number} */ proto.Position.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); }; /** * @param {number} value * @return {!proto.Position} returns this */ proto.Position.prototype.setX = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Position} returns this */ proto.Position.prototype.clearX = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Position.prototype.hasX = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional float Y = 2; * @return {number} */ proto.Position.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.Position} returns this */ proto.Position.prototype.setY = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Position} returns this */ proto.Position.prototype.clearY = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Position.prototype.hasY = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float Z = 3; * @return {number} */ proto.Position.prototype.getZ = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.Position} returns this */ proto.Position.prototype.setZ = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.Position} returns this */ proto.Position.prototype.clearZ = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Position.prototype.hasZ = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional float Dir = 4; * @return {number} */ proto.Position.prototype.getDir = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); }; /** * @param {number} value * @return {!proto.Position} returns this */ proto.Position.prototype.setDir = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.Position} returns this */ proto.Position.prototype.clearDir = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Position.prototype.hasDir = function() { return jspb.Message.getField(this, 4) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.AoiSyncToMeDelta.repeatedFields_ = [2,3,4]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AoiSyncToMeDelta.prototype.toObject = function(opt_includeInstance) { return proto.AoiSyncToMeDelta.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AoiSyncToMeDelta} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AoiSyncToMeDelta.toObject = function(includeInstance, msg) { var f, obj = { basedelta: (f = msg.getBasedelta()) && proto.AoiSyncDelta.toObject(includeInstance, f), synchateidsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, syncskillcdsList: jspb.Message.toObjectList(msg.getSyncskillcdsList(), proto.SkillCD.toObject, includeInstance), fightrescdsList: jspb.Message.toObjectList(msg.getFightrescdsList(), proto.FightResCD.toObject, includeInstance), uuid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AoiSyncToMeDelta} */ proto.AoiSyncToMeDelta.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AoiSyncToMeDelta; return proto.AoiSyncToMeDelta.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AoiSyncToMeDelta} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AoiSyncToMeDelta} */ proto.AoiSyncToMeDelta.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.AoiSyncDelta; reader.readMessage(value,proto.AoiSyncDelta.deserializeBinaryFromReader); msg.setBasedelta(value); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addSynchateids(values[i]); } break; case 3: var value = new proto.SkillCD; reader.readMessage(value,proto.SkillCD.deserializeBinaryFromReader); msg.addSyncskillcds(value); break; case 4: var value = new proto.FightResCD; reader.readMessage(value,proto.FightResCD.deserializeBinaryFromReader); msg.addFightrescds(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AoiSyncToMeDelta.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AoiSyncToMeDelta.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AoiSyncToMeDelta} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AoiSyncToMeDelta.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBasedelta(); if (f != null) { writer.writeMessage( 1, f, proto.AoiSyncDelta.serializeBinaryToWriter ); } f = message.getSynchateidsList(); if (f.length > 0) { writer.writePackedInt64( 2, f ); } f = message.getSyncskillcdsList(); if (f.length > 0) { writer.writeRepeatedMessage( 3, f, proto.SkillCD.serializeBinaryToWriter ); } f = message.getFightrescdsList(); if (f.length > 0) { writer.writeRepeatedMessage( 4, f, proto.FightResCD.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } }; /** * optional AoiSyncDelta BaseDelta = 1; * @return {?proto.AoiSyncDelta} */ proto.AoiSyncToMeDelta.prototype.getBasedelta = function() { return /** @type{?proto.AoiSyncDelta} */ ( jspb.Message.getWrapperField(this, proto.AoiSyncDelta, 1)); }; /** * @param {?proto.AoiSyncDelta|undefined} value * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.setBasedelta = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.clearBasedelta = function() { return this.setBasedelta(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncToMeDelta.prototype.hasBasedelta = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated int64 SyncHateIds = 2; * @return {!Array} */ proto.AoiSyncToMeDelta.prototype.getSynchateidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.setSynchateidsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.addSynchateids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.clearSynchateidsList = function() { return this.setSynchateidsList([]); }; /** * repeated SkillCD SyncSkillCDs = 3; * @return {!Array} */ proto.AoiSyncToMeDelta.prototype.getSyncskillcdsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.SkillCD, 3)); }; /** * @param {!Array} value * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.setSyncskillcdsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** * @param {!proto.SkillCD=} opt_value * @param {number=} opt_index * @return {!proto.SkillCD} */ proto.AoiSyncToMeDelta.prototype.addSyncskillcds = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.SkillCD, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.clearSyncskillcdsList = function() { return this.setSyncskillcdsList([]); }; /** * repeated FightResCD FightResCDs = 4; * @return {!Array} */ proto.AoiSyncToMeDelta.prototype.getFightrescdsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.FightResCD, 4)); }; /** * @param {!Array} value * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.setFightrescdsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 4, value); }; /** * @param {!proto.FightResCD=} opt_value * @param {number=} opt_index * @return {!proto.FightResCD} */ proto.AoiSyncToMeDelta.prototype.addFightrescds = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.FightResCD, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.clearFightrescdsList = function() { return this.setFightrescdsList([]); }; /** * optional int64 Uuid = 5; * @return {number} */ proto.AoiSyncToMeDelta.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.setUuid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.AoiSyncToMeDelta} returns this */ proto.AoiSyncToMeDelta.prototype.clearUuid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AoiSyncToMeDelta.prototype.hasUuid = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SkillCD.prototype.toObject = function(opt_includeInstance) { return proto.SkillCD.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SkillCD} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SkillCD.toObject = function(includeInstance, msg) { var f, obj = { skilllevelid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, begintime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, duration: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, skillcdtype: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, validcdtime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SkillCD} */ proto.SkillCD.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SkillCD; return proto.SkillCD.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SkillCD} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SkillCD} */ proto.SkillCD.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilllevelid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setDuration(value); break; case 4: var value = /** @type {!proto.ESkillCDType} */ (reader.readEnum()); msg.setSkillcdtype(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setValidcdtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SkillCD.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SkillCD.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SkillCD} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SkillCD.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {!proto.ESkillCDType} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeEnum( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int32 SkillLevelId = 1; * @return {number} */ proto.SkillCD.prototype.getSkilllevelid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.setSkilllevelid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.clearSkilllevelid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCD.prototype.hasSkilllevelid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 BeginTime = 2; * @return {number} */ proto.SkillCD.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.clearBegintime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCD.prototype.hasBegintime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Duration = 3; * @return {number} */ proto.SkillCD.prototype.getDuration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.setDuration = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.clearDuration = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCD.prototype.hasDuration = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional ESkillCDType SkillCDType = 4; * @return {!proto.ESkillCDType} */ proto.SkillCD.prototype.getSkillcdtype = function() { return /** @type {!proto.ESkillCDType} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {!proto.ESkillCDType} value * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.setSkillcdtype = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.clearSkillcdtype = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCD.prototype.hasSkillcdtype = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 ValidCDTime = 5; * @return {number} */ proto.SkillCD.prototype.getValidcdtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.setValidcdtime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCD} returns this */ proto.SkillCD.prototype.clearValidcdtime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCD.prototype.hasValidcdtime = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FightResCD.prototype.toObject = function(opt_includeInstance) { return proto.FightResCD.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FightResCD} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightResCD.toObject = function(includeInstance, msg) { var f, obj = { resid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, begintime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, duration: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, validcdtime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FightResCD} */ proto.FightResCD.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FightResCD; return proto.FightResCD.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FightResCD} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FightResCD} */ proto.FightResCD.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setResid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setDuration(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setValidcdtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FightResCD.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FightResCD.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FightResCD} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightResCD.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int32 ResId = 1; * @return {number} */ proto.FightResCD.prototype.getResid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FightResCD} returns this */ proto.FightResCD.prototype.setResid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FightResCD} returns this */ proto.FightResCD.prototype.clearResid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightResCD.prototype.hasResid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 BeginTime = 2; * @return {number} */ proto.FightResCD.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FightResCD} returns this */ proto.FightResCD.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FightResCD} returns this */ proto.FightResCD.prototype.clearBegintime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightResCD.prototype.hasBegintime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Duration = 3; * @return {number} */ proto.FightResCD.prototype.getDuration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FightResCD} returns this */ proto.FightResCD.prototype.setDuration = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FightResCD} returns this */ proto.FightResCD.prototype.clearDuration = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightResCD.prototype.hasDuration = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 ValidCDTime = 4; * @return {number} */ proto.FightResCD.prototype.getValidcdtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.FightResCD} returns this */ proto.FightResCD.prototype.setValidcdtime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.FightResCD} returns this */ proto.FightResCD.prototype.clearValidcdtime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightResCD.prototype.hasValidcdtime = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AvatarInfo.prototype.toObject = function(opt_includeInstance) { return proto.AvatarInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AvatarInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AvatarInfo.toObject = function(includeInstance, msg) { var f, obj = { avatarid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, profile: (f = msg.getProfile()) && proto.PictureInfo.toObject(includeInstance, f), halfbody: (f = msg.getHalfbody()) && proto.PictureInfo.toObject(includeInstance, f), businesscardstyleid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, avatarframeid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AvatarInfo} */ proto.AvatarInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AvatarInfo; return proto.AvatarInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AvatarInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AvatarInfo} */ proto.AvatarInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setAvatarid(value); break; case 2: var value = new proto.PictureInfo; reader.readMessage(value,proto.PictureInfo.deserializeBinaryFromReader); msg.setProfile(value); break; case 3: var value = new proto.PictureInfo; reader.readMessage(value,proto.PictureInfo.deserializeBinaryFromReader); msg.setHalfbody(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setBusinesscardstyleid(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setAvatarframeid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AvatarInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AvatarInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AvatarInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AvatarInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getProfile(); if (f != null) { writer.writeMessage( 2, f, proto.PictureInfo.serializeBinaryToWriter ); } f = message.getHalfbody(); if (f != null) { writer.writeMessage( 3, f, proto.PictureInfo.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int32 AvatarId = 1; * @return {number} */ proto.AvatarInfo.prototype.getAvatarid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.setAvatarid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.clearAvatarid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AvatarInfo.prototype.hasAvatarid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional PictureInfo Profile = 2; * @return {?proto.PictureInfo} */ proto.AvatarInfo.prototype.getProfile = function() { return /** @type{?proto.PictureInfo} */ ( jspb.Message.getWrapperField(this, proto.PictureInfo, 2)); }; /** * @param {?proto.PictureInfo|undefined} value * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.setProfile = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.clearProfile = function() { return this.setProfile(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AvatarInfo.prototype.hasProfile = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional PictureInfo HalfBody = 3; * @return {?proto.PictureInfo} */ proto.AvatarInfo.prototype.getHalfbody = function() { return /** @type{?proto.PictureInfo} */ ( jspb.Message.getWrapperField(this, proto.PictureInfo, 3)); }; /** * @param {?proto.PictureInfo|undefined} value * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.setHalfbody = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.clearHalfbody = function() { return this.setHalfbody(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AvatarInfo.prototype.hasHalfbody = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 BusinessCardStyleId = 4; * @return {number} */ proto.AvatarInfo.prototype.getBusinesscardstyleid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.setBusinesscardstyleid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.clearBusinesscardstyleid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AvatarInfo.prototype.hasBusinesscardstyleid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 AvatarFrameId = 5; * @return {number} */ proto.AvatarInfo.prototype.getAvatarframeid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.setAvatarframeid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.AvatarInfo} returns this */ proto.AvatarInfo.prototype.clearAvatarframeid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AvatarInfo.prototype.hasAvatarframeid = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PictureInfo.prototype.toObject = function(opt_includeInstance) { return proto.PictureInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PictureInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PictureInfo.toObject = function(includeInstance, msg) { var f, obj = { url: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, verify: (f = msg.getVerify()) && proto.PictureVerify.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PictureInfo} */ proto.PictureInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PictureInfo; return proto.PictureInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PictureInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PictureInfo} */ proto.PictureInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setUrl(value); break; case 2: var value = new proto.PictureVerify; reader.readMessage(value,proto.PictureVerify.deserializeBinaryFromReader); msg.setVerify(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PictureInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PictureInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PictureInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PictureInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = message.getVerify(); if (f != null) { writer.writeMessage( 2, f, proto.PictureVerify.serializeBinaryToWriter ); } }; /** * optional string Url = 1; * @return {string} */ proto.PictureInfo.prototype.getUrl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.PictureInfo} returns this */ proto.PictureInfo.prototype.setUrl = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PictureInfo} returns this */ proto.PictureInfo.prototype.clearUrl = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PictureInfo.prototype.hasUrl = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional PictureVerify Verify = 2; * @return {?proto.PictureVerify} */ proto.PictureInfo.prototype.getVerify = function() { return /** @type{?proto.PictureVerify} */ ( jspb.Message.getWrapperField(this, proto.PictureVerify, 2)); }; /** * @param {?proto.PictureVerify|undefined} value * @return {!proto.PictureInfo} returns this */ proto.PictureInfo.prototype.setVerify = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.PictureInfo} returns this */ proto.PictureInfo.prototype.clearVerify = function() { return this.setVerify(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PictureInfo.prototype.hasVerify = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PictureVerify.prototype.toObject = function(opt_includeInstance) { return proto.PictureVerify.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PictureVerify} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PictureVerify.toObject = function(includeInstance, msg) { var f, obj = { size: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, reviewstarttime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, version: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PictureVerify} */ proto.PictureVerify.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PictureVerify; return proto.PictureVerify.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PictureVerify} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PictureVerify} */ proto.PictureVerify.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setSize(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setReviewstarttime(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setVersion(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PictureVerify.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PictureVerify.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PictureVerify} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PictureVerify.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional uint32 Size = 1; * @return {number} */ proto.PictureVerify.prototype.getSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PictureVerify} returns this */ proto.PictureVerify.prototype.setSize = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PictureVerify} returns this */ proto.PictureVerify.prototype.clearSize = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PictureVerify.prototype.hasSize = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 ReviewStartTime = 2; * @return {number} */ proto.PictureVerify.prototype.getReviewstarttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PictureVerify} returns this */ proto.PictureVerify.prototype.setReviewstarttime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PictureVerify} returns this */ proto.PictureVerify.prototype.clearReviewstarttime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PictureVerify.prototype.hasReviewstarttime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 Version = 3; * @return {number} */ proto.PictureVerify.prototype.getVersion = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PictureVerify} returns this */ proto.PictureVerify.prototype.setVersion = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PictureVerify} returns this */ proto.PictureVerify.prototype.clearVersion = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PictureVerify.prototype.hasVersion = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BasicData.repeatedFields_ = [8]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BasicData.prototype.toObject = function(opt_includeInstance) { return proto.BasicData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BasicData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BasicData.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, showid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, name: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, gender: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, bodysize: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, sceneid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, personalstateList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f, offlinetime: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, sceneguid: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, createtime: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, curtalentpoolid: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f, botaiid: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f, registerchannel: (f = jspb.Message.getField(msg, 14)) == null ? undefined : f, charstate: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f, onlinetime: (f = jspb.Message.getField(msg, 16)) == null ? undefined : f, sumsavediamond: (f = jspb.Message.getField(msg, 17)) == null ? undefined : f, isnewbie: (f = jspb.Message.getBooleanField(msg, 18)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BasicData} */ proto.BasicData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BasicData; return proto.BasicData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BasicData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BasicData} */ proto.BasicData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setShowid(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setGender(value); break; case 5: var value = /** @type {!proto.EBodySize} */ (reader.readEnum()); msg.setBodysize(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneid(value); break; case 8: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addPersonalstate(values[i]); } break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setOfflinetime(value); break; case 10: var value = /** @type {string} */ (reader.readString()); msg.setSceneguid(value); break; case 11: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatetime(value); break; case 12: var value = /** @type {number} */ (reader.readUint32()); msg.setCurtalentpoolid(value); break; case 13: var value = /** @type {number} */ (reader.readUint32()); msg.setBotaiid(value); break; case 14: var value = /** @type {number} */ (reader.readInt32()); msg.setRegisterchannel(value); break; case 15: var value = /** @type {number} */ (reader.readUint64()); msg.setCharstate(value); break; case 16: var value = /** @type {number} */ (reader.readInt64()); msg.setOnlinetime(value); break; case 17: var value = /** @type {number} */ (reader.readInt64()); msg.setSumsavediamond(value); break; case 18: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsnewbie(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BasicData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BasicData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BasicData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BasicData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {!proto.EBodySize} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeEnum( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = message.getPersonalstateList(); if (f.length > 0) { writer.writePackedInt32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeString( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt64( 11, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 12)); if (f != null) { writer.writeUint32( 12, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeUint32( 13, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 14)); if (f != null) { writer.writeInt32( 14, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 15)); if (f != null) { writer.writeUint64( 15, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 16)); if (f != null) { writer.writeInt64( 16, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 17)); if (f != null) { writer.writeInt64( 17, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 18)); if (f != null) { writer.writeBool( 18, f ); } }; /** * optional int64 CharID = 1; * @return {number} */ proto.BasicData.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 ShowId = 2; * @return {number} */ proto.BasicData.prototype.getShowid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setShowid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearShowid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasShowid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string Name = 3; * @return {string} */ proto.BasicData.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setName = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearName = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasName = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 Gender = 4; * @return {number} */ proto.BasicData.prototype.getGender = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setGender = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearGender = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasGender = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional EBodySize BodySize = 5; * @return {!proto.EBodySize} */ proto.BasicData.prototype.getBodysize = function() { return /** @type {!proto.EBodySize} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {!proto.EBodySize} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setBodysize = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearBodysize = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasBodysize = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 Level = 6; * @return {number} */ proto.BasicData.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setLevel = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearLevel = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasLevel = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 SceneId = 7; * @return {number} */ proto.BasicData.prototype.getSceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setSceneid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearSceneid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasSceneid = function() { return jspb.Message.getField(this, 7) != null; }; /** * repeated int32 PersonalState = 8; * @return {!Array} */ proto.BasicData.prototype.getPersonalstateList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 8)); }; /** * @param {!Array} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setPersonalstateList = function(value) { return jspb.Message.setField(this, 8, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.addPersonalstate = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 8, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearPersonalstateList = function() { return this.setPersonalstateList([]); }; /** * optional int64 OfflineTime = 9; * @return {number} */ proto.BasicData.prototype.getOfflinetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setOfflinetime = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearOfflinetime = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasOfflinetime = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional string SceneGuid = 10; * @return {string} */ proto.BasicData.prototype.getSceneguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); }; /** * @param {string} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setSceneguid = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearSceneguid = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasSceneguid = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional int64 CreateTime = 11; * @return {number} */ proto.BasicData.prototype.getCreatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setCreatetime = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearCreatetime = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasCreatetime = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional uint32 CurTalentPoolId = 12; * @return {number} */ proto.BasicData.prototype.getCurtalentpoolid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setCurtalentpoolid = function(value) { return jspb.Message.setField(this, 12, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearCurtalentpoolid = function() { return jspb.Message.setField(this, 12, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasCurtalentpoolid = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional uint32 BotAiId = 13; * @return {number} */ proto.BasicData.prototype.getBotaiid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setBotaiid = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearBotaiid = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasBotaiid = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional int32 RegisterChannel = 14; * @return {number} */ proto.BasicData.prototype.getRegisterchannel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setRegisterchannel = function(value) { return jspb.Message.setField(this, 14, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearRegisterchannel = function() { return jspb.Message.setField(this, 14, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasRegisterchannel = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional uint64 CharState = 15; * @return {number} */ proto.BasicData.prototype.getCharstate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setCharstate = function(value) { return jspb.Message.setField(this, 15, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearCharstate = function() { return jspb.Message.setField(this, 15, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasCharstate = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional int64 OnlineTime = 16; * @return {number} */ proto.BasicData.prototype.getOnlinetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setOnlinetime = function(value) { return jspb.Message.setField(this, 16, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearOnlinetime = function() { return jspb.Message.setField(this, 16, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasOnlinetime = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional int64 SumSaveDiamond = 17; * @return {number} */ proto.BasicData.prototype.getSumsavediamond = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0)); }; /** * @param {number} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setSumsavediamond = function(value) { return jspb.Message.setField(this, 17, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearSumsavediamond = function() { return jspb.Message.setField(this, 17, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasSumsavediamond = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional bool IsNewbie = 18; * @return {boolean} */ proto.BasicData.prototype.getIsnewbie = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false)); }; /** * @param {boolean} value * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.setIsnewbie = function(value) { return jspb.Message.setField(this, 18, value); }; /** * Clears the field making it undefined. * @return {!proto.BasicData} returns this */ proto.BasicData.prototype.clearIsnewbie = function() { return jspb.Message.setField(this, 18, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BasicData.prototype.hasIsnewbie = function() { return jspb.Message.getField(this, 18) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BattlePass.prototype.toObject = function(opt_includeInstance) { return proto.BattlePass.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BattlePass} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BattlePass.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, curexp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, weekexp: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, explasttime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, isunlock: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f, buynormalpas: (f = jspb.Message.getBooleanField(msg, 7)) == null ? undefined : f, buyprimepass: (f = jspb.Message.getBooleanField(msg, 8)) == null ? undefined : f, awardMap: (f = msg.getAwardMap()) ? f.toObject(includeInstance, proto.BattlePassAwardInfo.toObject) : [], isvalid: (f = jspb.Message.getBooleanField(msg, 10)) == null ? undefined : f, issendedmail: (f = jspb.Message.getBooleanField(msg, 11)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BattlePass} */ proto.BattlePass.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BattlePass; return proto.BattlePass.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BattlePass} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BattlePass} */ proto.BattlePass.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setCurexp(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setWeekexp(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setExplasttime(value); break; case 6: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsunlock(value); break; case 7: var value = /** @type {boolean} */ (reader.readBool()); msg.setBuynormalpas(value); break; case 8: var value = /** @type {boolean} */ (reader.readBool()); msg.setBuyprimepass(value); break; case 9: var value = msg.getAwardMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.BattlePassAwardInfo.deserializeBinaryFromReader, 0, new proto.BattlePassAwardInfo()); }); break; case 10: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsvalid(value); break; case 11: var value = /** @type {boolean} */ (reader.readBool()); msg.setIssendedmail(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BattlePass.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BattlePass.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BattlePass} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BattlePass.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeBool( 6, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeBool( 7, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeBool( 8, f ); } f = message.getAwardMap(true); if (f && f.getLength() > 0) { f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.BattlePassAwardInfo.serializeBinaryToWriter); } f = /** @type {boolean} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeBool( 10, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeBool( 11, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.BattlePass.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Level = 2; * @return {number} */ proto.BattlePass.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setLevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearLevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasLevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Curexp = 3; * @return {number} */ proto.BattlePass.prototype.getCurexp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setCurexp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearCurexp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasCurexp = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 WeekExp = 4; * @return {number} */ proto.BattlePass.prototype.getWeekexp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setWeekexp = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearWeekexp = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasWeekexp = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 ExpLastTime = 5; * @return {number} */ proto.BattlePass.prototype.getExplasttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setExplasttime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearExplasttime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasExplasttime = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional bool IsUnlock = 6; * @return {boolean} */ proto.BattlePass.prototype.getIsunlock = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setIsunlock = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearIsunlock = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasIsunlock = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional bool BuyNormalPas = 7; * @return {boolean} */ proto.BattlePass.prototype.getBuynormalpas = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; /** * @param {boolean} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setBuynormalpas = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearBuynormalpas = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasBuynormalpas = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional bool BuyPrimePass = 8; * @return {boolean} */ proto.BattlePass.prototype.getBuyprimepass = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); }; /** * @param {boolean} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setBuyprimepass = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearBuyprimepass = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasBuyprimepass = function() { return jspb.Message.getField(this, 8) != null; }; /** * map Award = 9; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.BattlePass.prototype.getAwardMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 9, opt_noLazyCreate, proto.BattlePassAwardInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearAwardMap = function() { this.getAwardMap().clear(); return this; }; /** * optional bool IsValid = 10; * @return {boolean} */ proto.BattlePass.prototype.getIsvalid = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false)); }; /** * @param {boolean} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setIsvalid = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearIsvalid = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasIsvalid = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional bool IsSendedMail = 11; * @return {boolean} */ proto.BattlePass.prototype.getIssendedmail = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); }; /** * @param {boolean} value * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.setIssendedmail = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePass} returns this */ proto.BattlePass.prototype.clearIssendedmail = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePass.prototype.hasIssendedmail = function() { return jspb.Message.getField(this, 11) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BattlePassAwardInfo.prototype.toObject = function(opt_includeInstance) { return proto.BattlePassAwardInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BattlePassAwardInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BattlePassAwardInfo.toObject = function(includeInstance, msg) { var f, obj = { freeaward: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, paidaward: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BattlePassAwardInfo} */ proto.BattlePassAwardInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BattlePassAwardInfo; return proto.BattlePassAwardInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BattlePassAwardInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BattlePassAwardInfo} */ proto.BattlePassAwardInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setFreeaward(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setPaidaward(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BattlePassAwardInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BattlePassAwardInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BattlePassAwardInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BattlePassAwardInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * optional bool FreeAward = 1; * @return {boolean} */ proto.BattlePassAwardInfo.prototype.getFreeaward = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.BattlePassAwardInfo} returns this */ proto.BattlePassAwardInfo.prototype.setFreeaward = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePassAwardInfo} returns this */ proto.BattlePassAwardInfo.prototype.clearFreeaward = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePassAwardInfo.prototype.hasFreeaward = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool PaidAward = 2; * @return {boolean} */ proto.BattlePassAwardInfo.prototype.getPaidaward = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.BattlePassAwardInfo} returns this */ proto.BattlePassAwardInfo.prototype.setPaidaward = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BattlePassAwardInfo} returns this */ proto.BattlePassAwardInfo.prototype.clearPaidaward = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BattlePassAwardInfo.prototype.hasPaidaward = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BattlePassData.prototype.toObject = function(opt_includeInstance) { return proto.BattlePassData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BattlePassData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BattlePassData.toObject = function(includeInstance, msg) { var f, obj = { battlemapMap: (f = msg.getBattlemapMap()) ? f.toObject(includeInstance, proto.BattlePass.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BattlePassData} */ proto.BattlePassData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BattlePassData; return proto.BattlePassData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BattlePassData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BattlePassData} */ proto.BattlePassData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getBattlemapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.BattlePass.deserializeBinaryFromReader, 0, new proto.BattlePass()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BattlePassData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BattlePassData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BattlePassData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BattlePassData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBattlemapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.BattlePass.serializeBinaryToWriter); } }; /** * map BattleMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.BattlePassData.prototype.getBattlemapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.BattlePass)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.BattlePassData} returns this */ proto.BattlePassData.prototype.clearBattlemapMap = function() { this.getBattlemapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BossProgress.prototype.toObject = function(opt_includeInstance) { return proto.BossProgress.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BossProgress} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BossProgress.toObject = function(includeInstance, msg) { var f, obj = { totalawardcnt: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BossProgress} */ proto.BossProgress.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BossProgress; return proto.BossProgress.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BossProgress} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BossProgress} */ proto.BossProgress.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTotalawardcnt(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BossProgress.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BossProgress.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BossProgress} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BossProgress.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 TotalAwardCnt = 1; * @return {number} */ proto.BossProgress.prototype.getTotalawardcnt = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BossProgress} returns this */ proto.BossProgress.prototype.setTotalawardcnt = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BossProgress} returns this */ proto.BossProgress.prototype.clearTotalawardcnt = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BossProgress.prototype.hasTotalawardcnt = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotActiveTrigger.prototype.toObject = function(opt_includeInstance) { return proto.BotActiveTrigger.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotActiveTrigger} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotActiveTrigger.toObject = function(includeInstance, msg) { var f, obj = { triggerid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotActiveTrigger} */ proto.BotActiveTrigger.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotActiveTrigger; return proto.BotActiveTrigger.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotActiveTrigger} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotActiveTrigger} */ proto.BotActiveTrigger.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTriggerid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotActiveTrigger.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotActiveTrigger.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotActiveTrigger} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotActiveTrigger.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 TriggerId = 1; * @return {number} */ proto.BotActiveTrigger.prototype.getTriggerid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BotActiveTrigger} returns this */ proto.BotActiveTrigger.prototype.setTriggerid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BotActiveTrigger} returns this */ proto.BotActiveTrigger.prototype.clearTriggerid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotActiveTrigger.prototype.hasTriggerid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotAddBuff.prototype.toObject = function(opt_includeInstance) { return proto.BotAddBuff.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotAddBuff} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotAddBuff.toObject = function(includeInstance, msg) { var f, obj = { actorid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, buffid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, layer: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, duration: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotAddBuff} */ proto.BotAddBuff.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotAddBuff; return proto.BotAddBuff.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotAddBuff} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotAddBuff} */ proto.BotAddBuff.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setActorid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setBuffid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setLayer(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setDuration(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotAddBuff.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotAddBuff.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotAddBuff} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotAddBuff.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int64 ActorId = 1; * @return {number} */ proto.BotAddBuff.prototype.getActorid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BotAddBuff} returns this */ proto.BotAddBuff.prototype.setActorid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BotAddBuff} returns this */ proto.BotAddBuff.prototype.clearActorid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotAddBuff.prototype.hasActorid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 BuffId = 2; * @return {number} */ proto.BotAddBuff.prototype.getBuffid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BotAddBuff} returns this */ proto.BotAddBuff.prototype.setBuffid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BotAddBuff} returns this */ proto.BotAddBuff.prototype.clearBuffid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotAddBuff.prototype.hasBuffid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Layer = 3; * @return {number} */ proto.BotAddBuff.prototype.getLayer = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.BotAddBuff} returns this */ proto.BotAddBuff.prototype.setLayer = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BotAddBuff} returns this */ proto.BotAddBuff.prototype.clearLayer = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotAddBuff.prototype.hasLayer = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 Duration = 4; * @return {number} */ proto.BotAddBuff.prototype.getDuration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BotAddBuff} returns this */ proto.BotAddBuff.prototype.setDuration = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BotAddBuff} returns this */ proto.BotAddBuff.prototype.clearDuration = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotAddBuff.prototype.hasDuration = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotMoveInfo.prototype.toObject = function(opt_includeInstance) { return proto.BotMoveInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotMoveInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotMoveInfo.toObject = function(includeInstance, msg) { var f, obj = { destpos: (f = msg.getDestpos()) && proto.Vector3.toObject(includeInstance, f), movetype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, issetdir: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, curmoveflag: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotMoveInfo} */ proto.BotMoveInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotMoveInfo; return proto.BotMoveInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotMoveInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotMoveInfo} */ proto.BotMoveInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setDestpos(value); break; case 2: var value = /** @type {!proto.EMoveType} */ (reader.readEnum()); msg.setMovetype(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIssetdir(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setCurmoveflag(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotMoveInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotMoveInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotMoveInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotMoveInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDestpos(); if (f != null) { writer.writeMessage( 1, f, proto.Vector3.serializeBinaryToWriter ); } f = /** @type {!proto.EMoveType} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } }; /** * optional Vector3 DestPos = 1; * @return {?proto.Vector3} */ proto.BotMoveInfo.prototype.getDestpos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 1)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.BotMoveInfo} returns this */ proto.BotMoveInfo.prototype.setDestpos = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.BotMoveInfo} returns this */ proto.BotMoveInfo.prototype.clearDestpos = function() { return this.setDestpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotMoveInfo.prototype.hasDestpos = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EMoveType MoveType = 2; * @return {!proto.EMoveType} */ proto.BotMoveInfo.prototype.getMovetype = function() { return /** @type {!proto.EMoveType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EMoveType} value * @return {!proto.BotMoveInfo} returns this */ proto.BotMoveInfo.prototype.setMovetype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BotMoveInfo} returns this */ proto.BotMoveInfo.prototype.clearMovetype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotMoveInfo.prototype.hasMovetype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsSetDir = 3; * @return {boolean} */ proto.BotMoveInfo.prototype.getIssetdir = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.BotMoveInfo} returns this */ proto.BotMoveInfo.prototype.setIssetdir = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BotMoveInfo} returns this */ proto.BotMoveInfo.prototype.clearIssetdir = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotMoveInfo.prototype.hasIssetdir = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 CurMoveFlag = 4; * @return {number} */ proto.BotMoveInfo.prototype.getCurmoveflag = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BotMoveInfo} returns this */ proto.BotMoveInfo.prototype.setCurmoveflag = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BotMoveInfo} returns this */ proto.BotMoveInfo.prototype.clearCurmoveflag = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotMoveInfo.prototype.hasCurmoveflag = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotPlayActionParam.prototype.toObject = function(opt_includeInstance) { return proto.BotPlayActionParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotPlayActionParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotPlayActionParam.toObject = function(includeInstance, msg) { var f, obj = { actionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, actionsource: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotPlayActionParam} */ proto.BotPlayActionParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotPlayActionParam; return proto.BotPlayActionParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotPlayActionParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotPlayActionParam} */ proto.BotPlayActionParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setActionid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setActionsource(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotPlayActionParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotPlayActionParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotPlayActionParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotPlayActionParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 ActionId = 1; * @return {number} */ proto.BotPlayActionParam.prototype.getActionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BotPlayActionParam} returns this */ proto.BotPlayActionParam.prototype.setActionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BotPlayActionParam} returns this */ proto.BotPlayActionParam.prototype.clearActionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotPlayActionParam.prototype.hasActionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 ActionSource = 2; * @return {number} */ proto.BotPlayActionParam.prototype.getActionsource = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BotPlayActionParam} returns this */ proto.BotPlayActionParam.prototype.setActionsource = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BotPlayActionParam} returns this */ proto.BotPlayActionParam.prototype.clearActionsource = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotPlayActionParam.prototype.hasActionsource = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotRemoveBuff.prototype.toObject = function(opt_includeInstance) { return proto.BotRemoveBuff.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotRemoveBuff} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotRemoveBuff.toObject = function(includeInstance, msg) { var f, obj = { buffid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotRemoveBuff} */ proto.BotRemoveBuff.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotRemoveBuff; return proto.BotRemoveBuff.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotRemoveBuff} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotRemoveBuff} */ proto.BotRemoveBuff.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setBuffid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotRemoveBuff.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotRemoveBuff.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotRemoveBuff} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotRemoveBuff.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 BuffId = 1; * @return {number} */ proto.BotRemoveBuff.prototype.getBuffid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BotRemoveBuff} returns this */ proto.BotRemoveBuff.prototype.setBuffid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BotRemoveBuff} returns this */ proto.BotRemoveBuff.prototype.clearBuffid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotRemoveBuff.prototype.hasBuffid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotResurrectionParam.prototype.toObject = function(opt_includeInstance) { return proto.BotResurrectionParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotResurrectionParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotResurrectionParam.toObject = function(includeInstance, msg) { var f, obj = { targetid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, reviveid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotResurrectionParam} */ proto.BotResurrectionParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotResurrectionParam; return proto.BotResurrectionParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotResurrectionParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotResurrectionParam} */ proto.BotResurrectionParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setReviveid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotResurrectionParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotResurrectionParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotResurrectionParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotResurrectionParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int64 TargetId = 1; * @return {number} */ proto.BotResurrectionParam.prototype.getTargetid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BotResurrectionParam} returns this */ proto.BotResurrectionParam.prototype.setTargetid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BotResurrectionParam} returns this */ proto.BotResurrectionParam.prototype.clearTargetid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotResurrectionParam.prototype.hasTargetid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 ReviveId = 2; * @return {number} */ proto.BotResurrectionParam.prototype.getReviveid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BotResurrectionParam} returns this */ proto.BotResurrectionParam.prototype.setReviveid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BotResurrectionParam} returns this */ proto.BotResurrectionParam.prototype.clearReviveid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotResurrectionParam.prototype.hasReviveid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotSendChitChatMsgReq.prototype.toObject = function(opt_includeInstance) { return proto.BotSendChitChatMsgReq.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotSendChitChatMsgReq} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotSendChitChatMsgReq.toObject = function(includeInstance, msg) { var f, obj = { emojiid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotSendChitChatMsgReq} */ proto.BotSendChitChatMsgReq.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotSendChitChatMsgReq; return proto.BotSendChitChatMsgReq.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotSendChitChatMsgReq} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotSendChitChatMsgReq} */ proto.BotSendChitChatMsgReq.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setEmojiid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotSendChitChatMsgReq.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotSendChitChatMsgReq.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotSendChitChatMsgReq} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotSendChitChatMsgReq.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 EmojiId = 1; * @return {number} */ proto.BotSendChitChatMsgReq.prototype.getEmojiid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BotSendChitChatMsgReq} returns this */ proto.BotSendChitChatMsgReq.prototype.setEmojiid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BotSendChitChatMsgReq} returns this */ proto.BotSendChitChatMsgReq.prototype.clearEmojiid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotSendChitChatMsgReq.prototype.hasEmojiid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotStartRideParam.prototype.toObject = function(opt_includeInstance) { return proto.BotStartRideParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotStartRideParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotStartRideParam.toObject = function(includeInstance, msg) { var f, obj = { rideid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotStartRideParam} */ proto.BotStartRideParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotStartRideParam; return proto.BotStartRideParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotStartRideParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotStartRideParam} */ proto.BotStartRideParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setRideid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotStartRideParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotStartRideParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotStartRideParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotStartRideParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 RideId = 1; * @return {number} */ proto.BotStartRideParam.prototype.getRideid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BotStartRideParam} returns this */ proto.BotStartRideParam.prototype.setRideid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BotStartRideParam} returns this */ proto.BotStartRideParam.prototype.clearRideid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotStartRideParam.prototype.hasRideid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotTeleportParam.prototype.toObject = function(opt_includeInstance) { return proto.BotTeleportParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotTeleportParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotTeleportParam.toObject = function(includeInstance, msg) { var f, obj = { actorid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, pos: (f = msg.getPos()) && proto.Position.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotTeleportParam} */ proto.BotTeleportParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotTeleportParam; return proto.BotTeleportParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotTeleportParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotTeleportParam} */ proto.BotTeleportParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setActorid(value); break; case 2: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setPos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotTeleportParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotTeleportParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotTeleportParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotTeleportParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getPos(); if (f != null) { writer.writeMessage( 2, f, proto.Position.serializeBinaryToWriter ); } }; /** * optional int64 ActorId = 1; * @return {number} */ proto.BotTeleportParam.prototype.getActorid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BotTeleportParam} returns this */ proto.BotTeleportParam.prototype.setActorid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BotTeleportParam} returns this */ proto.BotTeleportParam.prototype.clearActorid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotTeleportParam.prototype.hasActorid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Position Pos = 2; * @return {?proto.Position} */ proto.BotTeleportParam.prototype.getPos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 2)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.BotTeleportParam} returns this */ proto.BotTeleportParam.prototype.setPos = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.BotTeleportParam} returns this */ proto.BotTeleportParam.prototype.clearPos = function() { return this.setPos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotTeleportParam.prototype.hasPos = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BotUseSkillInfo.prototype.toObject = function(opt_includeInstance) { return proto.BotUseSkillInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BotUseSkillInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotUseSkillInfo.toObject = function(includeInstance, msg) { var f, obj = { actorid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skillid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, begintime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, targetuuid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, targetpos: (f = msg.getTargetpos()) && proto.Vector3.toObject(includeInstance, f), dmgtargetpos: (f = msg.getDmgtargetpos()) && proto.Vector3.toObject(includeInstance, f), facetargetpos: (f = msg.getFacetargetpos()) && proto.Vector3.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BotUseSkillInfo} */ proto.BotUseSkillInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BotUseSkillInfo; return proto.BotUseSkillInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BotUseSkillInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BotUseSkillInfo} */ proto.BotUseSkillInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setActorid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; case 5: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setTargetpos(value); break; case 6: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setDmgtargetpos(value); break; case 7: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setFacetargetpos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BotUseSkillInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BotUseSkillInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BotUseSkillInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BotUseSkillInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = message.getTargetpos(); if (f != null) { writer.writeMessage( 5, f, proto.Vector3.serializeBinaryToWriter ); } f = message.getDmgtargetpos(); if (f != null) { writer.writeMessage( 6, f, proto.Vector3.serializeBinaryToWriter ); } f = message.getFacetargetpos(); if (f != null) { writer.writeMessage( 7, f, proto.Vector3.serializeBinaryToWriter ); } }; /** * optional int64 ActorId = 1; * @return {number} */ proto.BotUseSkillInfo.prototype.getActorid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.setActorid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.clearActorid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotUseSkillInfo.prototype.hasActorid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SkillId = 2; * @return {number} */ proto.BotUseSkillInfo.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.clearSkillid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotUseSkillInfo.prototype.hasSkillid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 BeginTime = 3; * @return {number} */ proto.BotUseSkillInfo.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.clearBegintime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotUseSkillInfo.prototype.hasBegintime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 TargetUuid = 4; * @return {number} */ proto.BotUseSkillInfo.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotUseSkillInfo.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional Vector3 TargetPos = 5; * @return {?proto.Vector3} */ proto.BotUseSkillInfo.prototype.getTargetpos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 5)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.setTargetpos = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.clearTargetpos = function() { return this.setTargetpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotUseSkillInfo.prototype.hasTargetpos = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional Vector3 DmgTargetPos = 6; * @return {?proto.Vector3} */ proto.BotUseSkillInfo.prototype.getDmgtargetpos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 6)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.setDmgtargetpos = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.clearDmgtargetpos = function() { return this.setDmgtargetpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotUseSkillInfo.prototype.hasDmgtargetpos = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional Vector3 FaceTargetPos = 7; * @return {?proto.Vector3} */ proto.BotUseSkillInfo.prototype.getFacetargetpos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 7)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.setFacetargetpos = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.BotUseSkillInfo} returns this */ proto.BotUseSkillInfo.prototype.clearFacetargetpos = function() { return this.setFacetargetpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BotUseSkillInfo.prototype.hasFacetargetpos = function() { return jspb.Message.getField(this, 7) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BubbleActData.prototype.toObject = function(opt_includeInstance) { return proto.BubbleActData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BubbleActData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BubbleActData.toObject = function(includeInstance, msg) { var f, obj = { bubbleinfoMap: (f = msg.getBubbleinfoMap()) ? f.toObject(includeInstance, proto.BubbleInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BubbleActData} */ proto.BubbleActData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BubbleActData; return proto.BubbleActData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BubbleActData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BubbleActData} */ proto.BubbleActData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getBubbleinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.BubbleInfo.deserializeBinaryFromReader, 0, new proto.BubbleInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BubbleActData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BubbleActData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BubbleActData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BubbleActData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBubbleinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.BubbleInfo.serializeBinaryToWriter); } }; /** * map BubbleInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.BubbleActData.prototype.getBubbleinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.BubbleInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.BubbleActData} returns this */ proto.BubbleActData.prototype.clearBubbleinfoMap = function() { this.getBubbleinfoMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BubbleInfo.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BubbleInfo.prototype.toObject = function(opt_includeInstance) { return proto.BubbleInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BubbleInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BubbleInfo.toObject = function(includeInstance, msg) { var f, obj = { bubblescore: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, bubbleawardcount: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, additionaltargetuuidlistList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, lastrefreshtime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BubbleInfo} */ proto.BubbleInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BubbleInfo; return proto.BubbleInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BubbleInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BubbleInfo} */ proto.BubbleInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setBubblescore(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setBubbleawardcount(value); break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint64() : [reader.readUint64()]); for (var i = 0; i < values.length; i++) { msg.addAdditionaltargetuuidlist(values[i]); } break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setLastrefreshtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BubbleInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BubbleInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BubbleInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BubbleInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = message.getAdditionaltargetuuidlistList(); if (f.length > 0) { writer.writePackedUint64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } }; /** * optional uint32 BubbleScore = 1; * @return {number} */ proto.BubbleInfo.prototype.getBubblescore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BubbleInfo} returns this */ proto.BubbleInfo.prototype.setBubblescore = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BubbleInfo} returns this */ proto.BubbleInfo.prototype.clearBubblescore = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BubbleInfo.prototype.hasBubblescore = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 BubbleAwardCount = 2; * @return {number} */ proto.BubbleInfo.prototype.getBubbleawardcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BubbleInfo} returns this */ proto.BubbleInfo.prototype.setBubbleawardcount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BubbleInfo} returns this */ proto.BubbleInfo.prototype.clearBubbleawardcount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BubbleInfo.prototype.hasBubbleawardcount = function() { return jspb.Message.getField(this, 2) != null; }; /** * repeated uint64 AdditionalTargetUuidList = 3; * @return {!Array} */ proto.BubbleInfo.prototype.getAdditionaltargetuuidlistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.BubbleInfo} returns this */ proto.BubbleInfo.prototype.setAdditionaltargetuuidlistList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.BubbleInfo} returns this */ proto.BubbleInfo.prototype.addAdditionaltargetuuidlist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BubbleInfo} returns this */ proto.BubbleInfo.prototype.clearAdditionaltargetuuidlistList = function() { return this.setAdditionaltargetuuidlistList([]); }; /** * optional int64 LastRefreshTime = 4; * @return {number} */ proto.BubbleInfo.prototype.getLastrefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BubbleInfo} returns this */ proto.BubbleInfo.prototype.setLastrefreshtime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BubbleInfo} returns this */ proto.BubbleInfo.prototype.clearLastrefreshtime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BubbleInfo.prototype.hasLastrefreshtime = function() { return jspb.Message.getField(this, 4) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BuffAttrEffect.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffAttrEffect.prototype.toObject = function(opt_includeInstance) { return proto.BuffAttrEffect.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffAttrEffect} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffAttrEffect.toObject = function(includeInstance, msg) { var f, obj = { attrshowinfoList: jspb.Message.toObjectList(msg.getAttrshowinfoList(), proto.BuffAttrShowInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffAttrEffect} */ proto.BuffAttrEffect.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffAttrEffect; return proto.BuffAttrEffect.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffAttrEffect} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffAttrEffect} */ proto.BuffAttrEffect.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BuffAttrShowInfo; reader.readMessage(value,proto.BuffAttrShowInfo.deserializeBinaryFromReader); msg.addAttrshowinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffAttrEffect.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffAttrEffect.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffAttrEffect} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffAttrEffect.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAttrshowinfoList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.BuffAttrShowInfo.serializeBinaryToWriter ); } }; /** * repeated BuffAttrShowInfo AttrShowInfo = 1; * @return {!Array} */ proto.BuffAttrEffect.prototype.getAttrshowinfoList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.BuffAttrShowInfo, 1)); }; /** * @param {!Array} value * @return {!proto.BuffAttrEffect} returns this */ proto.BuffAttrEffect.prototype.setAttrshowinfoList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.BuffAttrShowInfo=} opt_value * @param {number=} opt_index * @return {!proto.BuffAttrShowInfo} */ proto.BuffAttrEffect.prototype.addAttrshowinfo = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BuffAttrShowInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffAttrEffect} returns this */ proto.BuffAttrEffect.prototype.clearAttrshowinfoList = function() { return this.setAttrshowinfoList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffAttrShowInfo.prototype.toObject = function(opt_includeInstance) { return proto.BuffAttrShowInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffAttrShowInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffAttrShowInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, isgain: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffAttrShowInfo} */ proto.BuffAttrShowInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffAttrShowInfo; return proto.BuffAttrShowInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffAttrShowInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffAttrShowInfo} */ proto.BuffAttrShowInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsgain(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffAttrShowInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffAttrShowInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffAttrShowInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffAttrShowInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.BuffAttrShowInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BuffAttrShowInfo} returns this */ proto.BuffAttrShowInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffAttrShowInfo} returns this */ proto.BuffAttrShowInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffAttrShowInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsGain = 2; * @return {boolean} */ proto.BuffAttrShowInfo.prototype.getIsgain = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.BuffAttrShowInfo} returns this */ proto.BuffAttrShowInfo.prototype.setIsgain = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffAttrShowInfo} returns this */ proto.BuffAttrShowInfo.prototype.clearIsgain = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffAttrShowInfo.prototype.hasIsgain = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BuffDBData.repeatedFields_ = [12,13]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffDBData.prototype.toObject = function(opt_includeInstance) { return proto.BuffDBData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffDBData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffDBData.toObject = function(includeInstance, msg) { var f, obj = { buffuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, firerid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, buffconfigid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, baseid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, layer: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, duration: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, count: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, createtime: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, partid: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, createsceneid: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, customparamskeyList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, customparamsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffDBData} */ proto.BuffDBData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffDBData; return proto.BuffDBData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffDBData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffDBData} */ proto.BuffDBData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setBuffuuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setFirerid(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setBuffconfigid(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setBaseid(value); break; case 5: var value = /** @type {number} */ (reader.readUint32()); msg.setLevel(value); break; case 6: var value = /** @type {number} */ (reader.readUint32()); msg.setLayer(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setDuration(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setCount(value); break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatetime(value); break; case 10: var value = /** @type {number} */ (reader.readInt32()); msg.setPartid(value); break; case 11: var value = /** @type {number} */ (reader.readInt32()); msg.setCreatesceneid(value); break; case 12: var value = /** @type {string} */ (reader.readString()); msg.addCustomparamskey(value); break; case 13: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addCustomparams(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffDBData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffDBData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffDBData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffDBData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeUint32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeUint32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeInt32( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt32( 11, f ); } f = message.getCustomparamskeyList(); if (f.length > 0) { writer.writeRepeatedString( 12, f ); } f = message.getCustomparamsList(); if (f.length > 0) { writer.writePackedInt32( 13, f ); } }; /** * optional int64 BuffUuid = 1; * @return {number} */ proto.BuffDBData.prototype.getBuffuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setBuffuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearBuffuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasBuffuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 FirerId = 2; * @return {number} */ proto.BuffDBData.prototype.getFirerid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setFirerid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearFirerid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasFirerid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 BuffConfigId = 3; * @return {number} */ proto.BuffDBData.prototype.getBuffconfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setBuffconfigid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearBuffconfigid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasBuffconfigid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 BaseId = 4; * @return {number} */ proto.BuffDBData.prototype.getBaseid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setBaseid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearBaseid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasBaseid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional uint32 Level = 5; * @return {number} */ proto.BuffDBData.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setLevel = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearLevel = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasLevel = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional uint32 Layer = 6; * @return {number} */ proto.BuffDBData.prototype.getLayer = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setLayer = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearLayer = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasLayer = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 Duration = 7; * @return {number} */ proto.BuffDBData.prototype.getDuration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setDuration = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearDuration = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasDuration = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 Count = 8; * @return {number} */ proto.BuffDBData.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setCount = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearCount = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasCount = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int64 CreateTime = 9; * @return {number} */ proto.BuffDBData.prototype.getCreatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setCreatetime = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearCreatetime = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasCreatetime = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional int32 PartId = 10; * @return {number} */ proto.BuffDBData.prototype.getPartid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setPartid = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearPartid = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasPartid = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional int32 CreateSceneId = 11; * @return {number} */ proto.BuffDBData.prototype.getCreatesceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setCreatesceneid = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearCreatesceneid = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBData.prototype.hasCreatesceneid = function() { return jspb.Message.getField(this, 11) != null; }; /** * repeated string CustomParamsKey = 12; * @return {!Array} */ proto.BuffDBData.prototype.getCustomparamskeyList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 12)); }; /** * @param {!Array} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setCustomparamskeyList = function(value) { return jspb.Message.setField(this, 12, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.addCustomparamskey = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 12, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearCustomparamskeyList = function() { return this.setCustomparamskeyList([]); }; /** * repeated int32 CustomParams = 13; * @return {!Array} */ proto.BuffDBData.prototype.getCustomparamsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 13)); }; /** * @param {!Array} value * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.setCustomparamsList = function(value) { return jspb.Message.setField(this, 13, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.addCustomparams = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 13, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffDBData} returns this */ proto.BuffDBData.prototype.clearCustomparamsList = function() { return this.setCustomparamsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffDBInfo.prototype.toObject = function(opt_includeInstance) { return proto.BuffDBInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffDBInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffDBInfo.toObject = function(includeInstance, msg) { var f, obj = { maxid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, allbuffdbdataMap: (f = msg.getAllbuffdbdataMap()) ? f.toObject(includeInstance, proto.BuffDBData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffDBInfo} */ proto.BuffDBInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffDBInfo; return proto.BuffDBInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffDBInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffDBInfo} */ proto.BuffDBInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setMaxid(value); break; case 2: var value = msg.getAllbuffdbdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.BuffDBData.deserializeBinaryFromReader, 0, new proto.BuffDBData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffDBInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffDBInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffDBInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffDBInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getAllbuffdbdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.BuffDBData.serializeBinaryToWriter); } }; /** * optional uint32 MaxID = 1; * @return {number} */ proto.BuffDBInfo.prototype.getMaxid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BuffDBInfo} returns this */ proto.BuffDBInfo.prototype.setMaxid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffDBInfo} returns this */ proto.BuffDBInfo.prototype.clearMaxid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffDBInfo.prototype.hasMaxid = function() { return jspb.Message.getField(this, 1) != null; }; /** * map AllBuffDbData = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.BuffDBInfo.prototype.getAllbuffdbdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.BuffDBData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.BuffDBInfo} returns this */ proto.BuffDBInfo.prototype.clearAllbuffdbdataMap = function() { this.getAllbuffdbdataMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BuffEffectLogicTension.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffEffectLogicTension.prototype.toObject = function(opt_includeInstance) { return proto.BuffEffectLogicTension.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffEffectLogicTension} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffEffectLogicTension.toObject = function(includeInstance, msg) { var f, obj = { targetuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, strengthList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, strengthlength: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, maxlength: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffEffectLogicTension} */ proto.BuffEffectLogicTension.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffEffectLogicTension; return proto.BuffEffectLogicTension.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffEffectLogicTension} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffEffectLogicTension} */ proto.BuffEffectLogicTension.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addStrength(values[i]); } break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setStrengthlength(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setMaxlength(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffEffectLogicTension.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffEffectLogicTension.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffEffectLogicTension} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffEffectLogicTension.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getStrengthList(); if (f.length > 0) { writer.writePackedInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int64 TargetUuid = 1; * @return {number} */ proto.BuffEffectLogicTension.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BuffEffectLogicTension} returns this */ proto.BuffEffectLogicTension.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffectLogicTension} returns this */ proto.BuffEffectLogicTension.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffectLogicTension.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated int32 Strength = 2; * @return {!Array} */ proto.BuffEffectLogicTension.prototype.getStrengthList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.BuffEffectLogicTension} returns this */ proto.BuffEffectLogicTension.prototype.setStrengthList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.BuffEffectLogicTension} returns this */ proto.BuffEffectLogicTension.prototype.addStrength = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffEffectLogicTension} returns this */ proto.BuffEffectLogicTension.prototype.clearStrengthList = function() { return this.setStrengthList([]); }; /** * optional int32 StrengthLength = 3; * @return {number} */ proto.BuffEffectLogicTension.prototype.getStrengthlength = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.BuffEffectLogicTension} returns this */ proto.BuffEffectLogicTension.prototype.setStrengthlength = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffectLogicTension} returns this */ proto.BuffEffectLogicTension.prototype.clearStrengthlength = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffectLogicTension.prototype.hasStrengthlength = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 MaxLength = 4; * @return {number} */ proto.BuffEffectLogicTension.prototype.getMaxlength = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.BuffEffectLogicTension} returns this */ proto.BuffEffectLogicTension.prototype.setMaxlength = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffEffectLogicTension} returns this */ proto.BuffEffectLogicTension.prototype.clearMaxlength = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffEffectLogicTension.prototype.hasMaxlength = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BufferStream.prototype.toObject = function(opt_includeInstance) { return proto.BufferStream.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BufferStream} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BufferStream.toObject = function(includeInstance, msg) { var f, obj = { buffer: msg.getBuffer_asB64() }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BufferStream} */ proto.BufferStream.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BufferStream; return proto.BufferStream.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BufferStream} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BufferStream} */ proto.BufferStream.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setBuffer(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BufferStream.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BufferStream.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BufferStream} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BufferStream.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBytes( 1, f ); } }; /** * optional bytes Buffer = 1; * @return {!(string|Uint8Array)} */ proto.BufferStream.prototype.getBuffer = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * optional bytes Buffer = 1; * This is a type-conversion wrapper around `getBuffer()` * @return {string} */ proto.BufferStream.prototype.getBuffer_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getBuffer())); }; /** * optional bytes Buffer = 1; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getBuffer()` * @return {!Uint8Array} */ proto.BufferStream.prototype.getBuffer_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getBuffer())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.BufferStream} returns this */ proto.BufferStream.prototype.setBuffer = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BufferStream} returns this */ proto.BufferStream.prototype.clearBuffer = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BufferStream.prototype.hasBuffer = function() { return jspb.Message.getField(this, 1) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.BuffProfessionEffectData.repeatedFields_ = [2,3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BuffProfessionEffectData.prototype.toObject = function(opt_includeInstance) { return proto.BuffProfessionEffectData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BuffProfessionEffectData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffProfessionEffectData.toObject = function(includeInstance, msg) { var f, obj = { professiontype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, professionpointList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, professionswitchList: (f = jspb.Message.getRepeatedBooleanField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BuffProfessionEffectData} */ proto.BuffProfessionEffectData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BuffProfessionEffectData; return proto.BuffProfessionEffectData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BuffProfessionEffectData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BuffProfessionEffectData} */ proto.BuffProfessionEffectData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setProfessiontype(value); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addProfessionpoint(values[i]); } break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]); for (var i = 0; i < values.length; i++) { msg.addProfessionswitch(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BuffProfessionEffectData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BuffProfessionEffectData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BuffProfessionEffectData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BuffProfessionEffectData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getProfessionpointList(); if (f.length > 0) { writer.writePackedInt32( 2, f ); } f = message.getProfessionswitchList(); if (f.length > 0) { writer.writePackedBool( 3, f ); } }; /** * optional int32 ProfessionType = 1; * @return {number} */ proto.BuffProfessionEffectData.prototype.getProfessiontype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BuffProfessionEffectData} returns this */ proto.BuffProfessionEffectData.prototype.setProfessiontype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BuffProfessionEffectData} returns this */ proto.BuffProfessionEffectData.prototype.clearProfessiontype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BuffProfessionEffectData.prototype.hasProfessiontype = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated int32 ProfessionPoint = 2; * @return {!Array} */ proto.BuffProfessionEffectData.prototype.getProfessionpointList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.BuffProfessionEffectData} returns this */ proto.BuffProfessionEffectData.prototype.setProfessionpointList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.BuffProfessionEffectData} returns this */ proto.BuffProfessionEffectData.prototype.addProfessionpoint = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffProfessionEffectData} returns this */ proto.BuffProfessionEffectData.prototype.clearProfessionpointList = function() { return this.setProfessionpointList([]); }; /** * repeated bool ProfessionSwitch = 3; * @return {!Array} */ proto.BuffProfessionEffectData.prototype.getProfessionswitchList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedBooleanField(this, 3)); }; /** * @param {!Array} value * @return {!proto.BuffProfessionEffectData} returns this */ proto.BuffProfessionEffectData.prototype.setProfessionswitchList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {boolean} value * @param {number=} opt_index * @return {!proto.BuffProfessionEffectData} returns this */ proto.BuffProfessionEffectData.prototype.addProfessionswitch = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.BuffProfessionEffectData} returns this */ proto.BuffProfessionEffectData.prototype.clearProfessionswitchList = function() { return this.setProfessionswitchList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.cameraSchemeCache.prototype.toObject = function(opt_includeInstance) { return proto.cameraSchemeCache.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.cameraSchemeCache} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cameraSchemeCache.toObject = function(includeInstance, msg) { var f, obj = { cameraschemedictMap: (f = msg.getCameraschemedictMap()) ? f.toObject(includeInstance, proto.cameraSchemeInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.cameraSchemeCache} */ proto.cameraSchemeCache.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cameraSchemeCache; return proto.cameraSchemeCache.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cameraSchemeCache} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cameraSchemeCache} */ proto.cameraSchemeCache.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getCameraschemedictMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.cameraSchemeInfo.deserializeBinaryFromReader, "", new proto.cameraSchemeInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cameraSchemeCache.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.cameraSchemeCache.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cameraSchemeCache} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cameraSchemeCache.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCameraschemedictMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.cameraSchemeInfo.serializeBinaryToWriter); } }; /** * map CameraSchemeDict = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.cameraSchemeCache.prototype.getCameraschemedictMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.cameraSchemeInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.cameraSchemeCache} returns this */ proto.cameraSchemeCache.prototype.clearCameraschemedictMap = function() { this.getCameraschemedictMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.cameraSchemeInfo.prototype.toObject = function(opt_includeInstance) { return proto.cameraSchemeInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.cameraSchemeInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cameraSchemeInfo.toObject = function(includeInstance, msg) { var f, obj = { camerapatterntype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, cameraschemetype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, schemekey: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, schemename: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, schemetime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, exposure: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f, contrast: (f = jspb.Message.getOptionalFloatingPointField(msg, 7)) == null ? undefined : f, saturation: (f = jspb.Message.getOptionalFloatingPointField(msg, 8)) == null ? undefined : f, horizontal: (f = jspb.Message.getOptionalFloatingPointField(msg, 9)) == null ? undefined : f, vertical: (f = jspb.Message.getOptionalFloatingPointField(msg, 10)) == null ? undefined : f, angle: (f = jspb.Message.getOptionalFloatingPointField(msg, 11)) == null ? undefined : f, depthtag: (f = jspb.Message.getBooleanField(msg, 12)) == null ? undefined : f, aperture: (f = jspb.Message.getOptionalFloatingPointField(msg, 13)) == null ? undefined : f, nearblend: (f = jspb.Message.getOptionalFloatingPointField(msg, 14)) == null ? undefined : f, farblend: (f = jspb.Message.getOptionalFloatingPointField(msg, 15)) == null ? undefined : f, focustag: (f = jspb.Message.getBooleanField(msg, 16)) == null ? undefined : f, focus: (f = jspb.Message.getOptionalFloatingPointField(msg, 17)) == null ? undefined : f, worldtime: (f = jspb.Message.getOptionalFloatingPointField(msg, 18)) == null ? undefined : f, isheadfollow: (f = jspb.Message.getBooleanField(msg, 19)) == null ? undefined : f, iseyefollow: (f = jspb.Message.getBooleanField(msg, 20)) == null ? undefined : f, showentitydictsMap: (f = msg.getShowentitydictsMap()) ? f.toObject(includeInstance, undefined) : [], showuidictsMap: (f = msg.getShowuidictsMap()) ? f.toObject(includeInstance, undefined) : [], filterpath: (f = jspb.Message.getField(msg, 23)) == null ? undefined : f, id: (f = jspb.Message.getField(msg, 24)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.cameraSchemeInfo} */ proto.cameraSchemeInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cameraSchemeInfo; return proto.cameraSchemeInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cameraSchemeInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cameraSchemeInfo} */ proto.cameraSchemeInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.CameraPatternType} */ (reader.readEnum()); msg.setCamerapatterntype(value); break; case 2: var value = /** @type {!proto.CameraSchemeType} */ (reader.readEnum()); msg.setCameraschemetype(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setSchemekey(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setSchemename(value); break; case 5: var value = /** @type {number} */ (reader.readUint64()); msg.setSchemetime(value); break; case 6: var value = /** @type {number} */ (reader.readFloat()); msg.setExposure(value); break; case 7: var value = /** @type {number} */ (reader.readFloat()); msg.setContrast(value); break; case 8: var value = /** @type {number} */ (reader.readFloat()); msg.setSaturation(value); break; case 9: var value = /** @type {number} */ (reader.readFloat()); msg.setHorizontal(value); break; case 10: var value = /** @type {number} */ (reader.readFloat()); msg.setVertical(value); break; case 11: var value = /** @type {number} */ (reader.readFloat()); msg.setAngle(value); break; case 12: var value = /** @type {boolean} */ (reader.readBool()); msg.setDepthtag(value); break; case 13: var value = /** @type {number} */ (reader.readFloat()); msg.setAperture(value); break; case 14: var value = /** @type {number} */ (reader.readFloat()); msg.setNearblend(value); break; case 15: var value = /** @type {number} */ (reader.readFloat()); msg.setFarblend(value); break; case 16: var value = /** @type {boolean} */ (reader.readBool()); msg.setFocustag(value); break; case 17: var value = /** @type {number} */ (reader.readFloat()); msg.setFocus(value); break; case 18: var value = /** @type {number} */ (reader.readFloat()); msg.setWorldtime(value); break; case 19: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsheadfollow(value); break; case 20: var value = /** @type {boolean} */ (reader.readBool()); msg.setIseyefollow(value); break; case 21: var value = msg.getShowentitydictsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint64, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 22: var value = msg.getShowuidictsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint64, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 23: var value = /** @type {string} */ (reader.readString()); msg.setFilterpath(value); break; case 24: var value = /** @type {number} */ (reader.readUint64()); msg.setId(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cameraSchemeInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.cameraSchemeInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cameraSchemeInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cameraSchemeInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.CameraPatternType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {!proto.CameraSchemeType} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeUint64( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeFloat( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeFloat( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeFloat( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeFloat( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeFloat( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeFloat( 11, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 12)); if (f != null) { writer.writeBool( 12, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeFloat( 13, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 14)); if (f != null) { writer.writeFloat( 14, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 15)); if (f != null) { writer.writeFloat( 15, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 16)); if (f != null) { writer.writeBool( 16, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 17)); if (f != null) { writer.writeFloat( 17, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 18)); if (f != null) { writer.writeFloat( 18, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 19)); if (f != null) { writer.writeBool( 19, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 20)); if (f != null) { writer.writeBool( 20, f ); } f = message.getShowentitydictsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(21, writer, jspb.BinaryWriter.prototype.writeUint64, jspb.BinaryWriter.prototype.writeBool); } f = message.getShowuidictsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(22, writer, jspb.BinaryWriter.prototype.writeUint64, jspb.BinaryWriter.prototype.writeBool); } f = /** @type {string} */ (jspb.Message.getField(message, 23)); if (f != null) { writer.writeString( 23, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 24)); if (f != null) { writer.writeUint64( 24, f ); } }; /** * optional CameraPatternType CameraPatternType = 1; * @return {!proto.CameraPatternType} */ proto.cameraSchemeInfo.prototype.getCamerapatterntype = function() { return /** @type {!proto.CameraPatternType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.CameraPatternType} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setCamerapatterntype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearCamerapatterntype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasCamerapatterntype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional CameraSchemeType CameraSchemeType = 2; * @return {!proto.CameraSchemeType} */ proto.cameraSchemeInfo.prototype.getCameraschemetype = function() { return /** @type {!proto.CameraSchemeType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.CameraSchemeType} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setCameraschemetype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearCameraschemetype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasCameraschemetype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string SchemeKey = 3; * @return {string} */ proto.cameraSchemeInfo.prototype.getSchemekey = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setSchemekey = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearSchemekey = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasSchemekey = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string SchemeName = 4; * @return {string} */ proto.cameraSchemeInfo.prototype.getSchemename = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setSchemename = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearSchemename = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasSchemename = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional uint64 SchemeTime = 5; * @return {number} */ proto.cameraSchemeInfo.prototype.getSchemetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setSchemetime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearSchemetime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasSchemetime = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional float Exposure = 6; * @return {number} */ proto.cameraSchemeInfo.prototype.getExposure = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setExposure = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearExposure = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasExposure = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional float Contrast = 7; * @return {number} */ proto.cameraSchemeInfo.prototype.getContrast = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setContrast = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearContrast = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasContrast = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional float Saturation = 8; * @return {number} */ proto.cameraSchemeInfo.prototype.getSaturation = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setSaturation = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearSaturation = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasSaturation = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional float Horizontal = 9; * @return {number} */ proto.cameraSchemeInfo.prototype.getHorizontal = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setHorizontal = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearHorizontal = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasHorizontal = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional float Vertical = 10; * @return {number} */ proto.cameraSchemeInfo.prototype.getVertical = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setVertical = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearVertical = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasVertical = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional float Angle = 11; * @return {number} */ proto.cameraSchemeInfo.prototype.getAngle = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setAngle = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearAngle = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasAngle = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional bool DepthTag = 12; * @return {boolean} */ proto.cameraSchemeInfo.prototype.getDepthtag = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); }; /** * @param {boolean} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setDepthtag = function(value) { return jspb.Message.setField(this, 12, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearDepthtag = function() { return jspb.Message.setField(this, 12, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasDepthtag = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional float Aperture = 13; * @return {number} */ proto.cameraSchemeInfo.prototype.getAperture = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setAperture = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearAperture = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasAperture = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional float NearBlend = 14; * @return {number} */ proto.cameraSchemeInfo.prototype.getNearblend = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setNearblend = function(value) { return jspb.Message.setField(this, 14, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearNearblend = function() { return jspb.Message.setField(this, 14, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasNearblend = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional float FarBlend = 15; * @return {number} */ proto.cameraSchemeInfo.prototype.getFarblend = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setFarblend = function(value) { return jspb.Message.setField(this, 15, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearFarblend = function() { return jspb.Message.setField(this, 15, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasFarblend = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional bool FocusTag = 16; * @return {boolean} */ proto.cameraSchemeInfo.prototype.getFocustag = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false)); }; /** * @param {boolean} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setFocustag = function(value) { return jspb.Message.setField(this, 16, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearFocustag = function() { return jspb.Message.setField(this, 16, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasFocustag = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional float Focus = 17; * @return {number} */ proto.cameraSchemeInfo.prototype.getFocus = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setFocus = function(value) { return jspb.Message.setField(this, 17, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearFocus = function() { return jspb.Message.setField(this, 17, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasFocus = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional float WorldTime = 18; * @return {number} */ proto.cameraSchemeInfo.prototype.getWorldtime = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setWorldtime = function(value) { return jspb.Message.setField(this, 18, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearWorldtime = function() { return jspb.Message.setField(this, 18, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasWorldtime = function() { return jspb.Message.getField(this, 18) != null; }; /** * optional bool IsHeadFollow = 19; * @return {boolean} */ proto.cameraSchemeInfo.prototype.getIsheadfollow = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false)); }; /** * @param {boolean} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setIsheadfollow = function(value) { return jspb.Message.setField(this, 19, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearIsheadfollow = function() { return jspb.Message.setField(this, 19, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasIsheadfollow = function() { return jspb.Message.getField(this, 19) != null; }; /** * optional bool IsEyeFollow = 20; * @return {boolean} */ proto.cameraSchemeInfo.prototype.getIseyefollow = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 20, false)); }; /** * @param {boolean} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setIseyefollow = function(value) { return jspb.Message.setField(this, 20, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearIseyefollow = function() { return jspb.Message.setField(this, 20, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasIseyefollow = function() { return jspb.Message.getField(this, 20) != null; }; /** * map ShowEntityDicts = 21; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.cameraSchemeInfo.prototype.getShowentitydictsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 21, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearShowentitydictsMap = function() { this.getShowentitydictsMap().clear(); return this; }; /** * map ShowUIDicts = 22; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.cameraSchemeInfo.prototype.getShowuidictsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 22, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearShowuidictsMap = function() { this.getShowuidictsMap().clear(); return this; }; /** * optional string FilterPath = 23; * @return {string} */ proto.cameraSchemeInfo.prototype.getFilterpath = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, "")); }; /** * @param {string} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setFilterpath = function(value) { return jspb.Message.setField(this, 23, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearFilterpath = function() { return jspb.Message.setField(this, 23, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasFilterpath = function() { return jspb.Message.getField(this, 23) != null; }; /** * optional uint64 Id = 24; * @return {number} */ proto.cameraSchemeInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); }; /** * @param {number} value * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 24, value); }; /** * Clears the field making it undefined. * @return {!proto.cameraSchemeInfo} returns this */ proto.cameraSchemeInfo.prototype.clearId = function() { return jspb.Message.setField(this, 24, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSchemeInfo.prototype.hasId = function() { return jspb.Message.getField(this, 24) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.cameraSelectSchemeCache.prototype.toObject = function(opt_includeInstance) { return proto.cameraSelectSchemeCache.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.cameraSelectSchemeCache} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cameraSelectSchemeCache.toObject = function(includeInstance, msg) { var f, obj = { cameraschemecache: (f = msg.getCameraschemecache()) && proto.cameraSchemeInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.cameraSelectSchemeCache} */ proto.cameraSelectSchemeCache.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.cameraSelectSchemeCache; return proto.cameraSelectSchemeCache.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.cameraSelectSchemeCache} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.cameraSelectSchemeCache} */ proto.cameraSelectSchemeCache.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.cameraSchemeInfo; reader.readMessage(value,proto.cameraSchemeInfo.deserializeBinaryFromReader); msg.setCameraschemecache(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.cameraSelectSchemeCache.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.cameraSelectSchemeCache.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.cameraSelectSchemeCache} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.cameraSelectSchemeCache.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCameraschemecache(); if (f != null) { writer.writeMessage( 1, f, proto.cameraSchemeInfo.serializeBinaryToWriter ); } }; /** * optional cameraSchemeInfo CameraSchemeCache = 1; * @return {?proto.cameraSchemeInfo} */ proto.cameraSelectSchemeCache.prototype.getCameraschemecache = function() { return /** @type{?proto.cameraSchemeInfo} */ ( jspb.Message.getWrapperField(this, proto.cameraSchemeInfo, 1)); }; /** * @param {?proto.cameraSchemeInfo|undefined} value * @return {!proto.cameraSelectSchemeCache} returns this */ proto.cameraSelectSchemeCache.prototype.setCameraschemecache = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.cameraSelectSchemeCache} returns this */ proto.cameraSelectSchemeCache.prototype.clearCameraschemecache = function() { return this.setCameraschemecache(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.cameraSelectSchemeCache.prototype.hasCameraschemecache = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ChallengeDungeonInfo.prototype.toObject = function(opt_includeInstance) { return proto.ChallengeDungeonInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ChallengeDungeonInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ChallengeDungeonInfo.toObject = function(includeInstance, msg) { var f, obj = { dungeoninfoMap: (f = msg.getDungeoninfoMap()) ? f.toObject(includeInstance, proto.DungeonInfo.toObject) : [], dungeontargetawardMap: (f = msg.getDungeontargetawardMap()) ? f.toObject(includeInstance, proto.DungeonTargetAward.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ChallengeDungeonInfo} */ proto.ChallengeDungeonInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ChallengeDungeonInfo; return proto.ChallengeDungeonInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ChallengeDungeonInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ChallengeDungeonInfo} */ proto.ChallengeDungeonInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getDungeoninfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonInfo.deserializeBinaryFromReader, 0, new proto.DungeonInfo()); }); break; case 2: var value = msg.getDungeontargetawardMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonTargetAward.deserializeBinaryFromReader, 0, new proto.DungeonTargetAward()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ChallengeDungeonInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ChallengeDungeonInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ChallengeDungeonInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ChallengeDungeonInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDungeoninfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonInfo.serializeBinaryToWriter); } f = message.getDungeontargetawardMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonTargetAward.serializeBinaryToWriter); } }; /** * map DungeonInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ChallengeDungeonInfo.prototype.getDungeoninfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ChallengeDungeonInfo} returns this */ proto.ChallengeDungeonInfo.prototype.clearDungeoninfoMap = function() { this.getDungeoninfoMap().clear(); return this; }; /** * map DungeonTargetAward = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ChallengeDungeonInfo.prototype.getDungeontargetawardMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.DungeonTargetAward)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ChallengeDungeonInfo} returns this */ proto.ChallengeDungeonInfo.prototype.clearDungeontargetawardMap = function() { this.getDungeontargetawardMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonInfo.toObject = function(includeInstance, msg) { var f, obj = { dungeonid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, completecount: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, awardflg: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, score: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, passtime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonInfo} */ proto.DungeonInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonInfo; return proto.DungeonInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonInfo} */ proto.DungeonInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setDungeonid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCompletecount(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setAwardflg(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setScore(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setPasstime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int32 DungeonID = 1; * @return {number} */ proto.DungeonInfo.prototype.getDungeonid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.setDungeonid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.clearDungeonid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonInfo.prototype.hasDungeonid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 CompleteCount = 2; * @return {number} */ proto.DungeonInfo.prototype.getCompletecount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.setCompletecount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.clearCompletecount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonInfo.prototype.hasCompletecount = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 AwardFlg = 3; * @return {number} */ proto.DungeonInfo.prototype.getAwardflg = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.setAwardflg = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.clearAwardflg = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonInfo.prototype.hasAwardflg = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 Score = 4; * @return {number} */ proto.DungeonInfo.prototype.getScore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.setScore = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.clearScore = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonInfo.prototype.hasScore = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 PassTime = 5; * @return {number} */ proto.DungeonInfo.prototype.getPasstime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.setPasstime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonInfo} returns this */ proto.DungeonInfo.prototype.clearPasstime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonInfo.prototype.hasPasstime = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonTargetAward.prototype.toObject = function(opt_includeInstance) { return proto.DungeonTargetAward.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonTargetAward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTargetAward.toObject = function(includeInstance, msg) { var f, obj = { dungeontargetprogressMap: (f = msg.getDungeontargetprogressMap()) ? f.toObject(includeInstance, proto.DungeonTargetProgress.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonTargetAward} */ proto.DungeonTargetAward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonTargetAward; return proto.DungeonTargetAward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonTargetAward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonTargetAward} */ proto.DungeonTargetAward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getDungeontargetprogressMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonTargetProgress.deserializeBinaryFromReader, 0, new proto.DungeonTargetProgress()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonTargetAward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonTargetAward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonTargetAward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTargetAward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDungeontargetprogressMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonTargetProgress.serializeBinaryToWriter); } }; /** * map DungeonTargetProgress = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonTargetAward.prototype.getDungeontargetprogressMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonTargetProgress)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonTargetAward} returns this */ proto.DungeonTargetAward.prototype.clearDungeontargetprogressMap = function() { this.getDungeontargetprogressMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonTargetProgress.prototype.toObject = function(opt_includeInstance) { return proto.DungeonTargetProgress.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonTargetProgress} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTargetProgress.toObject = function(includeInstance, msg) { var f, obj = { targetid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetprogress: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, awardstate: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonTargetProgress} */ proto.DungeonTargetProgress.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonTargetProgress; return proto.DungeonTargetProgress.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonTargetProgress} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonTargetProgress} */ proto.DungeonTargetProgress.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetprogress(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setAwardstate(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonTargetProgress.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonTargetProgress.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonTargetProgress} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTargetProgress.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 TargetId = 1; * @return {number} */ proto.DungeonTargetProgress.prototype.getTargetid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonTargetProgress} returns this */ proto.DungeonTargetProgress.prototype.setTargetid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTargetProgress} returns this */ proto.DungeonTargetProgress.prototype.clearTargetid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTargetProgress.prototype.hasTargetid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TargetProgress = 2; * @return {number} */ proto.DungeonTargetProgress.prototype.getTargetprogress = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonTargetProgress} returns this */ proto.DungeonTargetProgress.prototype.setTargetprogress = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTargetProgress} returns this */ proto.DungeonTargetProgress.prototype.clearTargetprogress = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTargetProgress.prototype.hasTargetprogress = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 AwardState = 3; * @return {number} */ proto.DungeonTargetProgress.prototype.getAwardstate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DungeonTargetProgress} returns this */ proto.DungeonTargetProgress.prototype.setAwardstate = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTargetProgress} returns this */ proto.DungeonTargetProgress.prototype.clearAwardstate = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTargetProgress.prototype.hasAwardstate = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.CharBaseInfo.repeatedFields_ = [24]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CharBaseInfo.prototype.toObject = function(opt_includeInstance) { return proto.CharBaseInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CharBaseInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CharBaseInfo.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, accountid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, showid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, serverid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, name: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, gender: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, isdeleted: (f = jspb.Message.getBooleanField(msg, 7)) == null ? undefined : f, isforbid: (f = jspb.Message.getBooleanField(msg, 8)) == null ? undefined : f, ismute: (f = jspb.Message.getBooleanField(msg, 9)) == null ? undefined : f, x: (f = jspb.Message.getOptionalFloatingPointField(msg, 10)) == null ? undefined : f, y: (f = jspb.Message.getOptionalFloatingPointField(msg, 11)) == null ? undefined : f, z: (f = jspb.Message.getOptionalFloatingPointField(msg, 12)) == null ? undefined : f, dir: (f = jspb.Message.getOptionalFloatingPointField(msg, 13)) == null ? undefined : f, facedata: (f = msg.getFacedata()) && proto.FaceData.toObject(includeInstance, f), cardid: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f, createtime: (f = jspb.Message.getField(msg, 16)) == null ? undefined : f, onlinetime: (f = jspb.Message.getField(msg, 17)) == null ? undefined : f, offlinetime: (f = jspb.Message.getField(msg, 18)) == null ? undefined : f, profileinfo: (f = msg.getProfileinfo()) && proto.ProfileInfo.toObject(includeInstance, f), teaminfo: (f = msg.getTeaminfo()) && proto.CharTeam.toObject(includeInstance, f), charstate: (f = jspb.Message.getField(msg, 21)) == null ? undefined : f, bodysize: (f = jspb.Message.getField(msg, 22)) == null ? undefined : f, unioninfo: (f = msg.getUnioninfo()) && proto.UserUnion.toObject(includeInstance, f), personalstateList: (f = jspb.Message.getRepeatedField(msg, 24)) == null ? undefined : f, avatarinfo: (f = msg.getAvatarinfo()) && proto.AvatarInfo.toObject(includeInstance, f), totalonlinetime: (f = jspb.Message.getField(msg, 26)) == null ? undefined : f, openid: (f = jspb.Message.getField(msg, 27)) == null ? undefined : f, sdktype: (f = jspb.Message.getField(msg, 28)) == null ? undefined : f, os: (f = jspb.Message.getField(msg, 29)) == null ? undefined : f, initprofessionid: (f = jspb.Message.getField(msg, 31)) == null ? undefined : f, lastcaltotaltime: (f = jspb.Message.getField(msg, 32)) == null ? undefined : f, areaid: (f = jspb.Message.getField(msg, 33)) == null ? undefined : f, clientversion: (f = jspb.Message.getField(msg, 34)) == null ? undefined : f, fightpoint: (f = jspb.Message.getField(msg, 35)) == null ? undefined : f, sumsave: (f = jspb.Message.getField(msg, 36)) == null ? undefined : f, clientresourceversion: (f = jspb.Message.getField(msg, 37)) == null ? undefined : f, lastofflinetime: (f = jspb.Message.getField(msg, 38)) == null ? undefined : f, dayaccdurtime: (f = jspb.Message.getField(msg, 39)) == null ? undefined : f, lastaccdurtimestamp: (f = jspb.Message.getField(msg, 40)) == null ? undefined : f, saveserial: (f = jspb.Message.getField(msg, 41)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CharBaseInfo} */ proto.CharBaseInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CharBaseInfo; return proto.CharBaseInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CharBaseInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CharBaseInfo} */ proto.CharBaseInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setAccountid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setShowid(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setServerid(value); break; case 5: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; case 6: var value = /** @type {!proto.EGender} */ (reader.readEnum()); msg.setGender(value); break; case 7: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsdeleted(value); break; case 8: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsforbid(value); break; case 9: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsmute(value); break; case 10: var value = /** @type {number} */ (reader.readFloat()); msg.setX(value); break; case 11: var value = /** @type {number} */ (reader.readFloat()); msg.setY(value); break; case 12: var value = /** @type {number} */ (reader.readFloat()); msg.setZ(value); break; case 13: var value = /** @type {number} */ (reader.readFloat()); msg.setDir(value); break; case 14: var value = new proto.FaceData; reader.readMessage(value,proto.FaceData.deserializeBinaryFromReader); msg.setFacedata(value); break; case 15: var value = /** @type {number} */ (reader.readUint32()); msg.setCardid(value); break; case 16: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatetime(value); break; case 17: var value = /** @type {number} */ (reader.readInt64()); msg.setOnlinetime(value); break; case 18: var value = /** @type {number} */ (reader.readInt64()); msg.setOfflinetime(value); break; case 19: var value = new proto.ProfileInfo; reader.readMessage(value,proto.ProfileInfo.deserializeBinaryFromReader); msg.setProfileinfo(value); break; case 20: var value = new proto.CharTeam; reader.readMessage(value,proto.CharTeam.deserializeBinaryFromReader); msg.setTeaminfo(value); break; case 21: var value = /** @type {number} */ (reader.readUint64()); msg.setCharstate(value); break; case 22: var value = /** @type {!proto.EBodySize} */ (reader.readEnum()); msg.setBodysize(value); break; case 23: var value = new proto.UserUnion; reader.readMessage(value,proto.UserUnion.deserializeBinaryFromReader); msg.setUnioninfo(value); break; case 24: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addPersonalstate(values[i]); } break; case 25: var value = new proto.AvatarInfo; reader.readMessage(value,proto.AvatarInfo.deserializeBinaryFromReader); msg.setAvatarinfo(value); break; case 26: var value = /** @type {number} */ (reader.readUint64()); msg.setTotalonlinetime(value); break; case 27: var value = /** @type {string} */ (reader.readString()); msg.setOpenid(value); break; case 28: var value = /** @type {number} */ (reader.readInt32()); msg.setSdktype(value); break; case 29: var value = /** @type {number} */ (reader.readInt32()); msg.setOs(value); break; case 31: var value = /** @type {number} */ (reader.readInt32()); msg.setInitprofessionid(value); break; case 32: var value = /** @type {number} */ (reader.readUint64()); msg.setLastcaltotaltime(value); break; case 33: var value = /** @type {number} */ (reader.readInt32()); msg.setAreaid(value); break; case 34: var value = /** @type {string} */ (reader.readString()); msg.setClientversion(value); break; case 35: var value = /** @type {number} */ (reader.readInt32()); msg.setFightpoint(value); break; case 36: var value = /** @type {number} */ (reader.readInt64()); msg.setSumsave(value); break; case 37: var value = /** @type {string} */ (reader.readString()); msg.setClientresourceversion(value); break; case 38: var value = /** @type {number} */ (reader.readInt64()); msg.setLastofflinetime(value); break; case 39: var value = /** @type {number} */ (reader.readInt32()); msg.setDayaccdurtime(value); break; case 40: var value = /** @type {number} */ (reader.readInt64()); msg.setLastaccdurtimestamp(value); break; case 41: var value = /** @type {number} */ (reader.readInt64()); msg.setSaveserial(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CharBaseInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CharBaseInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CharBaseInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CharBaseInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeString( 5, f ); } f = /** @type {!proto.EGender} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeEnum( 6, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeBool( 7, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeBool( 8, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeBool( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeFloat( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeFloat( 11, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 12)); if (f != null) { writer.writeFloat( 12, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeFloat( 13, f ); } f = message.getFacedata(); if (f != null) { writer.writeMessage( 14, f, proto.FaceData.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 15)); if (f != null) { writer.writeUint32( 15, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 16)); if (f != null) { writer.writeInt64( 16, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 17)); if (f != null) { writer.writeInt64( 17, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 18)); if (f != null) { writer.writeInt64( 18, f ); } f = message.getProfileinfo(); if (f != null) { writer.writeMessage( 19, f, proto.ProfileInfo.serializeBinaryToWriter ); } f = message.getTeaminfo(); if (f != null) { writer.writeMessage( 20, f, proto.CharTeam.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 21)); if (f != null) { writer.writeUint64( 21, f ); } f = /** @type {!proto.EBodySize} */ (jspb.Message.getField(message, 22)); if (f != null) { writer.writeEnum( 22, f ); } f = message.getUnioninfo(); if (f != null) { writer.writeMessage( 23, f, proto.UserUnion.serializeBinaryToWriter ); } f = message.getPersonalstateList(); if (f.length > 0) { writer.writePackedInt32( 24, f ); } f = message.getAvatarinfo(); if (f != null) { writer.writeMessage( 25, f, proto.AvatarInfo.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 26)); if (f != null) { writer.writeUint64( 26, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 27)); if (f != null) { writer.writeString( 27, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 28)); if (f != null) { writer.writeInt32( 28, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 29)); if (f != null) { writer.writeInt32( 29, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 31)); if (f != null) { writer.writeInt32( 31, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 32)); if (f != null) { writer.writeUint64( 32, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 33)); if (f != null) { writer.writeInt32( 33, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 34)); if (f != null) { writer.writeString( 34, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 35)); if (f != null) { writer.writeInt32( 35, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 36)); if (f != null) { writer.writeInt64( 36, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 37)); if (f != null) { writer.writeString( 37, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 38)); if (f != null) { writer.writeInt64( 38, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 39)); if (f != null) { writer.writeInt32( 39, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 40)); if (f != null) { writer.writeInt64( 40, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 41)); if (f != null) { writer.writeInt64( 41, f ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.CharBaseInfo.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string AccountId = 2; * @return {string} */ proto.CharBaseInfo.prototype.getAccountid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setAccountid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearAccountid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasAccountid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 ShowId = 3; * @return {number} */ proto.CharBaseInfo.prototype.getShowid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setShowid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearShowid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasShowid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 ServerId = 4; * @return {number} */ proto.CharBaseInfo.prototype.getServerid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setServerid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearServerid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasServerid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional string Name = 5; * @return {string} */ proto.CharBaseInfo.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setName = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearName = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasName = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional EGender Gender = 6; * @return {!proto.EGender} */ proto.CharBaseInfo.prototype.getGender = function() { return /** @type {!proto.EGender} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {!proto.EGender} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setGender = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearGender = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasGender = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional bool IsDeleted = 7; * @return {boolean} */ proto.CharBaseInfo.prototype.getIsdeleted = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; /** * @param {boolean} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setIsdeleted = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearIsdeleted = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasIsdeleted = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional bool IsForbid = 8; * @return {boolean} */ proto.CharBaseInfo.prototype.getIsforbid = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); }; /** * @param {boolean} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setIsforbid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearIsforbid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasIsforbid = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional bool IsMute = 9; * @return {boolean} */ proto.CharBaseInfo.prototype.getIsmute = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false)); }; /** * @param {boolean} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setIsmute = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearIsmute = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasIsmute = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional float X = 10; * @return {number} */ proto.CharBaseInfo.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setX = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearX = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasX = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional float Y = 11; * @return {number} */ proto.CharBaseInfo.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setY = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearY = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasY = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional float Z = 12; * @return {number} */ proto.CharBaseInfo.prototype.getZ = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setZ = function(value) { return jspb.Message.setField(this, 12, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearZ = function() { return jspb.Message.setField(this, 12, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasZ = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional float Dir = 13; * @return {number} */ proto.CharBaseInfo.prototype.getDir = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setDir = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearDir = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasDir = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional FaceData FaceData = 14; * @return {?proto.FaceData} */ proto.CharBaseInfo.prototype.getFacedata = function() { return /** @type{?proto.FaceData} */ ( jspb.Message.getWrapperField(this, proto.FaceData, 14)); }; /** * @param {?proto.FaceData|undefined} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setFacedata = function(value) { return jspb.Message.setWrapperField(this, 14, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearFacedata = function() { return this.setFacedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasFacedata = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional uint32 CardId = 15; * @return {number} */ proto.CharBaseInfo.prototype.getCardid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setCardid = function(value) { return jspb.Message.setField(this, 15, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearCardid = function() { return jspb.Message.setField(this, 15, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasCardid = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional int64 CreateTime = 16; * @return {number} */ proto.CharBaseInfo.prototype.getCreatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setCreatetime = function(value) { return jspb.Message.setField(this, 16, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearCreatetime = function() { return jspb.Message.setField(this, 16, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasCreatetime = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional int64 OnlineTime = 17; * @return {number} */ proto.CharBaseInfo.prototype.getOnlinetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setOnlinetime = function(value) { return jspb.Message.setField(this, 17, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearOnlinetime = function() { return jspb.Message.setField(this, 17, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasOnlinetime = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional int64 OfflineTime = 18; * @return {number} */ proto.CharBaseInfo.prototype.getOfflinetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setOfflinetime = function(value) { return jspb.Message.setField(this, 18, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearOfflinetime = function() { return jspb.Message.setField(this, 18, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasOfflinetime = function() { return jspb.Message.getField(this, 18) != null; }; /** * optional ProfileInfo ProfileInfo = 19; * @return {?proto.ProfileInfo} */ proto.CharBaseInfo.prototype.getProfileinfo = function() { return /** @type{?proto.ProfileInfo} */ ( jspb.Message.getWrapperField(this, proto.ProfileInfo, 19)); }; /** * @param {?proto.ProfileInfo|undefined} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setProfileinfo = function(value) { return jspb.Message.setWrapperField(this, 19, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearProfileinfo = function() { return this.setProfileinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasProfileinfo = function() { return jspb.Message.getField(this, 19) != null; }; /** * optional CharTeam TeamInfo = 20; * @return {?proto.CharTeam} */ proto.CharBaseInfo.prototype.getTeaminfo = function() { return /** @type{?proto.CharTeam} */ ( jspb.Message.getWrapperField(this, proto.CharTeam, 20)); }; /** * @param {?proto.CharTeam|undefined} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setTeaminfo = function(value) { return jspb.Message.setWrapperField(this, 20, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearTeaminfo = function() { return this.setTeaminfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasTeaminfo = function() { return jspb.Message.getField(this, 20) != null; }; /** * optional uint64 CharState = 21; * @return {number} */ proto.CharBaseInfo.prototype.getCharstate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setCharstate = function(value) { return jspb.Message.setField(this, 21, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearCharstate = function() { return jspb.Message.setField(this, 21, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasCharstate = function() { return jspb.Message.getField(this, 21) != null; }; /** * optional EBodySize BodySize = 22; * @return {!proto.EBodySize} */ proto.CharBaseInfo.prototype.getBodysize = function() { return /** @type {!proto.EBodySize} */ (jspb.Message.getFieldWithDefault(this, 22, 0)); }; /** * @param {!proto.EBodySize} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setBodysize = function(value) { return jspb.Message.setField(this, 22, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearBodysize = function() { return jspb.Message.setField(this, 22, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasBodysize = function() { return jspb.Message.getField(this, 22) != null; }; /** * optional UserUnion UnionInfo = 23; * @return {?proto.UserUnion} */ proto.CharBaseInfo.prototype.getUnioninfo = function() { return /** @type{?proto.UserUnion} */ ( jspb.Message.getWrapperField(this, proto.UserUnion, 23)); }; /** * @param {?proto.UserUnion|undefined} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setUnioninfo = function(value) { return jspb.Message.setWrapperField(this, 23, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearUnioninfo = function() { return this.setUnioninfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasUnioninfo = function() { return jspb.Message.getField(this, 23) != null; }; /** * repeated int32 PersonalState = 24; * @return {!Array} */ proto.CharBaseInfo.prototype.getPersonalstateList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 24)); }; /** * @param {!Array} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setPersonalstateList = function(value) { return jspb.Message.setField(this, 24, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.addPersonalstate = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 24, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearPersonalstateList = function() { return this.setPersonalstateList([]); }; /** * optional AvatarInfo AvatarInfo = 25; * @return {?proto.AvatarInfo} */ proto.CharBaseInfo.prototype.getAvatarinfo = function() { return /** @type{?proto.AvatarInfo} */ ( jspb.Message.getWrapperField(this, proto.AvatarInfo, 25)); }; /** * @param {?proto.AvatarInfo|undefined} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setAvatarinfo = function(value) { return jspb.Message.setWrapperField(this, 25, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearAvatarinfo = function() { return this.setAvatarinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasAvatarinfo = function() { return jspb.Message.getField(this, 25) != null; }; /** * optional uint64 TotalOnlineTime = 26; * @return {number} */ proto.CharBaseInfo.prototype.getTotalonlinetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setTotalonlinetime = function(value) { return jspb.Message.setField(this, 26, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearTotalonlinetime = function() { return jspb.Message.setField(this, 26, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasTotalonlinetime = function() { return jspb.Message.getField(this, 26) != null; }; /** * optional string OpenId = 27; * @return {string} */ proto.CharBaseInfo.prototype.getOpenid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, "")); }; /** * @param {string} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setOpenid = function(value) { return jspb.Message.setField(this, 27, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearOpenid = function() { return jspb.Message.setField(this, 27, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasOpenid = function() { return jspb.Message.getField(this, 27) != null; }; /** * optional int32 SdkType = 28; * @return {number} */ proto.CharBaseInfo.prototype.getSdktype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 28, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setSdktype = function(value) { return jspb.Message.setField(this, 28, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearSdktype = function() { return jspb.Message.setField(this, 28, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasSdktype = function() { return jspb.Message.getField(this, 28) != null; }; /** * optional int32 Os = 29; * @return {number} */ proto.CharBaseInfo.prototype.getOs = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 29, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setOs = function(value) { return jspb.Message.setField(this, 29, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearOs = function() { return jspb.Message.setField(this, 29, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasOs = function() { return jspb.Message.getField(this, 29) != null; }; /** * optional int32 InitProfessionId = 31; * @return {number} */ proto.CharBaseInfo.prototype.getInitprofessionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 31, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setInitprofessionid = function(value) { return jspb.Message.setField(this, 31, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearInitprofessionid = function() { return jspb.Message.setField(this, 31, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasInitprofessionid = function() { return jspb.Message.getField(this, 31) != null; }; /** * optional uint64 LastCalTotalTime = 32; * @return {number} */ proto.CharBaseInfo.prototype.getLastcaltotaltime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 32, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setLastcaltotaltime = function(value) { return jspb.Message.setField(this, 32, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearLastcaltotaltime = function() { return jspb.Message.setField(this, 32, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasLastcaltotaltime = function() { return jspb.Message.getField(this, 32) != null; }; /** * optional int32 AreaId = 33; * @return {number} */ proto.CharBaseInfo.prototype.getAreaid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 33, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setAreaid = function(value) { return jspb.Message.setField(this, 33, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearAreaid = function() { return jspb.Message.setField(this, 33, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasAreaid = function() { return jspb.Message.getField(this, 33) != null; }; /** * optional string ClientVersion = 34; * @return {string} */ proto.CharBaseInfo.prototype.getClientversion = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, "")); }; /** * @param {string} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setClientversion = function(value) { return jspb.Message.setField(this, 34, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearClientversion = function() { return jspb.Message.setField(this, 34, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasClientversion = function() { return jspb.Message.getField(this, 34) != null; }; /** * optional int32 FightPoint = 35; * @return {number} */ proto.CharBaseInfo.prototype.getFightpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 35, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setFightpoint = function(value) { return jspb.Message.setField(this, 35, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearFightpoint = function() { return jspb.Message.setField(this, 35, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasFightpoint = function() { return jspb.Message.getField(this, 35) != null; }; /** * optional int64 SumSave = 36; * @return {number} */ proto.CharBaseInfo.prototype.getSumsave = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 36, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setSumsave = function(value) { return jspb.Message.setField(this, 36, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearSumsave = function() { return jspb.Message.setField(this, 36, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasSumsave = function() { return jspb.Message.getField(this, 36) != null; }; /** * optional string ClientResourceVersion = 37; * @return {string} */ proto.CharBaseInfo.prototype.getClientresourceversion = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, "")); }; /** * @param {string} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setClientresourceversion = function(value) { return jspb.Message.setField(this, 37, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearClientresourceversion = function() { return jspb.Message.setField(this, 37, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasClientresourceversion = function() { return jspb.Message.getField(this, 37) != null; }; /** * optional int64 LastOfflineTime = 38; * @return {number} */ proto.CharBaseInfo.prototype.getLastofflinetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 38, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setLastofflinetime = function(value) { return jspb.Message.setField(this, 38, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearLastofflinetime = function() { return jspb.Message.setField(this, 38, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasLastofflinetime = function() { return jspb.Message.getField(this, 38) != null; }; /** * optional int32 DayAccDurTime = 39; * @return {number} */ proto.CharBaseInfo.prototype.getDayaccdurtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 39, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setDayaccdurtime = function(value) { return jspb.Message.setField(this, 39, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearDayaccdurtime = function() { return jspb.Message.setField(this, 39, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasDayaccdurtime = function() { return jspb.Message.getField(this, 39) != null; }; /** * optional int64 LastAccDurTimestamp = 40; * @return {number} */ proto.CharBaseInfo.prototype.getLastaccdurtimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 40, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setLastaccdurtimestamp = function(value) { return jspb.Message.setField(this, 40, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearLastaccdurtimestamp = function() { return jspb.Message.setField(this, 40, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasLastaccdurtimestamp = function() { return jspb.Message.getField(this, 40) != null; }; /** * optional int64 SaveSerial = 41; * @return {number} */ proto.CharBaseInfo.prototype.getSaveserial = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 41, 0)); }; /** * @param {number} value * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.setSaveserial = function(value) { return jspb.Message.setField(this, 41, value); }; /** * Clears the field making it undefined. * @return {!proto.CharBaseInfo} returns this */ proto.CharBaseInfo.prototype.clearSaveserial = function() { return jspb.Message.setField(this, 41, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharBaseInfo.prototype.hasSaveserial = function() { return jspb.Message.getField(this, 41) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FaceData.prototype.toObject = function(opt_includeInstance) { return proto.FaceData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FaceData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FaceData.toObject = function(includeInstance, msg) { var f, obj = { faceinfoMap: (f = msg.getFaceinfoMap()) ? f.toObject(includeInstance, undefined) : [], colorinfoMap: (f = msg.getColorinfoMap()) ? f.toObject(includeInstance, proto.IntVec3.toObject) : [], height: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FaceData} */ proto.FaceData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FaceData; return proto.FaceData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FaceData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FaceData} */ proto.FaceData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getFaceinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 2: var value = msg.getColorinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.IntVec3.deserializeBinaryFromReader, 0, new proto.IntVec3()); }); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setHeight(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FaceData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FaceData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FaceData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FaceData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getFaceinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getColorinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.IntVec3.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } }; /** * map FaceInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FaceData.prototype.getFaceinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FaceData} returns this */ proto.FaceData.prototype.clearFaceinfoMap = function() { this.getFaceinfoMap().clear(); return this; }; /** * map ColorInfo = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FaceData.prototype.getColorinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.IntVec3)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FaceData} returns this */ proto.FaceData.prototype.clearColorinfoMap = function() { this.getColorinfoMap().clear(); return this; }; /** * optional float Height = 3; * @return {number} */ proto.FaceData.prototype.getHeight = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.FaceData} returns this */ proto.FaceData.prototype.setHeight = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FaceData} returns this */ proto.FaceData.prototype.clearHeight = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FaceData.prototype.hasHeight = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.IntVec3.prototype.toObject = function(opt_includeInstance) { return proto.IntVec3.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.IntVec3} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.IntVec3.toObject = function(includeInstance, msg) { var f, obj = { x: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, y: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, z: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.IntVec3} */ proto.IntVec3.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.IntVec3; return proto.IntVec3.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.IntVec3} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.IntVec3} */ proto.IntVec3.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setX(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setY(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setZ(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.IntVec3.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.IntVec3.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.IntVec3} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.IntVec3.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 X = 1; * @return {number} */ proto.IntVec3.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.IntVec3} returns this */ proto.IntVec3.prototype.setX = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.IntVec3} returns this */ proto.IntVec3.prototype.clearX = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.IntVec3.prototype.hasX = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Y = 2; * @return {number} */ proto.IntVec3.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.IntVec3} returns this */ proto.IntVec3.prototype.setY = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.IntVec3} returns this */ proto.IntVec3.prototype.clearY = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.IntVec3.prototype.hasY = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Z = 3; * @return {number} */ proto.IntVec3.prototype.getZ = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.IntVec3} returns this */ proto.IntVec3.prototype.setZ = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.IntVec3} returns this */ proto.IntVec3.prototype.clearZ = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.IntVec3.prototype.hasZ = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ProfileInfo.prototype.toObject = function(opt_includeInstance) { return proto.ProfileInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ProfileInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfileInfo.toObject = function(includeInstance, msg) { var f, obj = { profileid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, profileurl: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, halfbodyurl: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ProfileInfo} */ proto.ProfileInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ProfileInfo; return proto.ProfileInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ProfileInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ProfileInfo} */ proto.ProfileInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setProfileid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setProfileurl(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setHalfbodyurl(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ProfileInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ProfileInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ProfileInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfileInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } }; /** * optional int32 ProfileId = 1; * @return {number} */ proto.ProfileInfo.prototype.getProfileid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ProfileInfo} returns this */ proto.ProfileInfo.prototype.setProfileid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfileInfo} returns this */ proto.ProfileInfo.prototype.clearProfileid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfileInfo.prototype.hasProfileid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string ProfileUrl = 2; * @return {string} */ proto.ProfileInfo.prototype.getProfileurl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.ProfileInfo} returns this */ proto.ProfileInfo.prototype.setProfileurl = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfileInfo} returns this */ proto.ProfileInfo.prototype.clearProfileurl = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfileInfo.prototype.hasProfileurl = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string HalfBodyUrl = 3; * @return {string} */ proto.ProfileInfo.prototype.getHalfbodyurl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.ProfileInfo} returns this */ proto.ProfileInfo.prototype.setHalfbodyurl = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfileInfo} returns this */ proto.ProfileInfo.prototype.clearHalfbodyurl = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfileInfo.prototype.hasHalfbodyurl = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.CharTeam.repeatedFields_ = [5]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CharTeam.prototype.toObject = function(opt_includeInstance) { return proto.CharTeam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CharTeam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CharTeam.toObject = function(includeInstance, msg) { var f, obj = { teamid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, leaderid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, teamtargetid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, teamnum: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, charidsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, ismatching: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f, charteamversion: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, teammemberdataMap: (f = msg.getTeammemberdataMap()) ? f.toObject(includeInstance, proto.TeamMemData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CharTeam} */ proto.CharTeam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CharTeam; return proto.CharTeam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CharTeam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CharTeam} */ proto.CharTeam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTeamid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setLeaderid(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setTeamtargetid(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setTeamnum(value); break; case 5: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addCharids(values[i]); } break; case 6: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsmatching(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setCharteamversion(value); break; case 8: var value = msg.getTeammemberdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.TeamMemData.deserializeBinaryFromReader, 0, new proto.TeamMemData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CharTeam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CharTeam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CharTeam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CharTeam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } f = message.getCharidsList(); if (f.length > 0) { writer.writePackedInt64( 5, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeBool( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = message.getTeammemberdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.TeamMemData.serializeBinaryToWriter); } }; /** * optional int64 TeamId = 1; * @return {number} */ proto.CharTeam.prototype.getTeamid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.setTeamid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.clearTeamid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharTeam.prototype.hasTeamid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 LeaderId = 2; * @return {number} */ proto.CharTeam.prototype.getLeaderid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.setLeaderid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.clearLeaderid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharTeam.prototype.hasLeaderid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 TeamTargetId = 3; * @return {number} */ proto.CharTeam.prototype.getTeamtargetid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.setTeamtargetid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.clearTeamtargetid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharTeam.prototype.hasTeamtargetid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 TeamNum = 4; * @return {number} */ proto.CharTeam.prototype.getTeamnum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.setTeamnum = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.clearTeamnum = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharTeam.prototype.hasTeamnum = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated int64 CharIds = 5; * @return {!Array} */ proto.CharTeam.prototype.getCharidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); }; /** * @param {!Array} value * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.setCharidsList = function(value) { return jspb.Message.setField(this, 5, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.addCharids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 5, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.clearCharidsList = function() { return this.setCharidsList([]); }; /** * optional bool IsMatching = 6; * @return {boolean} */ proto.CharTeam.prototype.getIsmatching = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.setIsmatching = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.clearIsmatching = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharTeam.prototype.hasIsmatching = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 CharTeamVersion = 7; * @return {number} */ proto.CharTeam.prototype.getCharteamversion = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.setCharteamversion = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.clearCharteamversion = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharTeam.prototype.hasCharteamversion = function() { return jspb.Message.getField(this, 7) != null; }; /** * map TeamMemberData = 8; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CharTeam.prototype.getTeammemberdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 8, opt_noLazyCreate, proto.TeamMemData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CharTeam} returns this */ proto.CharTeam.prototype.clearTeammemberdataMap = function() { this.getTeammemberdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TeamMemData.prototype.toObject = function(opt_includeInstance) { return proto.TeamMemData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TeamMemData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TeamMemData.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, entertime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, callstatus: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, talentid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, onlinestatus: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, sceneid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, voiceisopen: (f = jspb.Message.getBooleanField(msg, 7)) == null ? undefined : f, groupid: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, socialdata: (f = msg.getSocialdata()) && proto.TeamMemberSocialData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TeamMemData} */ proto.TeamMemData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TeamMemData; return proto.TeamMemData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TeamMemData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TeamMemData} */ proto.TeamMemData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setEntertime(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setCallstatus(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setTalentid(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setOnlinestatus(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneid(value); break; case 7: var value = /** @type {boolean} */ (reader.readBool()); msg.setVoiceisopen(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setGroupid(value); break; case 9: var value = new proto.TeamMemberSocialData; reader.readMessage(value,proto.TeamMemberSocialData.deserializeBinaryFromReader); msg.setSocialdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TeamMemData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TeamMemData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TeamMemData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TeamMemData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeBool( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = message.getSocialdata(); if (f != null) { writer.writeMessage( 9, f, proto.TeamMemberSocialData.serializeBinaryToWriter ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.TeamMemData.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemData.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 EnterTime = 2; * @return {number} */ proto.TeamMemData.prototype.getEntertime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.setEntertime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.clearEntertime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemData.prototype.hasEntertime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 CallStatus = 3; * @return {number} */ proto.TeamMemData.prototype.getCallstatus = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.setCallstatus = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.clearCallstatus = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemData.prototype.hasCallstatus = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 TalentId = 4; * @return {number} */ proto.TeamMemData.prototype.getTalentid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.setTalentid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.clearTalentid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemData.prototype.hasTalentid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 OnlineStatus = 5; * @return {number} */ proto.TeamMemData.prototype.getOnlinestatus = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.setOnlinestatus = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.clearOnlinestatus = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemData.prototype.hasOnlinestatus = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 SceneId = 6; * @return {number} */ proto.TeamMemData.prototype.getSceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.setSceneid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.clearSceneid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemData.prototype.hasSceneid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional bool VoiceIsOpen = 7; * @return {boolean} */ proto.TeamMemData.prototype.getVoiceisopen = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; /** * @param {boolean} value * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.setVoiceisopen = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.clearVoiceisopen = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemData.prototype.hasVoiceisopen = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 GroupId = 8; * @return {number} */ proto.TeamMemData.prototype.getGroupid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.setGroupid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.clearGroupid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemData.prototype.hasGroupid = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional TeamMemberSocialData SocialData = 9; * @return {?proto.TeamMemberSocialData} */ proto.TeamMemData.prototype.getSocialdata = function() { return /** @type{?proto.TeamMemberSocialData} */ ( jspb.Message.getWrapperField(this, proto.TeamMemberSocialData, 9)); }; /** * @param {?proto.TeamMemberSocialData|undefined} value * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.setSocialdata = function(value) { return jspb.Message.setWrapperField(this, 9, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemData} returns this */ proto.TeamMemData.prototype.clearSocialdata = function() { return this.setSocialdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemData.prototype.hasSocialdata = function() { return jspb.Message.getField(this, 9) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TeamMemberSocialData.prototype.toObject = function(opt_includeInstance) { return proto.TeamMemberSocialData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TeamMemberSocialData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TeamMemberSocialData.toObject = function(includeInstance, msg) { var f, obj = { basicdata: (f = msg.getBasicdata()) && proto.BasicData.toObject(includeInstance, f), avatarinfo: (f = msg.getAvatarinfo()) && proto.AvatarInfo.toObject(includeInstance, f), facedata: (f = msg.getFacedata()) && proto.FaceData.toObject(includeInstance, f), professiondata: (f = msg.getProfessiondata()) && proto.ProfessionData.toObject(includeInstance, f), equipdata: (f = msg.getEquipdata()) && proto.EquipData.toObject(includeInstance, f), fashiondata: (f = msg.getFashiondata()) && proto.FashionData.toObject(includeInstance, f), usersceneinfo: (f = msg.getUsersceneinfo()) && proto.UserSceneInfo.toObject(includeInstance, f), userattrdata: (f = msg.getUserattrdata()) && proto.UserAttrData.toObject(includeInstance, f), personalzone: (f = msg.getPersonalzone()) && proto.PersonalZoneShow.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TeamMemberSocialData} */ proto.TeamMemberSocialData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TeamMemberSocialData; return proto.TeamMemberSocialData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TeamMemberSocialData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TeamMemberSocialData} */ proto.TeamMemberSocialData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BasicData; reader.readMessage(value,proto.BasicData.deserializeBinaryFromReader); msg.setBasicdata(value); break; case 2: var value = new proto.AvatarInfo; reader.readMessage(value,proto.AvatarInfo.deserializeBinaryFromReader); msg.setAvatarinfo(value); break; case 3: var value = new proto.FaceData; reader.readMessage(value,proto.FaceData.deserializeBinaryFromReader); msg.setFacedata(value); break; case 4: var value = new proto.ProfessionData; reader.readMessage(value,proto.ProfessionData.deserializeBinaryFromReader); msg.setProfessiondata(value); break; case 5: var value = new proto.EquipData; reader.readMessage(value,proto.EquipData.deserializeBinaryFromReader); msg.setEquipdata(value); break; case 6: var value = new proto.FashionData; reader.readMessage(value,proto.FashionData.deserializeBinaryFromReader); msg.setFashiondata(value); break; case 7: var value = new proto.UserSceneInfo; reader.readMessage(value,proto.UserSceneInfo.deserializeBinaryFromReader); msg.setUsersceneinfo(value); break; case 8: var value = new proto.UserAttrData; reader.readMessage(value,proto.UserAttrData.deserializeBinaryFromReader); msg.setUserattrdata(value); break; case 9: var value = new proto.PersonalZoneShow; reader.readMessage(value,proto.PersonalZoneShow.deserializeBinaryFromReader); msg.setPersonalzone(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TeamMemberSocialData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TeamMemberSocialData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TeamMemberSocialData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TeamMemberSocialData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBasicdata(); if (f != null) { writer.writeMessage( 1, f, proto.BasicData.serializeBinaryToWriter ); } f = message.getAvatarinfo(); if (f != null) { writer.writeMessage( 2, f, proto.AvatarInfo.serializeBinaryToWriter ); } f = message.getFacedata(); if (f != null) { writer.writeMessage( 3, f, proto.FaceData.serializeBinaryToWriter ); } f = message.getProfessiondata(); if (f != null) { writer.writeMessage( 4, f, proto.ProfessionData.serializeBinaryToWriter ); } f = message.getEquipdata(); if (f != null) { writer.writeMessage( 5, f, proto.EquipData.serializeBinaryToWriter ); } f = message.getFashiondata(); if (f != null) { writer.writeMessage( 6, f, proto.FashionData.serializeBinaryToWriter ); } f = message.getUsersceneinfo(); if (f != null) { writer.writeMessage( 7, f, proto.UserSceneInfo.serializeBinaryToWriter ); } f = message.getUserattrdata(); if (f != null) { writer.writeMessage( 8, f, proto.UserAttrData.serializeBinaryToWriter ); } f = message.getPersonalzone(); if (f != null) { writer.writeMessage( 9, f, proto.PersonalZoneShow.serializeBinaryToWriter ); } }; /** * optional BasicData BasicData = 1; * @return {?proto.BasicData} */ proto.TeamMemberSocialData.prototype.getBasicdata = function() { return /** @type{?proto.BasicData} */ ( jspb.Message.getWrapperField(this, proto.BasicData, 1)); }; /** * @param {?proto.BasicData|undefined} value * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.setBasicdata = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.clearBasicdata = function() { return this.setBasicdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemberSocialData.prototype.hasBasicdata = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional AvatarInfo AvatarInfo = 2; * @return {?proto.AvatarInfo} */ proto.TeamMemberSocialData.prototype.getAvatarinfo = function() { return /** @type{?proto.AvatarInfo} */ ( jspb.Message.getWrapperField(this, proto.AvatarInfo, 2)); }; /** * @param {?proto.AvatarInfo|undefined} value * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.setAvatarinfo = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.clearAvatarinfo = function() { return this.setAvatarinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemberSocialData.prototype.hasAvatarinfo = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional FaceData FaceData = 3; * @return {?proto.FaceData} */ proto.TeamMemberSocialData.prototype.getFacedata = function() { return /** @type{?proto.FaceData} */ ( jspb.Message.getWrapperField(this, proto.FaceData, 3)); }; /** * @param {?proto.FaceData|undefined} value * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.setFacedata = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.clearFacedata = function() { return this.setFacedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemberSocialData.prototype.hasFacedata = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional ProfessionData ProfessionData = 4; * @return {?proto.ProfessionData} */ proto.TeamMemberSocialData.prototype.getProfessiondata = function() { return /** @type{?proto.ProfessionData} */ ( jspb.Message.getWrapperField(this, proto.ProfessionData, 4)); }; /** * @param {?proto.ProfessionData|undefined} value * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.setProfessiondata = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.clearProfessiondata = function() { return this.setProfessiondata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemberSocialData.prototype.hasProfessiondata = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional EquipData EquipData = 5; * @return {?proto.EquipData} */ proto.TeamMemberSocialData.prototype.getEquipdata = function() { return /** @type{?proto.EquipData} */ ( jspb.Message.getWrapperField(this, proto.EquipData, 5)); }; /** * @param {?proto.EquipData|undefined} value * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.setEquipdata = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.clearEquipdata = function() { return this.setEquipdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemberSocialData.prototype.hasEquipdata = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional FashionData FashionData = 6; * @return {?proto.FashionData} */ proto.TeamMemberSocialData.prototype.getFashiondata = function() { return /** @type{?proto.FashionData} */ ( jspb.Message.getWrapperField(this, proto.FashionData, 6)); }; /** * @param {?proto.FashionData|undefined} value * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.setFashiondata = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.clearFashiondata = function() { return this.setFashiondata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemberSocialData.prototype.hasFashiondata = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional UserSceneInfo UserSceneInfo = 7; * @return {?proto.UserSceneInfo} */ proto.TeamMemberSocialData.prototype.getUsersceneinfo = function() { return /** @type{?proto.UserSceneInfo} */ ( jspb.Message.getWrapperField(this, proto.UserSceneInfo, 7)); }; /** * @param {?proto.UserSceneInfo|undefined} value * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.setUsersceneinfo = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.clearUsersceneinfo = function() { return this.setUsersceneinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemberSocialData.prototype.hasUsersceneinfo = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional UserAttrData UserAttrData = 8; * @return {?proto.UserAttrData} */ proto.TeamMemberSocialData.prototype.getUserattrdata = function() { return /** @type{?proto.UserAttrData} */ ( jspb.Message.getWrapperField(this, proto.UserAttrData, 8)); }; /** * @param {?proto.UserAttrData|undefined} value * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.setUserattrdata = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.clearUserattrdata = function() { return this.setUserattrdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemberSocialData.prototype.hasUserattrdata = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional PersonalZoneShow PersonalZone = 9; * @return {?proto.PersonalZoneShow} */ proto.TeamMemberSocialData.prototype.getPersonalzone = function() { return /** @type{?proto.PersonalZoneShow} */ ( jspb.Message.getWrapperField(this, proto.PersonalZoneShow, 9)); }; /** * @param {?proto.PersonalZoneShow|undefined} value * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.setPersonalzone = function(value) { return jspb.Message.setWrapperField(this, 9, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeamMemberSocialData} returns this */ proto.TeamMemberSocialData.prototype.clearPersonalzone = function() { return this.setPersonalzone(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeamMemberSocialData.prototype.hasPersonalzone = function() { return jspb.Message.getField(this, 9) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ProfessionData.prototype.toObject = function(opt_includeInstance) { return proto.ProfessionData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ProfessionData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionData.toObject = function(includeInstance, msg) { var f, obj = { professionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, weaponskin: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ProfessionData} */ proto.ProfessionData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ProfessionData; return proto.ProfessionData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ProfessionData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ProfessionData} */ proto.ProfessionData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setProfessionid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setWeaponskin(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ProfessionData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ProfessionData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ProfessionData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 ProfessionId = 1; * @return {number} */ proto.ProfessionData.prototype.getProfessionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ProfessionData} returns this */ proto.ProfessionData.prototype.setProfessionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionData} returns this */ proto.ProfessionData.prototype.clearProfessionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionData.prototype.hasProfessionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 WeaponSkin = 2; * @return {number} */ proto.ProfessionData.prototype.getWeaponskin = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ProfessionData} returns this */ proto.ProfessionData.prototype.setWeaponskin = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionData} returns this */ proto.ProfessionData.prototype.clearWeaponskin = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionData.prototype.hasWeaponskin = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.EquipData.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EquipData.prototype.toObject = function(opt_includeInstance) { return proto.EquipData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EquipData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipData.toObject = function(includeInstance, msg) { var f, obj = { equipinfosList: jspb.Message.toObjectList(msg.getEquipinfosList(), proto.EquipNine.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EquipData} */ proto.EquipData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EquipData; return proto.EquipData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EquipData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EquipData} */ proto.EquipData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.EquipNine; reader.readMessage(value,proto.EquipNine.deserializeBinaryFromReader); msg.addEquipinfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EquipData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EquipData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EquipData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getEquipinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.EquipNine.serializeBinaryToWriter ); } }; /** * repeated EquipNine EquipInfos = 1; * @return {!Array} */ proto.EquipData.prototype.getEquipinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.EquipNine, 1)); }; /** * @param {!Array} value * @return {!proto.EquipData} returns this */ proto.EquipData.prototype.setEquipinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.EquipNine=} opt_value * @param {number=} opt_index * @return {!proto.EquipNine} */ proto.EquipData.prototype.addEquipinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.EquipNine, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.EquipData} returns this */ proto.EquipData.prototype.clearEquipinfosList = function() { return this.setEquipinfosList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EquipNine.prototype.toObject = function(opt_includeInstance) { return proto.EquipNine.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EquipNine} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipNine.toObject = function(includeInstance, msg) { var f, obj = { slot: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, equipid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EquipNine} */ proto.EquipNine.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EquipNine; return proto.EquipNine.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EquipNine} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EquipNine} */ proto.EquipNine.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSlot(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setEquipid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EquipNine.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EquipNine.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EquipNine} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipNine.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 Slot = 1; * @return {number} */ proto.EquipNine.prototype.getSlot = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.EquipNine} returns this */ proto.EquipNine.prototype.setSlot = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipNine} returns this */ proto.EquipNine.prototype.clearSlot = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipNine.prototype.hasSlot = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 EquipID = 2; * @return {number} */ proto.EquipNine.prototype.getEquipid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.EquipNine} returns this */ proto.EquipNine.prototype.setEquipid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipNine} returns this */ proto.EquipNine.prototype.clearEquipid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipNine.prototype.hasEquipid = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.FashionData.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FashionData.prototype.toObject = function(opt_includeInstance) { return proto.FashionData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FashionData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionData.toObject = function(includeInstance, msg) { var f, obj = { fashioninfosList: jspb.Message.toObjectList(msg.getFashioninfosList(), proto.FashionInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FashionData} */ proto.FashionData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FashionData; return proto.FashionData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FashionData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FashionData} */ proto.FashionData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.FashionInfo; reader.readMessage(value,proto.FashionInfo.deserializeBinaryFromReader); msg.addFashioninfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FashionData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FashionData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FashionData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getFashioninfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.FashionInfo.serializeBinaryToWriter ); } }; /** * repeated FashionInfo FashionInfos = 1; * @return {!Array} */ proto.FashionData.prototype.getFashioninfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.FashionInfo, 1)); }; /** * @param {!Array} value * @return {!proto.FashionData} returns this */ proto.FashionData.prototype.setFashioninfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.FashionInfo=} opt_value * @param {number=} opt_index * @return {!proto.FashionInfo} */ proto.FashionData.prototype.addFashioninfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.FashionInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.FashionData} returns this */ proto.FashionData.prototype.clearFashioninfosList = function() { return this.setFashioninfosList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FashionInfo.prototype.toObject = function(opt_includeInstance) { return proto.FashionInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FashionInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionInfo.toObject = function(includeInstance, msg) { var f, obj = { slot: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, fashionid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, colors: (f = msg.getColors()) && proto.FashionColorInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FashionInfo} */ proto.FashionInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FashionInfo; return proto.FashionInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FashionInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FashionInfo} */ proto.FashionInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSlot(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setFashionid(value); break; case 3: var value = new proto.FashionColorInfo; reader.readMessage(value,proto.FashionColorInfo.deserializeBinaryFromReader); msg.setColors(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FashionInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FashionInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FashionInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getColors(); if (f != null) { writer.writeMessage( 3, f, proto.FashionColorInfo.serializeBinaryToWriter ); } }; /** * optional int32 Slot = 1; * @return {number} */ proto.FashionInfo.prototype.getSlot = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FashionInfo} returns this */ proto.FashionInfo.prototype.setSlot = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionInfo} returns this */ proto.FashionInfo.prototype.clearSlot = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionInfo.prototype.hasSlot = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 FashionId = 2; * @return {number} */ proto.FashionInfo.prototype.getFashionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FashionInfo} returns this */ proto.FashionInfo.prototype.setFashionid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionInfo} returns this */ proto.FashionInfo.prototype.clearFashionid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionInfo.prototype.hasFashionid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional FashionColorInfo Colors = 3; * @return {?proto.FashionColorInfo} */ proto.FashionInfo.prototype.getColors = function() { return /** @type{?proto.FashionColorInfo} */ ( jspb.Message.getWrapperField(this, proto.FashionColorInfo, 3)); }; /** * @param {?proto.FashionColorInfo|undefined} value * @return {!proto.FashionInfo} returns this */ proto.FashionInfo.prototype.setColors = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.FashionInfo} returns this */ proto.FashionInfo.prototype.clearColors = function() { return this.setColors(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionInfo.prototype.hasColors = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FashionColorInfo.prototype.toObject = function(opt_includeInstance) { return proto.FashionColorInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FashionColorInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionColorInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, colorsMap: (f = msg.getColorsMap()) ? f.toObject(includeInstance, proto.IntVec3.toObject) : [], attachmentcolorMap: (f = msg.getAttachmentcolorMap()) ? f.toObject(includeInstance, proto.IntVec3.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FashionColorInfo} */ proto.FashionColorInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FashionColorInfo; return proto.FashionColorInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FashionColorInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FashionColorInfo} */ proto.FashionColorInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = msg.getColorsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.IntVec3.deserializeBinaryFromReader, 0, new proto.IntVec3()); }); break; case 3: var value = msg.getAttachmentcolorMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.IntVec3.deserializeBinaryFromReader, 0, new proto.IntVec3()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FashionColorInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FashionColorInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FashionColorInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionColorInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getColorsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.IntVec3.serializeBinaryToWriter); } f = message.getAttachmentcolorMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.IntVec3.serializeBinaryToWriter); } }; /** * optional int32 Id = 1; * @return {number} */ proto.FashionColorInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FashionColorInfo} returns this */ proto.FashionColorInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionColorInfo} returns this */ proto.FashionColorInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionColorInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * map Colors = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionColorInfo.prototype.getColorsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.IntVec3)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionColorInfo} returns this */ proto.FashionColorInfo.prototype.clearColorsMap = function() { this.getColorsMap().clear(); return this; }; /** * map AttachmentColor = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionColorInfo.prototype.getAttachmentcolorMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.IntVec3)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionColorInfo} returns this */ proto.FashionColorInfo.prototype.clearAttachmentcolorMap = function() { this.getAttachmentcolorMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserSceneInfo.prototype.toObject = function(opt_includeInstance) { return proto.UserSceneInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserSceneInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserSceneInfo.toObject = function(includeInstance, msg) { var f, obj = { sceneid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, sceneguid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, lineid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserSceneInfo} */ proto.UserSceneInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserSceneInfo; return proto.UserSceneInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserSceneInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserSceneInfo} */ proto.UserSceneInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setSceneguid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setLineid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserSceneInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserSceneInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserSceneInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserSceneInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 SceneId = 1; * @return {number} */ proto.UserSceneInfo.prototype.getSceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UserSceneInfo} returns this */ proto.UserSceneInfo.prototype.setSceneid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserSceneInfo} returns this */ proto.UserSceneInfo.prototype.clearSceneid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserSceneInfo.prototype.hasSceneid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string SceneGuid = 2; * @return {string} */ proto.UserSceneInfo.prototype.getSceneguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.UserSceneInfo} returns this */ proto.UserSceneInfo.prototype.setSceneguid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UserSceneInfo} returns this */ proto.UserSceneInfo.prototype.clearSceneguid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserSceneInfo.prototype.hasSceneguid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 LineId = 3; * @return {number} */ proto.UserSceneInfo.prototype.getLineid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.UserSceneInfo} returns this */ proto.UserSceneInfo.prototype.setLineid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.UserSceneInfo} returns this */ proto.UserSceneInfo.prototype.clearLineid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserSceneInfo.prototype.hasLineid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserAttrData.prototype.toObject = function(opt_includeInstance) { return proto.UserAttrData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserAttrData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserAttrData.toObject = function(includeInstance, msg) { var f, obj = { state: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, fightpoint: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserAttrData} */ proto.UserAttrData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserAttrData; return proto.UserAttrData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserAttrData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserAttrData} */ proto.UserAttrData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setState(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setFightpoint(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserAttrData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserAttrData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserAttrData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserAttrData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 State = 1; * @return {number} */ proto.UserAttrData.prototype.getState = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UserAttrData} returns this */ proto.UserAttrData.prototype.setState = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserAttrData} returns this */ proto.UserAttrData.prototype.clearState = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserAttrData.prototype.hasState = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 FightPoint = 2; * @return {number} */ proto.UserAttrData.prototype.getFightpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UserAttrData} returns this */ proto.UserAttrData.prototype.setFightpoint = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UserAttrData} returns this */ proto.UserAttrData.prototype.clearFightpoint = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserAttrData.prototype.hasFightpoint = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PersonalZoneShow.prototype.toObject = function(opt_includeInstance) { return proto.PersonalZoneShow.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PersonalZoneShow} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalZoneShow.toObject = function(includeInstance, msg) { var f, obj = { medalsMap: (f = msg.getMedalsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PersonalZoneShow} */ proto.PersonalZoneShow.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PersonalZoneShow; return proto.PersonalZoneShow.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PersonalZoneShow} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PersonalZoneShow} */ proto.PersonalZoneShow.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getMedalsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PersonalZoneShow.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PersonalZoneShow.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PersonalZoneShow} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalZoneShow.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMedalsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map Medals = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalZoneShow.prototype.getMedalsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalZoneShow} returns this */ proto.PersonalZoneShow.prototype.clearMedalsMap = function() { this.getMedalsMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.UserUnion.repeatedFields_ = [5,7,8,10]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserUnion.prototype.toObject = function(opt_includeInstance) { return proto.UserUnion.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserUnion} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserUnion.toObject = function(includeInstance, msg) { var f, obj = { unionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, nextjointime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, requniontimesMap: (f = msg.getRequniontimesMap()) ? f.toObject(includeInstance, undefined) : [], joinflag: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, collectedidsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, activeawardresettime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, receivedawardidsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, historyactivepointsList: jspb.Message.toObjectList(msg.getHistoryactivepointsList(), proto.UnionHistoryActive.toObject, includeInstance), activelastrefreshtime: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, finishdailyactiveidsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, leavetime: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, dancerecord: (f = msg.getDancerecord()) && proto.UnionDanceHistory.toObject(includeInstance, f), userunionhuntinfo: (f = msg.getUserunionhuntinfo()) && proto.UserUnionHuntInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserUnion} */ proto.UserUnion.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserUnion; return proto.UserUnion.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserUnion} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserUnion} */ proto.UserUnion.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUnionid(value); break; case 2: var value = /** @type {number} */ (reader.readUint64()); msg.setNextjointime(value); break; case 3: var value = msg.getRequniontimesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readUint64, null, 0, 0); }); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setJoinflag(value); break; case 5: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addCollectedids(values[i]); } break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setActiveawardresettime(value); break; case 7: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addReceivedawardids(values[i]); } break; case 8: var value = new proto.UnionHistoryActive; reader.readMessage(value,proto.UnionHistoryActive.deserializeBinaryFromReader); msg.addHistoryactivepoints(value); break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setActivelastrefreshtime(value); break; case 10: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addFinishdailyactiveids(values[i]); } break; case 11: var value = /** @type {number} */ (reader.readUint64()); msg.setLeavetime(value); break; case 13: var value = new proto.UnionDanceHistory; reader.readMessage(value,proto.UnionDanceHistory.deserializeBinaryFromReader); msg.setDancerecord(value); break; case 14: var value = new proto.UserUnionHuntInfo; reader.readMessage(value,proto.UserUnionHuntInfo.deserializeBinaryFromReader); msg.setUserunionhuntinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserUnion.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserUnion.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserUnion} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserUnion.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint64( 2, f ); } f = message.getRequniontimesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeUint64); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } f = message.getCollectedidsList(); if (f.length > 0) { writer.writePackedInt64( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = message.getReceivedawardidsList(); if (f.length > 0) { writer.writePackedInt32( 7, f ); } f = message.getHistoryactivepointsList(); if (f.length > 0) { writer.writeRepeatedMessage( 8, f, proto.UnionHistoryActive.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = message.getFinishdailyactiveidsList(); if (f.length > 0) { writer.writePackedInt32( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeUint64( 11, f ); } f = message.getDancerecord(); if (f != null) { writer.writeMessage( 13, f, proto.UnionDanceHistory.serializeBinaryToWriter ); } f = message.getUserunionhuntinfo(); if (f != null) { writer.writeMessage( 14, f, proto.UserUnionHuntInfo.serializeBinaryToWriter ); } }; /** * optional int64 UnionId = 1; * @return {number} */ proto.UserUnion.prototype.getUnionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setUnionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearUnionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserUnion.prototype.hasUnionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint64 NextJoinTime = 2; * @return {number} */ proto.UserUnion.prototype.getNextjointime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setNextjointime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearNextjointime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserUnion.prototype.hasNextjointime = function() { return jspb.Message.getField(this, 2) != null; }; /** * map ReqUnionTimes = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.UserUnion.prototype.getRequniontimesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearRequniontimesMap = function() { this.getRequniontimesMap().clear(); return this; }; /** * optional bool JoinFlag = 4; * @return {boolean} */ proto.UserUnion.prototype.getJoinflag = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setJoinflag = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearJoinflag = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserUnion.prototype.hasJoinflag = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated int64 CollectedIds = 5; * @return {!Array} */ proto.UserUnion.prototype.getCollectedidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); }; /** * @param {!Array} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setCollectedidsList = function(value) { return jspb.Message.setField(this, 5, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.addCollectedids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 5, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearCollectedidsList = function() { return this.setCollectedidsList([]); }; /** * optional int64 ActiveAwardResetTime = 6; * @return {number} */ proto.UserUnion.prototype.getActiveawardresettime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setActiveawardresettime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearActiveawardresettime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserUnion.prototype.hasActiveawardresettime = function() { return jspb.Message.getField(this, 6) != null; }; /** * repeated int32 ReceivedAwardIds = 7; * @return {!Array} */ proto.UserUnion.prototype.getReceivedawardidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); }; /** * @param {!Array} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setReceivedawardidsList = function(value) { return jspb.Message.setField(this, 7, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.addReceivedawardids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 7, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearReceivedawardidsList = function() { return this.setReceivedawardidsList([]); }; /** * repeated UnionHistoryActive HistoryActivePoints = 8; * @return {!Array} */ proto.UserUnion.prototype.getHistoryactivepointsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.UnionHistoryActive, 8)); }; /** * @param {!Array} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setHistoryactivepointsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 8, value); }; /** * @param {!proto.UnionHistoryActive=} opt_value * @param {number=} opt_index * @return {!proto.UnionHistoryActive} */ proto.UserUnion.prototype.addHistoryactivepoints = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.UnionHistoryActive, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearHistoryactivepointsList = function() { return this.setHistoryactivepointsList([]); }; /** * optional int64 ActiveLastRefreshTime = 9; * @return {number} */ proto.UserUnion.prototype.getActivelastrefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setActivelastrefreshtime = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearActivelastrefreshtime = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserUnion.prototype.hasActivelastrefreshtime = function() { return jspb.Message.getField(this, 9) != null; }; /** * repeated int32 FinishDailyActiveIds = 10; * @return {!Array} */ proto.UserUnion.prototype.getFinishdailyactiveidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); }; /** * @param {!Array} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setFinishdailyactiveidsList = function(value) { return jspb.Message.setField(this, 10, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.addFinishdailyactiveids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 10, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearFinishdailyactiveidsList = function() { return this.setFinishdailyactiveidsList([]); }; /** * optional uint64 LeaveTime = 11; * @return {number} */ proto.UserUnion.prototype.getLeavetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setLeavetime = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearLeavetime = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserUnion.prototype.hasLeavetime = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional UnionDanceHistory DanceRecord = 13; * @return {?proto.UnionDanceHistory} */ proto.UserUnion.prototype.getDancerecord = function() { return /** @type{?proto.UnionDanceHistory} */ ( jspb.Message.getWrapperField(this, proto.UnionDanceHistory, 13)); }; /** * @param {?proto.UnionDanceHistory|undefined} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setDancerecord = function(value) { return jspb.Message.setWrapperField(this, 13, value); }; /** * Clears the message field making it undefined. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearDancerecord = function() { return this.setDancerecord(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserUnion.prototype.hasDancerecord = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional UserUnionHuntInfo UserUnionHuntInfo = 14; * @return {?proto.UserUnionHuntInfo} */ proto.UserUnion.prototype.getUserunionhuntinfo = function() { return /** @type{?proto.UserUnionHuntInfo} */ ( jspb.Message.getWrapperField(this, proto.UserUnionHuntInfo, 14)); }; /** * @param {?proto.UserUnionHuntInfo|undefined} value * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.setUserunionhuntinfo = function(value) { return jspb.Message.setWrapperField(this, 14, value); }; /** * Clears the message field making it undefined. * @return {!proto.UserUnion} returns this */ proto.UserUnion.prototype.clearUserunionhuntinfo = function() { return this.setUserunionhuntinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserUnion.prototype.hasUserunionhuntinfo = function() { return jspb.Message.getField(this, 14) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UnionHistoryActive.prototype.toObject = function(opt_includeInstance) { return proto.UnionHistoryActive.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UnionHistoryActive} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionHistoryActive.toObject = function(includeInstance, msg) { var f, obj = { unionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, activepoints: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UnionHistoryActive} */ proto.UnionHistoryActive.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UnionHistoryActive; return proto.UnionHistoryActive.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UnionHistoryActive} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UnionHistoryActive} */ proto.UnionHistoryActive.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUnionid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setActivepoints(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UnionHistoryActive.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UnionHistoryActive.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UnionHistoryActive} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionHistoryActive.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int64 UnionId = 1; * @return {number} */ proto.UnionHistoryActive.prototype.getUnionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UnionHistoryActive} returns this */ proto.UnionHistoryActive.prototype.setUnionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionHistoryActive} returns this */ proto.UnionHistoryActive.prototype.clearUnionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionHistoryActive.prototype.hasUnionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 ActivePoints = 2; * @return {number} */ proto.UnionHistoryActive.prototype.getActivepoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UnionHistoryActive} returns this */ proto.UnionHistoryActive.prototype.setActivepoints = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionHistoryActive} returns this */ proto.UnionHistoryActive.prototype.clearActivepoints = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionHistoryActive.prototype.hasActivepoints = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UnionDanceHistory.prototype.toObject = function(opt_includeInstance) { return proto.UnionDanceHistory.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UnionDanceHistory} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionDanceHistory.toObject = function(includeInstance, msg) { var f, obj = { danceendtime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, sentdanceaward: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, drawndanceaward: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UnionDanceHistory} */ proto.UnionDanceHistory.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UnionDanceHistory; return proto.UnionDanceHistory.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UnionDanceHistory} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UnionDanceHistory} */ proto.UnionDanceHistory.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setDanceendtime(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setSentdanceaward(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setDrawndanceaward(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UnionDanceHistory.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UnionDanceHistory.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UnionDanceHistory} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionDanceHistory.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } }; /** * optional int64 DanceEndTime = 1; * @return {number} */ proto.UnionDanceHistory.prototype.getDanceendtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UnionDanceHistory} returns this */ proto.UnionDanceHistory.prototype.setDanceendtime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionDanceHistory} returns this */ proto.UnionDanceHistory.prototype.clearDanceendtime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionDanceHistory.prototype.hasDanceendtime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool SentDanceAward = 2; * @return {boolean} */ proto.UnionDanceHistory.prototype.getSentdanceaward = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.UnionDanceHistory} returns this */ proto.UnionDanceHistory.prototype.setSentdanceaward = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionDanceHistory} returns this */ proto.UnionDanceHistory.prototype.clearSentdanceaward = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionDanceHistory.prototype.hasSentdanceaward = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool DrawnDanceAward = 3; * @return {boolean} */ proto.UnionDanceHistory.prototype.getDrawndanceaward = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.UnionDanceHistory} returns this */ proto.UnionDanceHistory.prototype.setDrawndanceaward = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionDanceHistory} returns this */ proto.UnionDanceHistory.prototype.clearDrawndanceaward = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionDanceHistory.prototype.hasDrawndanceaward = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserUnionHuntInfo.prototype.toObject = function(opt_includeInstance) { return proto.UserUnionHuntInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserUnionHuntInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserUnionHuntInfo.toObject = function(includeInstance, msg) { var f, obj = { huntrank: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserUnionHuntInfo} */ proto.UserUnionHuntInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserUnionHuntInfo; return proto.UserUnionHuntInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserUnionHuntInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserUnionHuntInfo} */ proto.UserUnionHuntInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setHuntrank(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserUnionHuntInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserUnionHuntInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserUnionHuntInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserUnionHuntInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 HuntRank = 1; * @return {number} */ proto.UserUnionHuntInfo.prototype.getHuntrank = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UserUnionHuntInfo} returns this */ proto.UserUnionHuntInfo.prototype.setHuntrank = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserUnionHuntInfo} returns this */ proto.UserUnionHuntInfo.prototype.clearHuntrank = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserUnionHuntInfo.prototype.hasHuntrank = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CharSerialize.prototype.toObject = function(opt_includeInstance) { return proto.CharSerialize.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CharSerialize} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CharSerialize.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, charbase: (f = msg.getCharbase()) && proto.CharBaseInfo.toObject(includeInstance, f), scenedata: (f = msg.getScenedata()) && proto.SceneData.toObject(includeInstance, f), sceneluadata: (f = msg.getSceneluadata()) && proto.SceneLuaData.toObject(includeInstance, f), pioneerdata: (f = msg.getPioneerdata()) && proto.PioneerData.toObject(includeInstance, f), buffinfo: (f = msg.getBuffinfo()) && proto.BuffDBInfo.toObject(includeInstance, f), itempackage: (f = msg.getItempackage()) && proto.ItemPackage.toObject(includeInstance, f), questlist: (f = msg.getQuestlist()) && proto.QuestDataList.toObject(includeInstance, f), settingdata: (f = msg.getSettingdata()) && proto.SettingData.toObject(includeInstance, f), miscinfo: (f = msg.getMiscinfo()) && proto.MiscInfo.toObject(includeInstance, f), exchangeitems: (f = msg.getExchangeitems()) && proto.ExchangeItem.toObject(includeInstance, f), equip: (f = msg.getEquip()) && proto.EquipList.toObject(includeInstance, f), energyitem: (f = msg.getEnergyitem()) && proto.EnergyItem.toObject(includeInstance, f), mapdata: (f = msg.getMapdata()) && proto.MapData.toObject(includeInstance, f), dungeonlist: (f = msg.getDungeonlist()) && proto.DungeonList.toObject(includeInstance, f), attr: (f = msg.getAttr()) && proto.UserFightAttr.toObject(includeInstance, f), fashion: (f = msg.getFashion()) && proto.FashionMgr.toObject(includeInstance, f), profilelist: (f = msg.getProfilelist()) && proto.ProfileList.toObject(includeInstance, f), help: (f = msg.getHelp()) && proto.PlayHelper.toObject(includeInstance, f), counterlist: (f = msg.getCounterlist()) && proto.CounterList.toObject(includeInstance, f), personalobj: (f = msg.getPersonalobj()) && proto.PersonalObject.toObject(includeInstance, f), rolelevel: (f = msg.getRolelevel()) && proto.RoleLevel.toObject(includeInstance, f), pivot: (f = msg.getPivot()) && proto.Pivot.toObject(includeInstance, f), transferpoint: (f = msg.getTransferpoint()) && proto.TransferPoint.toObject(includeInstance, f), planetmemory: (f = msg.getPlanetmemory()) && proto.PlanetMemory.toObject(includeInstance, f), planetmemorytarget: (f = msg.getPlanetmemorytarget()) && proto.SeasonTarget.toObject(includeInstance, f), reddot: (f = msg.getReddot()) && proto.RedDotData.toObject(includeInstance, f), resonance: (f = msg.getResonance()) && proto.Resonance.toObject(includeInstance, f), cutsstate: (f = msg.getCutsstate()) && proto.CutsState.toObject(includeInstance, f), investigatelist: (f = msg.getInvestigatelist()) && proto.InvestigateList.toObject(includeInstance, f), records: (f = msg.getRecords()) && proto.ParkourRecordList.toObject(includeInstance, f), interaction: (f = msg.getInteraction()) && proto.InteractionInfo.toObject(includeInstance, f), seasonquestlist: (f = msg.getSeasonquestlist()) && proto.SeasonQuestList.toObject(includeInstance, f), roleface: (f = msg.getRoleface()) && proto.RoleFace.toObject(includeInstance, f), mapbooklist: (f = msg.getMapbooklist()) && proto.MapBookInfoList.toObject(includeInstance, f), functiondata: (f = msg.getFunctiondata()) && proto.FunctionData.toObject(includeInstance, f), antiinfo: (f = msg.getAntiinfo()) && proto.AntiAddictionInfo.toObject(includeInstance, f), monsterexplorelist: (f = msg.getMonsterexplorelist()) && proto.MonsterExploreList.toObject(includeInstance, f), showpiecedata: (f = msg.getShowpiecedata()) && proto.ShowPieceData.toObject(includeInstance, f), collectionbook: (f = msg.getCollectionbook()) && proto.CollectionBook.toObject(includeInstance, f), notgetproceedawardtimes: (f = msg.getNotgetproceedawardtimes()) && proto.NotGetProceedAwardInfo.toObject(includeInstance, f), cooklist: (f = msg.getCooklist()) && proto.CookList.toObject(includeInstance, f), refreshdatalist: (f = msg.getRefreshdatalist()) && proto.TimerRefreshDataList.toObject(includeInstance, f), challengedungeoninfo: (f = msg.getChallengedungeoninfo()) && proto.ChallengeDungeonInfo.toObject(includeInstance, f), syncawarddata: (f = msg.getSyncawarddata()) && proto.SyncAwardData.toObject(includeInstance, f), seasonachievementlist: (f = msg.getSeasonachievementlist()) && proto.SeasonAchievementList.toObject(includeInstance, f), seasonranklist: (f = msg.getSeasonranklist()) && proto.SeasonRankList.toObject(includeInstance, f), seasoncenter: (f = msg.getSeasoncenter()) && proto.SeasonCenter.toObject(includeInstance, f), personalzone: (f = msg.getPersonalzone()) && proto.PersonalZone.toObject(includeInstance, f), seasonmedalinfo: (f = msg.getSeasonmedalinfo()) && proto.SeasonMedalInfo.toObject(includeInstance, f), communityhomeinfo: (f = msg.getCommunityhomeinfo()) && proto.CommunityHomeData.toObject(includeInstance, f), seasonactivation: (f = msg.getSeasonactivation()) && proto.SeasonActivation.toObject(includeInstance, f), slots: (f = msg.getSlots()) && proto.Slot.toObject(includeInstance, f), monsterhuntinfo: (f = msg.getMonsterhuntinfo()) && proto.MonsterHuntInfo.toObject(includeInstance, f), mod: (f = msg.getMod()) && proto.Mod.toObject(includeInstance, f), worldeventmap: (f = msg.getWorldeventmap()) && proto.WorldEventMap.toObject(includeInstance, f), fishsetting: (f = msg.getFishsetting()) && proto.FishSetting.toObject(includeInstance, f), freightdata: (f = msg.getFreightdata()) && proto.FreightData.toObject(includeInstance, f), professionlist: (f = msg.getProfessionlist()) && proto.ProfessionList.toObject(includeInstance, f), trialroad: (f = msg.getTrialroad()) && proto.TrialRoad.toObject(includeInstance, f), gashadata: (f = msg.getGashadata()) && proto.GashaData.toObject(includeInstance, f), shopdata: (f = msg.getShopdata()) && proto.ShopData.toObject(includeInstance, f), personalworldbossinfo: (f = msg.getPersonalworldbossinfo()) && proto.PersonalWorldBossInfo.toObject(includeInstance, f), craftenergy: (f = msg.getCraftenergy()) && proto.CraftEnergyRecord.toObject(includeInstance, f), weeklytower: (f = msg.getWeeklytower()) && proto.WeeklyTowerRecord.toObject(includeInstance, f), cutsceneinfos: (f = msg.getCutsceneinfos()) && proto.CutSceneInfos.toObject(includeInstance, f), recommendplaydata: (f = msg.getRecommendplaydata()) && proto.UserRecommendPlayData.toObject(includeInstance, f), ridelist: (f = msg.getRidelist()) && proto.RideList.toObject(includeInstance, f), payorderlist: (f = msg.getPayorderlist()) && proto.PayOrderList.toObject(includeInstance, f), lifeprofession: (f = msg.getLifeprofession()) && proto.LifeProfession.toObject(includeInstance, f), lifeprofessionwork: (f = msg.getLifeprofessionwork()) && proto.LifeProfessionWork.toObject(includeInstance, f), useractivitylist: (f = msg.getUseractivitylist()) && proto.UserActivityList.toObject(includeInstance, f), playerrecord: (f = msg.getPlayerrecord()) && proto.PlayerRecord.toObject(includeInstance, f), dropcontainer: (f = msg.getDropcontainer()) && proto.DropContainerInfo.toObject(includeInstance, f), monthlycard: (f = msg.getMonthlycard()) && proto.MonthlyCard.toObject(includeInstance, f), fashionbenefit: (f = msg.getFashionbenefit()) && proto.FashionBenefit.toObject(includeInstance, f), itemcurrency: (f = msg.getItemcurrency()) && proto.ItemCurrency.toObject(includeInstance, f), privilegeeffectdata: (f = msg.getPrivilegeeffectdata()) && proto.PrivilegeEffectData.toObject(includeInstance, f), treasure: (f = msg.getTreasure()) && proto.Treasure.toObject(includeInstance, f), unlockemojidata: (f = msg.getUnlockemojidata()) && proto.UnlockEmojiData.toObject(includeInstance, f), playerordercomtainerinfo: (f = msg.getPlayerordercomtainerinfo()) && proto.PlayerOrderComtainerInfo.toObject(includeInstance, f), playerbox: (f = msg.getPlayerbox()) && proto.PlayerBox.toObject(includeInstance, f), launchprivilegedata: (f = msg.getLaunchprivilegedata()) && proto.LaunchPrivilegeData.toObject(includeInstance, f), battlepassdata: (f = msg.getBattlepassdata()) && proto.BattlePassData.toObject(includeInstance, f), rechargedata: (f = msg.getRechargedata()) && proto.RechargeData.toObject(includeInstance, f), luckyvaluemgr: (f = msg.getLuckyvaluemgr()) && proto.LuckyValueMgr.toObject(includeInstance, f), handbookdata: (f = msg.getHandbookdata()) && proto.HandbookData.toObject(includeInstance, f), mastermodedungeoninfo: (f = msg.getMastermodedungeoninfo()) && proto.MasterModeDungeonInfo.toObject(includeInstance, f), statisticsdata: (f = msg.getStatisticsdata()) && proto.StatisticsData.toObject(includeInstance, f), compenstionstatistics: (f = msg.getCompenstionstatistics()) && proto.CompensationStatistics.toObject(includeInstance, f), bubbleactdata: (f = msg.getBubbleactdata()) && proto.BubbleActData.toObject(includeInstance, f), mailclaimedinfo: (f = msg.getMailclaimedinfo()) && proto.MailClaimedInfo.toObject(includeInstance, f), newbiedata: (f = msg.getNewbiedata()) && proto.NewbieData.toObject(includeInstance, f), fightpoint: (f = msg.getFightpoint()) && proto.FightPoint.toObject(includeInstance, f), sign: (f = msg.getSign()) && proto.SignInfo.toObject(includeInstance, f), charstatisticsdata: (f = msg.getCharstatisticsdata()) && proto.CharStatisticsData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CharSerialize} */ proto.CharSerialize.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CharSerialize; return proto.CharSerialize.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CharSerialize} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CharSerialize} */ proto.CharSerialize.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = new proto.CharBaseInfo; reader.readMessage(value,proto.CharBaseInfo.deserializeBinaryFromReader); msg.setCharbase(value); break; case 3: var value = new proto.SceneData; reader.readMessage(value,proto.SceneData.deserializeBinaryFromReader); msg.setScenedata(value); break; case 4: var value = new proto.SceneLuaData; reader.readMessage(value,proto.SceneLuaData.deserializeBinaryFromReader); msg.setSceneluadata(value); break; case 5: var value = new proto.PioneerData; reader.readMessage(value,proto.PioneerData.deserializeBinaryFromReader); msg.setPioneerdata(value); break; case 6: var value = new proto.BuffDBInfo; reader.readMessage(value,proto.BuffDBInfo.deserializeBinaryFromReader); msg.setBuffinfo(value); break; case 7: var value = new proto.ItemPackage; reader.readMessage(value,proto.ItemPackage.deserializeBinaryFromReader); msg.setItempackage(value); break; case 8: var value = new proto.QuestDataList; reader.readMessage(value,proto.QuestDataList.deserializeBinaryFromReader); msg.setQuestlist(value); break; case 9: var value = new proto.SettingData; reader.readMessage(value,proto.SettingData.deserializeBinaryFromReader); msg.setSettingdata(value); break; case 10: var value = new proto.MiscInfo; reader.readMessage(value,proto.MiscInfo.deserializeBinaryFromReader); msg.setMiscinfo(value); break; case 11: var value = new proto.ExchangeItem; reader.readMessage(value,proto.ExchangeItem.deserializeBinaryFromReader); msg.setExchangeitems(value); break; case 12: var value = new proto.EquipList; reader.readMessage(value,proto.EquipList.deserializeBinaryFromReader); msg.setEquip(value); break; case 13: var value = new proto.EnergyItem; reader.readMessage(value,proto.EnergyItem.deserializeBinaryFromReader); msg.setEnergyitem(value); break; case 14: var value = new proto.MapData; reader.readMessage(value,proto.MapData.deserializeBinaryFromReader); msg.setMapdata(value); break; case 15: var value = new proto.DungeonList; reader.readMessage(value,proto.DungeonList.deserializeBinaryFromReader); msg.setDungeonlist(value); break; case 16: var value = new proto.UserFightAttr; reader.readMessage(value,proto.UserFightAttr.deserializeBinaryFromReader); msg.setAttr(value); break; case 17: var value = new proto.FashionMgr; reader.readMessage(value,proto.FashionMgr.deserializeBinaryFromReader); msg.setFashion(value); break; case 18: var value = new proto.ProfileList; reader.readMessage(value,proto.ProfileList.deserializeBinaryFromReader); msg.setProfilelist(value); break; case 19: var value = new proto.PlayHelper; reader.readMessage(value,proto.PlayHelper.deserializeBinaryFromReader); msg.setHelp(value); break; case 20: var value = new proto.CounterList; reader.readMessage(value,proto.CounterList.deserializeBinaryFromReader); msg.setCounterlist(value); break; case 21: var value = new proto.PersonalObject; reader.readMessage(value,proto.PersonalObject.deserializeBinaryFromReader); msg.setPersonalobj(value); break; case 22: var value = new proto.RoleLevel; reader.readMessage(value,proto.RoleLevel.deserializeBinaryFromReader); msg.setRolelevel(value); break; case 23: var value = new proto.Pivot; reader.readMessage(value,proto.Pivot.deserializeBinaryFromReader); msg.setPivot(value); break; case 24: var value = new proto.TransferPoint; reader.readMessage(value,proto.TransferPoint.deserializeBinaryFromReader); msg.setTransferpoint(value); break; case 25: var value = new proto.PlanetMemory; reader.readMessage(value,proto.PlanetMemory.deserializeBinaryFromReader); msg.setPlanetmemory(value); break; case 26: var value = new proto.SeasonTarget; reader.readMessage(value,proto.SeasonTarget.deserializeBinaryFromReader); msg.setPlanetmemorytarget(value); break; case 27: var value = new proto.RedDotData; reader.readMessage(value,proto.RedDotData.deserializeBinaryFromReader); msg.setReddot(value); break; case 28: var value = new proto.Resonance; reader.readMessage(value,proto.Resonance.deserializeBinaryFromReader); msg.setResonance(value); break; case 29: var value = new proto.CutsState; reader.readMessage(value,proto.CutsState.deserializeBinaryFromReader); msg.setCutsstate(value); break; case 30: var value = new proto.InvestigateList; reader.readMessage(value,proto.InvestigateList.deserializeBinaryFromReader); msg.setInvestigatelist(value); break; case 31: var value = new proto.ParkourRecordList; reader.readMessage(value,proto.ParkourRecordList.deserializeBinaryFromReader); msg.setRecords(value); break; case 32: var value = new proto.InteractionInfo; reader.readMessage(value,proto.InteractionInfo.deserializeBinaryFromReader); msg.setInteraction(value); break; case 33: var value = new proto.SeasonQuestList; reader.readMessage(value,proto.SeasonQuestList.deserializeBinaryFromReader); msg.setSeasonquestlist(value); break; case 34: var value = new proto.RoleFace; reader.readMessage(value,proto.RoleFace.deserializeBinaryFromReader); msg.setRoleface(value); break; case 35: var value = new proto.MapBookInfoList; reader.readMessage(value,proto.MapBookInfoList.deserializeBinaryFromReader); msg.setMapbooklist(value); break; case 36: var value = new proto.FunctionData; reader.readMessage(value,proto.FunctionData.deserializeBinaryFromReader); msg.setFunctiondata(value); break; case 37: var value = new proto.AntiAddictionInfo; reader.readMessage(value,proto.AntiAddictionInfo.deserializeBinaryFromReader); msg.setAntiinfo(value); break; case 38: var value = new proto.MonsterExploreList; reader.readMessage(value,proto.MonsterExploreList.deserializeBinaryFromReader); msg.setMonsterexplorelist(value); break; case 39: var value = new proto.ShowPieceData; reader.readMessage(value,proto.ShowPieceData.deserializeBinaryFromReader); msg.setShowpiecedata(value); break; case 42: var value = new proto.CollectionBook; reader.readMessage(value,proto.CollectionBook.deserializeBinaryFromReader); msg.setCollectionbook(value); break; case 43: var value = new proto.NotGetProceedAwardInfo; reader.readMessage(value,proto.NotGetProceedAwardInfo.deserializeBinaryFromReader); msg.setNotgetproceedawardtimes(value); break; case 44: var value = new proto.CookList; reader.readMessage(value,proto.CookList.deserializeBinaryFromReader); msg.setCooklist(value); break; case 45: var value = new proto.TimerRefreshDataList; reader.readMessage(value,proto.TimerRefreshDataList.deserializeBinaryFromReader); msg.setRefreshdatalist(value); break; case 46: var value = new proto.ChallengeDungeonInfo; reader.readMessage(value,proto.ChallengeDungeonInfo.deserializeBinaryFromReader); msg.setChallengedungeoninfo(value); break; case 47: var value = new proto.SyncAwardData; reader.readMessage(value,proto.SyncAwardData.deserializeBinaryFromReader); msg.setSyncawarddata(value); break; case 48: var value = new proto.SeasonAchievementList; reader.readMessage(value,proto.SeasonAchievementList.deserializeBinaryFromReader); msg.setSeasonachievementlist(value); break; case 49: var value = new proto.SeasonRankList; reader.readMessage(value,proto.SeasonRankList.deserializeBinaryFromReader); msg.setSeasonranklist(value); break; case 50: var value = new proto.SeasonCenter; reader.readMessage(value,proto.SeasonCenter.deserializeBinaryFromReader); msg.setSeasoncenter(value); break; case 51: var value = new proto.PersonalZone; reader.readMessage(value,proto.PersonalZone.deserializeBinaryFromReader); msg.setPersonalzone(value); break; case 52: var value = new proto.SeasonMedalInfo; reader.readMessage(value,proto.SeasonMedalInfo.deserializeBinaryFromReader); msg.setSeasonmedalinfo(value); break; case 53: var value = new proto.CommunityHomeData; reader.readMessage(value,proto.CommunityHomeData.deserializeBinaryFromReader); msg.setCommunityhomeinfo(value); break; case 54: var value = new proto.SeasonActivation; reader.readMessage(value,proto.SeasonActivation.deserializeBinaryFromReader); msg.setSeasonactivation(value); break; case 55: var value = new proto.Slot; reader.readMessage(value,proto.Slot.deserializeBinaryFromReader); msg.setSlots(value); break; case 56: var value = new proto.MonsterHuntInfo; reader.readMessage(value,proto.MonsterHuntInfo.deserializeBinaryFromReader); msg.setMonsterhuntinfo(value); break; case 57: var value = new proto.Mod; reader.readMessage(value,proto.Mod.deserializeBinaryFromReader); msg.setMod(value); break; case 58: var value = new proto.WorldEventMap; reader.readMessage(value,proto.WorldEventMap.deserializeBinaryFromReader); msg.setWorldeventmap(value); break; case 59: var value = new proto.FishSetting; reader.readMessage(value,proto.FishSetting.deserializeBinaryFromReader); msg.setFishsetting(value); break; case 60: var value = new proto.FreightData; reader.readMessage(value,proto.FreightData.deserializeBinaryFromReader); msg.setFreightdata(value); break; case 61: var value = new proto.ProfessionList; reader.readMessage(value,proto.ProfessionList.deserializeBinaryFromReader); msg.setProfessionlist(value); break; case 62: var value = new proto.TrialRoad; reader.readMessage(value,proto.TrialRoad.deserializeBinaryFromReader); msg.setTrialroad(value); break; case 63: var value = new proto.GashaData; reader.readMessage(value,proto.GashaData.deserializeBinaryFromReader); msg.setGashadata(value); break; case 64: var value = new proto.ShopData; reader.readMessage(value,proto.ShopData.deserializeBinaryFromReader); msg.setShopdata(value); break; case 65: var value = new proto.PersonalWorldBossInfo; reader.readMessage(value,proto.PersonalWorldBossInfo.deserializeBinaryFromReader); msg.setPersonalworldbossinfo(value); break; case 66: var value = new proto.CraftEnergyRecord; reader.readMessage(value,proto.CraftEnergyRecord.deserializeBinaryFromReader); msg.setCraftenergy(value); break; case 67: var value = new proto.WeeklyTowerRecord; reader.readMessage(value,proto.WeeklyTowerRecord.deserializeBinaryFromReader); msg.setWeeklytower(value); break; case 68: var value = new proto.CutSceneInfos; reader.readMessage(value,proto.CutSceneInfos.deserializeBinaryFromReader); msg.setCutsceneinfos(value); break; case 69: var value = new proto.UserRecommendPlayData; reader.readMessage(value,proto.UserRecommendPlayData.deserializeBinaryFromReader); msg.setRecommendplaydata(value); break; case 70: var value = new proto.RideList; reader.readMessage(value,proto.RideList.deserializeBinaryFromReader); msg.setRidelist(value); break; case 71: var value = new proto.PayOrderList; reader.readMessage(value,proto.PayOrderList.deserializeBinaryFromReader); msg.setPayorderlist(value); break; case 72: var value = new proto.LifeProfession; reader.readMessage(value,proto.LifeProfession.deserializeBinaryFromReader); msg.setLifeprofession(value); break; case 73: var value = new proto.LifeProfessionWork; reader.readMessage(value,proto.LifeProfessionWork.deserializeBinaryFromReader); msg.setLifeprofessionwork(value); break; case 74: var value = new proto.UserActivityList; reader.readMessage(value,proto.UserActivityList.deserializeBinaryFromReader); msg.setUseractivitylist(value); break; case 75: var value = new proto.PlayerRecord; reader.readMessage(value,proto.PlayerRecord.deserializeBinaryFromReader); msg.setPlayerrecord(value); break; case 76: var value = new proto.DropContainerInfo; reader.readMessage(value,proto.DropContainerInfo.deserializeBinaryFromReader); msg.setDropcontainer(value); break; case 77: var value = new proto.MonthlyCard; reader.readMessage(value,proto.MonthlyCard.deserializeBinaryFromReader); msg.setMonthlycard(value); break; case 78: var value = new proto.FashionBenefit; reader.readMessage(value,proto.FashionBenefit.deserializeBinaryFromReader); msg.setFashionbenefit(value); break; case 79: var value = new proto.ItemCurrency; reader.readMessage(value,proto.ItemCurrency.deserializeBinaryFromReader); msg.setItemcurrency(value); break; case 80: var value = new proto.PrivilegeEffectData; reader.readMessage(value,proto.PrivilegeEffectData.deserializeBinaryFromReader); msg.setPrivilegeeffectdata(value); break; case 81: var value = new proto.Treasure; reader.readMessage(value,proto.Treasure.deserializeBinaryFromReader); msg.setTreasure(value); break; case 82: var value = new proto.UnlockEmojiData; reader.readMessage(value,proto.UnlockEmojiData.deserializeBinaryFromReader); msg.setUnlockemojidata(value); break; case 83: var value = new proto.PlayerOrderComtainerInfo; reader.readMessage(value,proto.PlayerOrderComtainerInfo.deserializeBinaryFromReader); msg.setPlayerordercomtainerinfo(value); break; case 84: var value = new proto.PlayerBox; reader.readMessage(value,proto.PlayerBox.deserializeBinaryFromReader); msg.setPlayerbox(value); break; case 85: var value = new proto.LaunchPrivilegeData; reader.readMessage(value,proto.LaunchPrivilegeData.deserializeBinaryFromReader); msg.setLaunchprivilegedata(value); break; case 86: var value = new proto.BattlePassData; reader.readMessage(value,proto.BattlePassData.deserializeBinaryFromReader); msg.setBattlepassdata(value); break; case 87: var value = new proto.RechargeData; reader.readMessage(value,proto.RechargeData.deserializeBinaryFromReader); msg.setRechargedata(value); break; case 88: var value = new proto.LuckyValueMgr; reader.readMessage(value,proto.LuckyValueMgr.deserializeBinaryFromReader); msg.setLuckyvaluemgr(value); break; case 89: var value = new proto.HandbookData; reader.readMessage(value,proto.HandbookData.deserializeBinaryFromReader); msg.setHandbookdata(value); break; case 90: var value = new proto.MasterModeDungeonInfo; reader.readMessage(value,proto.MasterModeDungeonInfo.deserializeBinaryFromReader); msg.setMastermodedungeoninfo(value); break; case 91: var value = new proto.StatisticsData; reader.readMessage(value,proto.StatisticsData.deserializeBinaryFromReader); msg.setStatisticsdata(value); break; case 92: var value = new proto.CompensationStatistics; reader.readMessage(value,proto.CompensationStatistics.deserializeBinaryFromReader); msg.setCompenstionstatistics(value); break; case 93: var value = new proto.BubbleActData; reader.readMessage(value,proto.BubbleActData.deserializeBinaryFromReader); msg.setBubbleactdata(value); break; case 94: var value = new proto.MailClaimedInfo; reader.readMessage(value,proto.MailClaimedInfo.deserializeBinaryFromReader); msg.setMailclaimedinfo(value); break; case 95: var value = new proto.NewbieData; reader.readMessage(value,proto.NewbieData.deserializeBinaryFromReader); msg.setNewbiedata(value); break; case 96: var value = new proto.FightPoint; reader.readMessage(value,proto.FightPoint.deserializeBinaryFromReader); msg.setFightpoint(value); break; case 97: var value = new proto.SignInfo; reader.readMessage(value,proto.SignInfo.deserializeBinaryFromReader); msg.setSign(value); break; case 98: var value = new proto.CharStatisticsData; reader.readMessage(value,proto.CharStatisticsData.deserializeBinaryFromReader); msg.setCharstatisticsdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CharSerialize.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CharSerialize.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CharSerialize} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CharSerialize.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getCharbase(); if (f != null) { writer.writeMessage( 2, f, proto.CharBaseInfo.serializeBinaryToWriter ); } f = message.getScenedata(); if (f != null) { writer.writeMessage( 3, f, proto.SceneData.serializeBinaryToWriter ); } f = message.getSceneluadata(); if (f != null) { writer.writeMessage( 4, f, proto.SceneLuaData.serializeBinaryToWriter ); } f = message.getPioneerdata(); if (f != null) { writer.writeMessage( 5, f, proto.PioneerData.serializeBinaryToWriter ); } f = message.getBuffinfo(); if (f != null) { writer.writeMessage( 6, f, proto.BuffDBInfo.serializeBinaryToWriter ); } f = message.getItempackage(); if (f != null) { writer.writeMessage( 7, f, proto.ItemPackage.serializeBinaryToWriter ); } f = message.getQuestlist(); if (f != null) { writer.writeMessage( 8, f, proto.QuestDataList.serializeBinaryToWriter ); } f = message.getSettingdata(); if (f != null) { writer.writeMessage( 9, f, proto.SettingData.serializeBinaryToWriter ); } f = message.getMiscinfo(); if (f != null) { writer.writeMessage( 10, f, proto.MiscInfo.serializeBinaryToWriter ); } f = message.getExchangeitems(); if (f != null) { writer.writeMessage( 11, f, proto.ExchangeItem.serializeBinaryToWriter ); } f = message.getEquip(); if (f != null) { writer.writeMessage( 12, f, proto.EquipList.serializeBinaryToWriter ); } f = message.getEnergyitem(); if (f != null) { writer.writeMessage( 13, f, proto.EnergyItem.serializeBinaryToWriter ); } f = message.getMapdata(); if (f != null) { writer.writeMessage( 14, f, proto.MapData.serializeBinaryToWriter ); } f = message.getDungeonlist(); if (f != null) { writer.writeMessage( 15, f, proto.DungeonList.serializeBinaryToWriter ); } f = message.getAttr(); if (f != null) { writer.writeMessage( 16, f, proto.UserFightAttr.serializeBinaryToWriter ); } f = message.getFashion(); if (f != null) { writer.writeMessage( 17, f, proto.FashionMgr.serializeBinaryToWriter ); } f = message.getProfilelist(); if (f != null) { writer.writeMessage( 18, f, proto.ProfileList.serializeBinaryToWriter ); } f = message.getHelp(); if (f != null) { writer.writeMessage( 19, f, proto.PlayHelper.serializeBinaryToWriter ); } f = message.getCounterlist(); if (f != null) { writer.writeMessage( 20, f, proto.CounterList.serializeBinaryToWriter ); } f = message.getPersonalobj(); if (f != null) { writer.writeMessage( 21, f, proto.PersonalObject.serializeBinaryToWriter ); } f = message.getRolelevel(); if (f != null) { writer.writeMessage( 22, f, proto.RoleLevel.serializeBinaryToWriter ); } f = message.getPivot(); if (f != null) { writer.writeMessage( 23, f, proto.Pivot.serializeBinaryToWriter ); } f = message.getTransferpoint(); if (f != null) { writer.writeMessage( 24, f, proto.TransferPoint.serializeBinaryToWriter ); } f = message.getPlanetmemory(); if (f != null) { writer.writeMessage( 25, f, proto.PlanetMemory.serializeBinaryToWriter ); } f = message.getPlanetmemorytarget(); if (f != null) { writer.writeMessage( 26, f, proto.SeasonTarget.serializeBinaryToWriter ); } f = message.getReddot(); if (f != null) { writer.writeMessage( 27, f, proto.RedDotData.serializeBinaryToWriter ); } f = message.getResonance(); if (f != null) { writer.writeMessage( 28, f, proto.Resonance.serializeBinaryToWriter ); } f = message.getCutsstate(); if (f != null) { writer.writeMessage( 29, f, proto.CutsState.serializeBinaryToWriter ); } f = message.getInvestigatelist(); if (f != null) { writer.writeMessage( 30, f, proto.InvestigateList.serializeBinaryToWriter ); } f = message.getRecords(); if (f != null) { writer.writeMessage( 31, f, proto.ParkourRecordList.serializeBinaryToWriter ); } f = message.getInteraction(); if (f != null) { writer.writeMessage( 32, f, proto.InteractionInfo.serializeBinaryToWriter ); } f = message.getSeasonquestlist(); if (f != null) { writer.writeMessage( 33, f, proto.SeasonQuestList.serializeBinaryToWriter ); } f = message.getRoleface(); if (f != null) { writer.writeMessage( 34, f, proto.RoleFace.serializeBinaryToWriter ); } f = message.getMapbooklist(); if (f != null) { writer.writeMessage( 35, f, proto.MapBookInfoList.serializeBinaryToWriter ); } f = message.getFunctiondata(); if (f != null) { writer.writeMessage( 36, f, proto.FunctionData.serializeBinaryToWriter ); } f = message.getAntiinfo(); if (f != null) { writer.writeMessage( 37, f, proto.AntiAddictionInfo.serializeBinaryToWriter ); } f = message.getMonsterexplorelist(); if (f != null) { writer.writeMessage( 38, f, proto.MonsterExploreList.serializeBinaryToWriter ); } f = message.getShowpiecedata(); if (f != null) { writer.writeMessage( 39, f, proto.ShowPieceData.serializeBinaryToWriter ); } f = message.getCollectionbook(); if (f != null) { writer.writeMessage( 42, f, proto.CollectionBook.serializeBinaryToWriter ); } f = message.getNotgetproceedawardtimes(); if (f != null) { writer.writeMessage( 43, f, proto.NotGetProceedAwardInfo.serializeBinaryToWriter ); } f = message.getCooklist(); if (f != null) { writer.writeMessage( 44, f, proto.CookList.serializeBinaryToWriter ); } f = message.getRefreshdatalist(); if (f != null) { writer.writeMessage( 45, f, proto.TimerRefreshDataList.serializeBinaryToWriter ); } f = message.getChallengedungeoninfo(); if (f != null) { writer.writeMessage( 46, f, proto.ChallengeDungeonInfo.serializeBinaryToWriter ); } f = message.getSyncawarddata(); if (f != null) { writer.writeMessage( 47, f, proto.SyncAwardData.serializeBinaryToWriter ); } f = message.getSeasonachievementlist(); if (f != null) { writer.writeMessage( 48, f, proto.SeasonAchievementList.serializeBinaryToWriter ); } f = message.getSeasonranklist(); if (f != null) { writer.writeMessage( 49, f, proto.SeasonRankList.serializeBinaryToWriter ); } f = message.getSeasoncenter(); if (f != null) { writer.writeMessage( 50, f, proto.SeasonCenter.serializeBinaryToWriter ); } f = message.getPersonalzone(); if (f != null) { writer.writeMessage( 51, f, proto.PersonalZone.serializeBinaryToWriter ); } f = message.getSeasonmedalinfo(); if (f != null) { writer.writeMessage( 52, f, proto.SeasonMedalInfo.serializeBinaryToWriter ); } f = message.getCommunityhomeinfo(); if (f != null) { writer.writeMessage( 53, f, proto.CommunityHomeData.serializeBinaryToWriter ); } f = message.getSeasonactivation(); if (f != null) { writer.writeMessage( 54, f, proto.SeasonActivation.serializeBinaryToWriter ); } f = message.getSlots(); if (f != null) { writer.writeMessage( 55, f, proto.Slot.serializeBinaryToWriter ); } f = message.getMonsterhuntinfo(); if (f != null) { writer.writeMessage( 56, f, proto.MonsterHuntInfo.serializeBinaryToWriter ); } f = message.getMod(); if (f != null) { writer.writeMessage( 57, f, proto.Mod.serializeBinaryToWriter ); } f = message.getWorldeventmap(); if (f != null) { writer.writeMessage( 58, f, proto.WorldEventMap.serializeBinaryToWriter ); } f = message.getFishsetting(); if (f != null) { writer.writeMessage( 59, f, proto.FishSetting.serializeBinaryToWriter ); } f = message.getFreightdata(); if (f != null) { writer.writeMessage( 60, f, proto.FreightData.serializeBinaryToWriter ); } f = message.getProfessionlist(); if (f != null) { writer.writeMessage( 61, f, proto.ProfessionList.serializeBinaryToWriter ); } f = message.getTrialroad(); if (f != null) { writer.writeMessage( 62, f, proto.TrialRoad.serializeBinaryToWriter ); } f = message.getGashadata(); if (f != null) { writer.writeMessage( 63, f, proto.GashaData.serializeBinaryToWriter ); } f = message.getShopdata(); if (f != null) { writer.writeMessage( 64, f, proto.ShopData.serializeBinaryToWriter ); } f = message.getPersonalworldbossinfo(); if (f != null) { writer.writeMessage( 65, f, proto.PersonalWorldBossInfo.serializeBinaryToWriter ); } f = message.getCraftenergy(); if (f != null) { writer.writeMessage( 66, f, proto.CraftEnergyRecord.serializeBinaryToWriter ); } f = message.getWeeklytower(); if (f != null) { writer.writeMessage( 67, f, proto.WeeklyTowerRecord.serializeBinaryToWriter ); } f = message.getCutsceneinfos(); if (f != null) { writer.writeMessage( 68, f, proto.CutSceneInfos.serializeBinaryToWriter ); } f = message.getRecommendplaydata(); if (f != null) { writer.writeMessage( 69, f, proto.UserRecommendPlayData.serializeBinaryToWriter ); } f = message.getRidelist(); if (f != null) { writer.writeMessage( 70, f, proto.RideList.serializeBinaryToWriter ); } f = message.getPayorderlist(); if (f != null) { writer.writeMessage( 71, f, proto.PayOrderList.serializeBinaryToWriter ); } f = message.getLifeprofession(); if (f != null) { writer.writeMessage( 72, f, proto.LifeProfession.serializeBinaryToWriter ); } f = message.getLifeprofessionwork(); if (f != null) { writer.writeMessage( 73, f, proto.LifeProfessionWork.serializeBinaryToWriter ); } f = message.getUseractivitylist(); if (f != null) { writer.writeMessage( 74, f, proto.UserActivityList.serializeBinaryToWriter ); } f = message.getPlayerrecord(); if (f != null) { writer.writeMessage( 75, f, proto.PlayerRecord.serializeBinaryToWriter ); } f = message.getDropcontainer(); if (f != null) { writer.writeMessage( 76, f, proto.DropContainerInfo.serializeBinaryToWriter ); } f = message.getMonthlycard(); if (f != null) { writer.writeMessage( 77, f, proto.MonthlyCard.serializeBinaryToWriter ); } f = message.getFashionbenefit(); if (f != null) { writer.writeMessage( 78, f, proto.FashionBenefit.serializeBinaryToWriter ); } f = message.getItemcurrency(); if (f != null) { writer.writeMessage( 79, f, proto.ItemCurrency.serializeBinaryToWriter ); } f = message.getPrivilegeeffectdata(); if (f != null) { writer.writeMessage( 80, f, proto.PrivilegeEffectData.serializeBinaryToWriter ); } f = message.getTreasure(); if (f != null) { writer.writeMessage( 81, f, proto.Treasure.serializeBinaryToWriter ); } f = message.getUnlockemojidata(); if (f != null) { writer.writeMessage( 82, f, proto.UnlockEmojiData.serializeBinaryToWriter ); } f = message.getPlayerordercomtainerinfo(); if (f != null) { writer.writeMessage( 83, f, proto.PlayerOrderComtainerInfo.serializeBinaryToWriter ); } f = message.getPlayerbox(); if (f != null) { writer.writeMessage( 84, f, proto.PlayerBox.serializeBinaryToWriter ); } f = message.getLaunchprivilegedata(); if (f != null) { writer.writeMessage( 85, f, proto.LaunchPrivilegeData.serializeBinaryToWriter ); } f = message.getBattlepassdata(); if (f != null) { writer.writeMessage( 86, f, proto.BattlePassData.serializeBinaryToWriter ); } f = message.getRechargedata(); if (f != null) { writer.writeMessage( 87, f, proto.RechargeData.serializeBinaryToWriter ); } f = message.getLuckyvaluemgr(); if (f != null) { writer.writeMessage( 88, f, proto.LuckyValueMgr.serializeBinaryToWriter ); } f = message.getHandbookdata(); if (f != null) { writer.writeMessage( 89, f, proto.HandbookData.serializeBinaryToWriter ); } f = message.getMastermodedungeoninfo(); if (f != null) { writer.writeMessage( 90, f, proto.MasterModeDungeonInfo.serializeBinaryToWriter ); } f = message.getStatisticsdata(); if (f != null) { writer.writeMessage( 91, f, proto.StatisticsData.serializeBinaryToWriter ); } f = message.getCompenstionstatistics(); if (f != null) { writer.writeMessage( 92, f, proto.CompensationStatistics.serializeBinaryToWriter ); } f = message.getBubbleactdata(); if (f != null) { writer.writeMessage( 93, f, proto.BubbleActData.serializeBinaryToWriter ); } f = message.getMailclaimedinfo(); if (f != null) { writer.writeMessage( 94, f, proto.MailClaimedInfo.serializeBinaryToWriter ); } f = message.getNewbiedata(); if (f != null) { writer.writeMessage( 95, f, proto.NewbieData.serializeBinaryToWriter ); } f = message.getFightpoint(); if (f != null) { writer.writeMessage( 96, f, proto.FightPoint.serializeBinaryToWriter ); } f = message.getSign(); if (f != null) { writer.writeMessage( 97, f, proto.SignInfo.serializeBinaryToWriter ); } f = message.getCharstatisticsdata(); if (f != null) { writer.writeMessage( 98, f, proto.CharStatisticsData.serializeBinaryToWriter ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.CharSerialize.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional CharBaseInfo CharBase = 2; * @return {?proto.CharBaseInfo} */ proto.CharSerialize.prototype.getCharbase = function() { return /** @type{?proto.CharBaseInfo} */ ( jspb.Message.getWrapperField(this, proto.CharBaseInfo, 2)); }; /** * @param {?proto.CharBaseInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCharbase = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCharbase = function() { return this.setCharbase(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCharbase = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional SceneData SceneData = 3; * @return {?proto.SceneData} */ proto.CharSerialize.prototype.getScenedata = function() { return /** @type{?proto.SceneData} */ ( jspb.Message.getWrapperField(this, proto.SceneData, 3)); }; /** * @param {?proto.SceneData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setScenedata = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearScenedata = function() { return this.setScenedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasScenedata = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional SceneLuaData SceneLuaData = 4; * @return {?proto.SceneLuaData} */ proto.CharSerialize.prototype.getSceneluadata = function() { return /** @type{?proto.SceneLuaData} */ ( jspb.Message.getWrapperField(this, proto.SceneLuaData, 4)); }; /** * @param {?proto.SceneLuaData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSceneluadata = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSceneluadata = function() { return this.setSceneluadata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSceneluadata = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional PioneerData PioneerData = 5; * @return {?proto.PioneerData} */ proto.CharSerialize.prototype.getPioneerdata = function() { return /** @type{?proto.PioneerData} */ ( jspb.Message.getWrapperField(this, proto.PioneerData, 5)); }; /** * @param {?proto.PioneerData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPioneerdata = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPioneerdata = function() { return this.setPioneerdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPioneerdata = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional BuffDBInfo BuffInfo = 6; * @return {?proto.BuffDBInfo} */ proto.CharSerialize.prototype.getBuffinfo = function() { return /** @type{?proto.BuffDBInfo} */ ( jspb.Message.getWrapperField(this, proto.BuffDBInfo, 6)); }; /** * @param {?proto.BuffDBInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setBuffinfo = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearBuffinfo = function() { return this.setBuffinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasBuffinfo = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional ItemPackage ItemPackage = 7; * @return {?proto.ItemPackage} */ proto.CharSerialize.prototype.getItempackage = function() { return /** @type{?proto.ItemPackage} */ ( jspb.Message.getWrapperField(this, proto.ItemPackage, 7)); }; /** * @param {?proto.ItemPackage|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setItempackage = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearItempackage = function() { return this.setItempackage(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasItempackage = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional QuestDataList QuestList = 8; * @return {?proto.QuestDataList} */ proto.CharSerialize.prototype.getQuestlist = function() { return /** @type{?proto.QuestDataList} */ ( jspb.Message.getWrapperField(this, proto.QuestDataList, 8)); }; /** * @param {?proto.QuestDataList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setQuestlist = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearQuestlist = function() { return this.setQuestlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasQuestlist = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional SettingData SettingData = 9; * @return {?proto.SettingData} */ proto.CharSerialize.prototype.getSettingdata = function() { return /** @type{?proto.SettingData} */ ( jspb.Message.getWrapperField(this, proto.SettingData, 9)); }; /** * @param {?proto.SettingData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSettingdata = function(value) { return jspb.Message.setWrapperField(this, 9, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSettingdata = function() { return this.setSettingdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSettingdata = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional MiscInfo MiscInfo = 10; * @return {?proto.MiscInfo} */ proto.CharSerialize.prototype.getMiscinfo = function() { return /** @type{?proto.MiscInfo} */ ( jspb.Message.getWrapperField(this, proto.MiscInfo, 10)); }; /** * @param {?proto.MiscInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setMiscinfo = function(value) { return jspb.Message.setWrapperField(this, 10, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearMiscinfo = function() { return this.setMiscinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasMiscinfo = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional ExchangeItem ExchangeItems = 11; * @return {?proto.ExchangeItem} */ proto.CharSerialize.prototype.getExchangeitems = function() { return /** @type{?proto.ExchangeItem} */ ( jspb.Message.getWrapperField(this, proto.ExchangeItem, 11)); }; /** * @param {?proto.ExchangeItem|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setExchangeitems = function(value) { return jspb.Message.setWrapperField(this, 11, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearExchangeitems = function() { return this.setExchangeitems(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasExchangeitems = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional EquipList Equip = 12; * @return {?proto.EquipList} */ proto.CharSerialize.prototype.getEquip = function() { return /** @type{?proto.EquipList} */ ( jspb.Message.getWrapperField(this, proto.EquipList, 12)); }; /** * @param {?proto.EquipList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setEquip = function(value) { return jspb.Message.setWrapperField(this, 12, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearEquip = function() { return this.setEquip(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasEquip = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional EnergyItem EnergyItem = 13; * @return {?proto.EnergyItem} */ proto.CharSerialize.prototype.getEnergyitem = function() { return /** @type{?proto.EnergyItem} */ ( jspb.Message.getWrapperField(this, proto.EnergyItem, 13)); }; /** * @param {?proto.EnergyItem|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setEnergyitem = function(value) { return jspb.Message.setWrapperField(this, 13, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearEnergyitem = function() { return this.setEnergyitem(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasEnergyitem = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional MapData MapData = 14; * @return {?proto.MapData} */ proto.CharSerialize.prototype.getMapdata = function() { return /** @type{?proto.MapData} */ ( jspb.Message.getWrapperField(this, proto.MapData, 14)); }; /** * @param {?proto.MapData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setMapdata = function(value) { return jspb.Message.setWrapperField(this, 14, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearMapdata = function() { return this.setMapdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasMapdata = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional DungeonList DungeonList = 15; * @return {?proto.DungeonList} */ proto.CharSerialize.prototype.getDungeonlist = function() { return /** @type{?proto.DungeonList} */ ( jspb.Message.getWrapperField(this, proto.DungeonList, 15)); }; /** * @param {?proto.DungeonList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setDungeonlist = function(value) { return jspb.Message.setWrapperField(this, 15, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearDungeonlist = function() { return this.setDungeonlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasDungeonlist = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional UserFightAttr Attr = 16; * @return {?proto.UserFightAttr} */ proto.CharSerialize.prototype.getAttr = function() { return /** @type{?proto.UserFightAttr} */ ( jspb.Message.getWrapperField(this, proto.UserFightAttr, 16)); }; /** * @param {?proto.UserFightAttr|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setAttr = function(value) { return jspb.Message.setWrapperField(this, 16, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearAttr = function() { return this.setAttr(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasAttr = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional FashionMgr Fashion = 17; * @return {?proto.FashionMgr} */ proto.CharSerialize.prototype.getFashion = function() { return /** @type{?proto.FashionMgr} */ ( jspb.Message.getWrapperField(this, proto.FashionMgr, 17)); }; /** * @param {?proto.FashionMgr|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setFashion = function(value) { return jspb.Message.setWrapperField(this, 17, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearFashion = function() { return this.setFashion(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasFashion = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional ProfileList ProfileList = 18; * @return {?proto.ProfileList} */ proto.CharSerialize.prototype.getProfilelist = function() { return /** @type{?proto.ProfileList} */ ( jspb.Message.getWrapperField(this, proto.ProfileList, 18)); }; /** * @param {?proto.ProfileList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setProfilelist = function(value) { return jspb.Message.setWrapperField(this, 18, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearProfilelist = function() { return this.setProfilelist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasProfilelist = function() { return jspb.Message.getField(this, 18) != null; }; /** * optional PlayHelper Help = 19; * @return {?proto.PlayHelper} */ proto.CharSerialize.prototype.getHelp = function() { return /** @type{?proto.PlayHelper} */ ( jspb.Message.getWrapperField(this, proto.PlayHelper, 19)); }; /** * @param {?proto.PlayHelper|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setHelp = function(value) { return jspb.Message.setWrapperField(this, 19, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearHelp = function() { return this.setHelp(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasHelp = function() { return jspb.Message.getField(this, 19) != null; }; /** * optional CounterList CounterList = 20; * @return {?proto.CounterList} */ proto.CharSerialize.prototype.getCounterlist = function() { return /** @type{?proto.CounterList} */ ( jspb.Message.getWrapperField(this, proto.CounterList, 20)); }; /** * @param {?proto.CounterList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCounterlist = function(value) { return jspb.Message.setWrapperField(this, 20, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCounterlist = function() { return this.setCounterlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCounterlist = function() { return jspb.Message.getField(this, 20) != null; }; /** * optional PersonalObject PersonalObj = 21; * @return {?proto.PersonalObject} */ proto.CharSerialize.prototype.getPersonalobj = function() { return /** @type{?proto.PersonalObject} */ ( jspb.Message.getWrapperField(this, proto.PersonalObject, 21)); }; /** * @param {?proto.PersonalObject|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPersonalobj = function(value) { return jspb.Message.setWrapperField(this, 21, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPersonalobj = function() { return this.setPersonalobj(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPersonalobj = function() { return jspb.Message.getField(this, 21) != null; }; /** * optional RoleLevel RoleLevel = 22; * @return {?proto.RoleLevel} */ proto.CharSerialize.prototype.getRolelevel = function() { return /** @type{?proto.RoleLevel} */ ( jspb.Message.getWrapperField(this, proto.RoleLevel, 22)); }; /** * @param {?proto.RoleLevel|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setRolelevel = function(value) { return jspb.Message.setWrapperField(this, 22, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearRolelevel = function() { return this.setRolelevel(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasRolelevel = function() { return jspb.Message.getField(this, 22) != null; }; /** * optional Pivot Pivot = 23; * @return {?proto.Pivot} */ proto.CharSerialize.prototype.getPivot = function() { return /** @type{?proto.Pivot} */ ( jspb.Message.getWrapperField(this, proto.Pivot, 23)); }; /** * @param {?proto.Pivot|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPivot = function(value) { return jspb.Message.setWrapperField(this, 23, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPivot = function() { return this.setPivot(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPivot = function() { return jspb.Message.getField(this, 23) != null; }; /** * optional TransferPoint TransferPoint = 24; * @return {?proto.TransferPoint} */ proto.CharSerialize.prototype.getTransferpoint = function() { return /** @type{?proto.TransferPoint} */ ( jspb.Message.getWrapperField(this, proto.TransferPoint, 24)); }; /** * @param {?proto.TransferPoint|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setTransferpoint = function(value) { return jspb.Message.setWrapperField(this, 24, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearTransferpoint = function() { return this.setTransferpoint(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasTransferpoint = function() { return jspb.Message.getField(this, 24) != null; }; /** * optional PlanetMemory PlanetMemory = 25; * @return {?proto.PlanetMemory} */ proto.CharSerialize.prototype.getPlanetmemory = function() { return /** @type{?proto.PlanetMemory} */ ( jspb.Message.getWrapperField(this, proto.PlanetMemory, 25)); }; /** * @param {?proto.PlanetMemory|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPlanetmemory = function(value) { return jspb.Message.setWrapperField(this, 25, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPlanetmemory = function() { return this.setPlanetmemory(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPlanetmemory = function() { return jspb.Message.getField(this, 25) != null; }; /** * optional SeasonTarget PlanetMemoryTarget = 26; * @return {?proto.SeasonTarget} */ proto.CharSerialize.prototype.getPlanetmemorytarget = function() { return /** @type{?proto.SeasonTarget} */ ( jspb.Message.getWrapperField(this, proto.SeasonTarget, 26)); }; /** * @param {?proto.SeasonTarget|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPlanetmemorytarget = function(value) { return jspb.Message.setWrapperField(this, 26, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPlanetmemorytarget = function() { return this.setPlanetmemorytarget(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPlanetmemorytarget = function() { return jspb.Message.getField(this, 26) != null; }; /** * optional RedDotData RedDot = 27; * @return {?proto.RedDotData} */ proto.CharSerialize.prototype.getReddot = function() { return /** @type{?proto.RedDotData} */ ( jspb.Message.getWrapperField(this, proto.RedDotData, 27)); }; /** * @param {?proto.RedDotData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setReddot = function(value) { return jspb.Message.setWrapperField(this, 27, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearReddot = function() { return this.setReddot(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasReddot = function() { return jspb.Message.getField(this, 27) != null; }; /** * optional Resonance Resonance = 28; * @return {?proto.Resonance} */ proto.CharSerialize.prototype.getResonance = function() { return /** @type{?proto.Resonance} */ ( jspb.Message.getWrapperField(this, proto.Resonance, 28)); }; /** * @param {?proto.Resonance|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setResonance = function(value) { return jspb.Message.setWrapperField(this, 28, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearResonance = function() { return this.setResonance(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasResonance = function() { return jspb.Message.getField(this, 28) != null; }; /** * optional CutsState CutsState = 29; * @return {?proto.CutsState} */ proto.CharSerialize.prototype.getCutsstate = function() { return /** @type{?proto.CutsState} */ ( jspb.Message.getWrapperField(this, proto.CutsState, 29)); }; /** * @param {?proto.CutsState|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCutsstate = function(value) { return jspb.Message.setWrapperField(this, 29, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCutsstate = function() { return this.setCutsstate(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCutsstate = function() { return jspb.Message.getField(this, 29) != null; }; /** * optional InvestigateList InvestigateList = 30; * @return {?proto.InvestigateList} */ proto.CharSerialize.prototype.getInvestigatelist = function() { return /** @type{?proto.InvestigateList} */ ( jspb.Message.getWrapperField(this, proto.InvestigateList, 30)); }; /** * @param {?proto.InvestigateList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setInvestigatelist = function(value) { return jspb.Message.setWrapperField(this, 30, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearInvestigatelist = function() { return this.setInvestigatelist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasInvestigatelist = function() { return jspb.Message.getField(this, 30) != null; }; /** * optional ParkourRecordList Records = 31; * @return {?proto.ParkourRecordList} */ proto.CharSerialize.prototype.getRecords = function() { return /** @type{?proto.ParkourRecordList} */ ( jspb.Message.getWrapperField(this, proto.ParkourRecordList, 31)); }; /** * @param {?proto.ParkourRecordList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setRecords = function(value) { return jspb.Message.setWrapperField(this, 31, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearRecords = function() { return this.setRecords(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasRecords = function() { return jspb.Message.getField(this, 31) != null; }; /** * optional InteractionInfo Interaction = 32; * @return {?proto.InteractionInfo} */ proto.CharSerialize.prototype.getInteraction = function() { return /** @type{?proto.InteractionInfo} */ ( jspb.Message.getWrapperField(this, proto.InteractionInfo, 32)); }; /** * @param {?proto.InteractionInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setInteraction = function(value) { return jspb.Message.setWrapperField(this, 32, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearInteraction = function() { return this.setInteraction(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasInteraction = function() { return jspb.Message.getField(this, 32) != null; }; /** * optional SeasonQuestList SeasonQuestList = 33; * @return {?proto.SeasonQuestList} */ proto.CharSerialize.prototype.getSeasonquestlist = function() { return /** @type{?proto.SeasonQuestList} */ ( jspb.Message.getWrapperField(this, proto.SeasonQuestList, 33)); }; /** * @param {?proto.SeasonQuestList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSeasonquestlist = function(value) { return jspb.Message.setWrapperField(this, 33, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSeasonquestlist = function() { return this.setSeasonquestlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSeasonquestlist = function() { return jspb.Message.getField(this, 33) != null; }; /** * optional RoleFace RoleFace = 34; * @return {?proto.RoleFace} */ proto.CharSerialize.prototype.getRoleface = function() { return /** @type{?proto.RoleFace} */ ( jspb.Message.getWrapperField(this, proto.RoleFace, 34)); }; /** * @param {?proto.RoleFace|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setRoleface = function(value) { return jspb.Message.setWrapperField(this, 34, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearRoleface = function() { return this.setRoleface(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasRoleface = function() { return jspb.Message.getField(this, 34) != null; }; /** * optional MapBookInfoList MapBookList = 35; * @return {?proto.MapBookInfoList} */ proto.CharSerialize.prototype.getMapbooklist = function() { return /** @type{?proto.MapBookInfoList} */ ( jspb.Message.getWrapperField(this, proto.MapBookInfoList, 35)); }; /** * @param {?proto.MapBookInfoList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setMapbooklist = function(value) { return jspb.Message.setWrapperField(this, 35, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearMapbooklist = function() { return this.setMapbooklist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasMapbooklist = function() { return jspb.Message.getField(this, 35) != null; }; /** * optional FunctionData FunctionData = 36; * @return {?proto.FunctionData} */ proto.CharSerialize.prototype.getFunctiondata = function() { return /** @type{?proto.FunctionData} */ ( jspb.Message.getWrapperField(this, proto.FunctionData, 36)); }; /** * @param {?proto.FunctionData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setFunctiondata = function(value) { return jspb.Message.setWrapperField(this, 36, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearFunctiondata = function() { return this.setFunctiondata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasFunctiondata = function() { return jspb.Message.getField(this, 36) != null; }; /** * optional AntiAddictionInfo AntiInfo = 37; * @return {?proto.AntiAddictionInfo} */ proto.CharSerialize.prototype.getAntiinfo = function() { return /** @type{?proto.AntiAddictionInfo} */ ( jspb.Message.getWrapperField(this, proto.AntiAddictionInfo, 37)); }; /** * @param {?proto.AntiAddictionInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setAntiinfo = function(value) { return jspb.Message.setWrapperField(this, 37, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearAntiinfo = function() { return this.setAntiinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasAntiinfo = function() { return jspb.Message.getField(this, 37) != null; }; /** * optional MonsterExploreList MonsterExploreList = 38; * @return {?proto.MonsterExploreList} */ proto.CharSerialize.prototype.getMonsterexplorelist = function() { return /** @type{?proto.MonsterExploreList} */ ( jspb.Message.getWrapperField(this, proto.MonsterExploreList, 38)); }; /** * @param {?proto.MonsterExploreList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setMonsterexplorelist = function(value) { return jspb.Message.setWrapperField(this, 38, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearMonsterexplorelist = function() { return this.setMonsterexplorelist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasMonsterexplorelist = function() { return jspb.Message.getField(this, 38) != null; }; /** * optional ShowPieceData ShowPieceData = 39; * @return {?proto.ShowPieceData} */ proto.CharSerialize.prototype.getShowpiecedata = function() { return /** @type{?proto.ShowPieceData} */ ( jspb.Message.getWrapperField(this, proto.ShowPieceData, 39)); }; /** * @param {?proto.ShowPieceData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setShowpiecedata = function(value) { return jspb.Message.setWrapperField(this, 39, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearShowpiecedata = function() { return this.setShowpiecedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasShowpiecedata = function() { return jspb.Message.getField(this, 39) != null; }; /** * optional CollectionBook CollectionBook = 42; * @return {?proto.CollectionBook} */ proto.CharSerialize.prototype.getCollectionbook = function() { return /** @type{?proto.CollectionBook} */ ( jspb.Message.getWrapperField(this, proto.CollectionBook, 42)); }; /** * @param {?proto.CollectionBook|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCollectionbook = function(value) { return jspb.Message.setWrapperField(this, 42, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCollectionbook = function() { return this.setCollectionbook(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCollectionbook = function() { return jspb.Message.getField(this, 42) != null; }; /** * optional NotGetProceedAwardInfo NotGetProceedAwardTimes = 43; * @return {?proto.NotGetProceedAwardInfo} */ proto.CharSerialize.prototype.getNotgetproceedawardtimes = function() { return /** @type{?proto.NotGetProceedAwardInfo} */ ( jspb.Message.getWrapperField(this, proto.NotGetProceedAwardInfo, 43)); }; /** * @param {?proto.NotGetProceedAwardInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setNotgetproceedawardtimes = function(value) { return jspb.Message.setWrapperField(this, 43, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearNotgetproceedawardtimes = function() { return this.setNotgetproceedawardtimes(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasNotgetproceedawardtimes = function() { return jspb.Message.getField(this, 43) != null; }; /** * optional CookList CookList = 44; * @return {?proto.CookList} */ proto.CharSerialize.prototype.getCooklist = function() { return /** @type{?proto.CookList} */ ( jspb.Message.getWrapperField(this, proto.CookList, 44)); }; /** * @param {?proto.CookList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCooklist = function(value) { return jspb.Message.setWrapperField(this, 44, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCooklist = function() { return this.setCooklist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCooklist = function() { return jspb.Message.getField(this, 44) != null; }; /** * optional TimerRefreshDataList RefreshDataList = 45; * @return {?proto.TimerRefreshDataList} */ proto.CharSerialize.prototype.getRefreshdatalist = function() { return /** @type{?proto.TimerRefreshDataList} */ ( jspb.Message.getWrapperField(this, proto.TimerRefreshDataList, 45)); }; /** * @param {?proto.TimerRefreshDataList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setRefreshdatalist = function(value) { return jspb.Message.setWrapperField(this, 45, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearRefreshdatalist = function() { return this.setRefreshdatalist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasRefreshdatalist = function() { return jspb.Message.getField(this, 45) != null; }; /** * optional ChallengeDungeonInfo ChallengeDungeonInfo = 46; * @return {?proto.ChallengeDungeonInfo} */ proto.CharSerialize.prototype.getChallengedungeoninfo = function() { return /** @type{?proto.ChallengeDungeonInfo} */ ( jspb.Message.getWrapperField(this, proto.ChallengeDungeonInfo, 46)); }; /** * @param {?proto.ChallengeDungeonInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setChallengedungeoninfo = function(value) { return jspb.Message.setWrapperField(this, 46, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearChallengedungeoninfo = function() { return this.setChallengedungeoninfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasChallengedungeoninfo = function() { return jspb.Message.getField(this, 46) != null; }; /** * optional SyncAwardData SyncAwardData = 47; * @return {?proto.SyncAwardData} */ proto.CharSerialize.prototype.getSyncawarddata = function() { return /** @type{?proto.SyncAwardData} */ ( jspb.Message.getWrapperField(this, proto.SyncAwardData, 47)); }; /** * @param {?proto.SyncAwardData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSyncawarddata = function(value) { return jspb.Message.setWrapperField(this, 47, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSyncawarddata = function() { return this.setSyncawarddata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSyncawarddata = function() { return jspb.Message.getField(this, 47) != null; }; /** * optional SeasonAchievementList SeasonAchievementList = 48; * @return {?proto.SeasonAchievementList} */ proto.CharSerialize.prototype.getSeasonachievementlist = function() { return /** @type{?proto.SeasonAchievementList} */ ( jspb.Message.getWrapperField(this, proto.SeasonAchievementList, 48)); }; /** * @param {?proto.SeasonAchievementList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSeasonachievementlist = function(value) { return jspb.Message.setWrapperField(this, 48, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSeasonachievementlist = function() { return this.setSeasonachievementlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSeasonachievementlist = function() { return jspb.Message.getField(this, 48) != null; }; /** * optional SeasonRankList SeasonRankList = 49; * @return {?proto.SeasonRankList} */ proto.CharSerialize.prototype.getSeasonranklist = function() { return /** @type{?proto.SeasonRankList} */ ( jspb.Message.getWrapperField(this, proto.SeasonRankList, 49)); }; /** * @param {?proto.SeasonRankList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSeasonranklist = function(value) { return jspb.Message.setWrapperField(this, 49, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSeasonranklist = function() { return this.setSeasonranklist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSeasonranklist = function() { return jspb.Message.getField(this, 49) != null; }; /** * optional SeasonCenter SeasonCenter = 50; * @return {?proto.SeasonCenter} */ proto.CharSerialize.prototype.getSeasoncenter = function() { return /** @type{?proto.SeasonCenter} */ ( jspb.Message.getWrapperField(this, proto.SeasonCenter, 50)); }; /** * @param {?proto.SeasonCenter|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSeasoncenter = function(value) { return jspb.Message.setWrapperField(this, 50, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSeasoncenter = function() { return this.setSeasoncenter(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSeasoncenter = function() { return jspb.Message.getField(this, 50) != null; }; /** * optional PersonalZone PersonalZone = 51; * @return {?proto.PersonalZone} */ proto.CharSerialize.prototype.getPersonalzone = function() { return /** @type{?proto.PersonalZone} */ ( jspb.Message.getWrapperField(this, proto.PersonalZone, 51)); }; /** * @param {?proto.PersonalZone|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPersonalzone = function(value) { return jspb.Message.setWrapperField(this, 51, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPersonalzone = function() { return this.setPersonalzone(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPersonalzone = function() { return jspb.Message.getField(this, 51) != null; }; /** * optional SeasonMedalInfo SeasonMedalInfo = 52; * @return {?proto.SeasonMedalInfo} */ proto.CharSerialize.prototype.getSeasonmedalinfo = function() { return /** @type{?proto.SeasonMedalInfo} */ ( jspb.Message.getWrapperField(this, proto.SeasonMedalInfo, 52)); }; /** * @param {?proto.SeasonMedalInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSeasonmedalinfo = function(value) { return jspb.Message.setWrapperField(this, 52, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSeasonmedalinfo = function() { return this.setSeasonmedalinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSeasonmedalinfo = function() { return jspb.Message.getField(this, 52) != null; }; /** * optional CommunityHomeData CommunityHomeInfo = 53; * @return {?proto.CommunityHomeData} */ proto.CharSerialize.prototype.getCommunityhomeinfo = function() { return /** @type{?proto.CommunityHomeData} */ ( jspb.Message.getWrapperField(this, proto.CommunityHomeData, 53)); }; /** * @param {?proto.CommunityHomeData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCommunityhomeinfo = function(value) { return jspb.Message.setWrapperField(this, 53, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCommunityhomeinfo = function() { return this.setCommunityhomeinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCommunityhomeinfo = function() { return jspb.Message.getField(this, 53) != null; }; /** * optional SeasonActivation SeasonActivation = 54; * @return {?proto.SeasonActivation} */ proto.CharSerialize.prototype.getSeasonactivation = function() { return /** @type{?proto.SeasonActivation} */ ( jspb.Message.getWrapperField(this, proto.SeasonActivation, 54)); }; /** * @param {?proto.SeasonActivation|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSeasonactivation = function(value) { return jspb.Message.setWrapperField(this, 54, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSeasonactivation = function() { return this.setSeasonactivation(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSeasonactivation = function() { return jspb.Message.getField(this, 54) != null; }; /** * optional Slot Slots = 55; * @return {?proto.Slot} */ proto.CharSerialize.prototype.getSlots = function() { return /** @type{?proto.Slot} */ ( jspb.Message.getWrapperField(this, proto.Slot, 55)); }; /** * @param {?proto.Slot|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSlots = function(value) { return jspb.Message.setWrapperField(this, 55, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSlots = function() { return this.setSlots(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSlots = function() { return jspb.Message.getField(this, 55) != null; }; /** * optional MonsterHuntInfo MonsterHuntInfo = 56; * @return {?proto.MonsterHuntInfo} */ proto.CharSerialize.prototype.getMonsterhuntinfo = function() { return /** @type{?proto.MonsterHuntInfo} */ ( jspb.Message.getWrapperField(this, proto.MonsterHuntInfo, 56)); }; /** * @param {?proto.MonsterHuntInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setMonsterhuntinfo = function(value) { return jspb.Message.setWrapperField(this, 56, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearMonsterhuntinfo = function() { return this.setMonsterhuntinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasMonsterhuntinfo = function() { return jspb.Message.getField(this, 56) != null; }; /** * optional Mod Mod = 57; * @return {?proto.Mod} */ proto.CharSerialize.prototype.getMod = function() { return /** @type{?proto.Mod} */ ( jspb.Message.getWrapperField(this, proto.Mod, 57)); }; /** * @param {?proto.Mod|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setMod = function(value) { return jspb.Message.setWrapperField(this, 57, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearMod = function() { return this.setMod(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasMod = function() { return jspb.Message.getField(this, 57) != null; }; /** * optional WorldEventMap WorldEventMap = 58; * @return {?proto.WorldEventMap} */ proto.CharSerialize.prototype.getWorldeventmap = function() { return /** @type{?proto.WorldEventMap} */ ( jspb.Message.getWrapperField(this, proto.WorldEventMap, 58)); }; /** * @param {?proto.WorldEventMap|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setWorldeventmap = function(value) { return jspb.Message.setWrapperField(this, 58, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearWorldeventmap = function() { return this.setWorldeventmap(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasWorldeventmap = function() { return jspb.Message.getField(this, 58) != null; }; /** * optional FishSetting FishSetting = 59; * @return {?proto.FishSetting} */ proto.CharSerialize.prototype.getFishsetting = function() { return /** @type{?proto.FishSetting} */ ( jspb.Message.getWrapperField(this, proto.FishSetting, 59)); }; /** * @param {?proto.FishSetting|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setFishsetting = function(value) { return jspb.Message.setWrapperField(this, 59, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearFishsetting = function() { return this.setFishsetting(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasFishsetting = function() { return jspb.Message.getField(this, 59) != null; }; /** * optional FreightData FreightData = 60; * @return {?proto.FreightData} */ proto.CharSerialize.prototype.getFreightdata = function() { return /** @type{?proto.FreightData} */ ( jspb.Message.getWrapperField(this, proto.FreightData, 60)); }; /** * @param {?proto.FreightData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setFreightdata = function(value) { return jspb.Message.setWrapperField(this, 60, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearFreightdata = function() { return this.setFreightdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasFreightdata = function() { return jspb.Message.getField(this, 60) != null; }; /** * optional ProfessionList ProfessionList = 61; * @return {?proto.ProfessionList} */ proto.CharSerialize.prototype.getProfessionlist = function() { return /** @type{?proto.ProfessionList} */ ( jspb.Message.getWrapperField(this, proto.ProfessionList, 61)); }; /** * @param {?proto.ProfessionList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setProfessionlist = function(value) { return jspb.Message.setWrapperField(this, 61, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearProfessionlist = function() { return this.setProfessionlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasProfessionlist = function() { return jspb.Message.getField(this, 61) != null; }; /** * optional TrialRoad TrialRoad = 62; * @return {?proto.TrialRoad} */ proto.CharSerialize.prototype.getTrialroad = function() { return /** @type{?proto.TrialRoad} */ ( jspb.Message.getWrapperField(this, proto.TrialRoad, 62)); }; /** * @param {?proto.TrialRoad|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setTrialroad = function(value) { return jspb.Message.setWrapperField(this, 62, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearTrialroad = function() { return this.setTrialroad(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasTrialroad = function() { return jspb.Message.getField(this, 62) != null; }; /** * optional GashaData GashaData = 63; * @return {?proto.GashaData} */ proto.CharSerialize.prototype.getGashadata = function() { return /** @type{?proto.GashaData} */ ( jspb.Message.getWrapperField(this, proto.GashaData, 63)); }; /** * @param {?proto.GashaData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setGashadata = function(value) { return jspb.Message.setWrapperField(this, 63, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearGashadata = function() { return this.setGashadata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasGashadata = function() { return jspb.Message.getField(this, 63) != null; }; /** * optional ShopData ShopData = 64; * @return {?proto.ShopData} */ proto.CharSerialize.prototype.getShopdata = function() { return /** @type{?proto.ShopData} */ ( jspb.Message.getWrapperField(this, proto.ShopData, 64)); }; /** * @param {?proto.ShopData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setShopdata = function(value) { return jspb.Message.setWrapperField(this, 64, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearShopdata = function() { return this.setShopdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasShopdata = function() { return jspb.Message.getField(this, 64) != null; }; /** * optional PersonalWorldBossInfo PersonalWorldBossInfo = 65; * @return {?proto.PersonalWorldBossInfo} */ proto.CharSerialize.prototype.getPersonalworldbossinfo = function() { return /** @type{?proto.PersonalWorldBossInfo} */ ( jspb.Message.getWrapperField(this, proto.PersonalWorldBossInfo, 65)); }; /** * @param {?proto.PersonalWorldBossInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPersonalworldbossinfo = function(value) { return jspb.Message.setWrapperField(this, 65, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPersonalworldbossinfo = function() { return this.setPersonalworldbossinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPersonalworldbossinfo = function() { return jspb.Message.getField(this, 65) != null; }; /** * optional CraftEnergyRecord CraftEnergy = 66; * @return {?proto.CraftEnergyRecord} */ proto.CharSerialize.prototype.getCraftenergy = function() { return /** @type{?proto.CraftEnergyRecord} */ ( jspb.Message.getWrapperField(this, proto.CraftEnergyRecord, 66)); }; /** * @param {?proto.CraftEnergyRecord|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCraftenergy = function(value) { return jspb.Message.setWrapperField(this, 66, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCraftenergy = function() { return this.setCraftenergy(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCraftenergy = function() { return jspb.Message.getField(this, 66) != null; }; /** * optional WeeklyTowerRecord WeeklyTower = 67; * @return {?proto.WeeklyTowerRecord} */ proto.CharSerialize.prototype.getWeeklytower = function() { return /** @type{?proto.WeeklyTowerRecord} */ ( jspb.Message.getWrapperField(this, proto.WeeklyTowerRecord, 67)); }; /** * @param {?proto.WeeklyTowerRecord|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setWeeklytower = function(value) { return jspb.Message.setWrapperField(this, 67, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearWeeklytower = function() { return this.setWeeklytower(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasWeeklytower = function() { return jspb.Message.getField(this, 67) != null; }; /** * optional CutSceneInfos CutSceneInfos = 68; * @return {?proto.CutSceneInfos} */ proto.CharSerialize.prototype.getCutsceneinfos = function() { return /** @type{?proto.CutSceneInfos} */ ( jspb.Message.getWrapperField(this, proto.CutSceneInfos, 68)); }; /** * @param {?proto.CutSceneInfos|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCutsceneinfos = function(value) { return jspb.Message.setWrapperField(this, 68, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCutsceneinfos = function() { return this.setCutsceneinfos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCutsceneinfos = function() { return jspb.Message.getField(this, 68) != null; }; /** * optional UserRecommendPlayData RecommendPlayData = 69; * @return {?proto.UserRecommendPlayData} */ proto.CharSerialize.prototype.getRecommendplaydata = function() { return /** @type{?proto.UserRecommendPlayData} */ ( jspb.Message.getWrapperField(this, proto.UserRecommendPlayData, 69)); }; /** * @param {?proto.UserRecommendPlayData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setRecommendplaydata = function(value) { return jspb.Message.setWrapperField(this, 69, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearRecommendplaydata = function() { return this.setRecommendplaydata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasRecommendplaydata = function() { return jspb.Message.getField(this, 69) != null; }; /** * optional RideList RideList = 70; * @return {?proto.RideList} */ proto.CharSerialize.prototype.getRidelist = function() { return /** @type{?proto.RideList} */ ( jspb.Message.getWrapperField(this, proto.RideList, 70)); }; /** * @param {?proto.RideList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setRidelist = function(value) { return jspb.Message.setWrapperField(this, 70, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearRidelist = function() { return this.setRidelist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasRidelist = function() { return jspb.Message.getField(this, 70) != null; }; /** * optional PayOrderList PayOrderList = 71; * @return {?proto.PayOrderList} */ proto.CharSerialize.prototype.getPayorderlist = function() { return /** @type{?proto.PayOrderList} */ ( jspb.Message.getWrapperField(this, proto.PayOrderList, 71)); }; /** * @param {?proto.PayOrderList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPayorderlist = function(value) { return jspb.Message.setWrapperField(this, 71, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPayorderlist = function() { return this.setPayorderlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPayorderlist = function() { return jspb.Message.getField(this, 71) != null; }; /** * optional LifeProfession LifeProfession = 72; * @return {?proto.LifeProfession} */ proto.CharSerialize.prototype.getLifeprofession = function() { return /** @type{?proto.LifeProfession} */ ( jspb.Message.getWrapperField(this, proto.LifeProfession, 72)); }; /** * @param {?proto.LifeProfession|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setLifeprofession = function(value) { return jspb.Message.setWrapperField(this, 72, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearLifeprofession = function() { return this.setLifeprofession(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasLifeprofession = function() { return jspb.Message.getField(this, 72) != null; }; /** * optional LifeProfessionWork LifeProfessionWork = 73; * @return {?proto.LifeProfessionWork} */ proto.CharSerialize.prototype.getLifeprofessionwork = function() { return /** @type{?proto.LifeProfessionWork} */ ( jspb.Message.getWrapperField(this, proto.LifeProfessionWork, 73)); }; /** * @param {?proto.LifeProfessionWork|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setLifeprofessionwork = function(value) { return jspb.Message.setWrapperField(this, 73, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearLifeprofessionwork = function() { return this.setLifeprofessionwork(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasLifeprofessionwork = function() { return jspb.Message.getField(this, 73) != null; }; /** * optional UserActivityList UserActivityList = 74; * @return {?proto.UserActivityList} */ proto.CharSerialize.prototype.getUseractivitylist = function() { return /** @type{?proto.UserActivityList} */ ( jspb.Message.getWrapperField(this, proto.UserActivityList, 74)); }; /** * @param {?proto.UserActivityList|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setUseractivitylist = function(value) { return jspb.Message.setWrapperField(this, 74, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearUseractivitylist = function() { return this.setUseractivitylist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasUseractivitylist = function() { return jspb.Message.getField(this, 74) != null; }; /** * optional PlayerRecord PlayerRecord = 75; * @return {?proto.PlayerRecord} */ proto.CharSerialize.prototype.getPlayerrecord = function() { return /** @type{?proto.PlayerRecord} */ ( jspb.Message.getWrapperField(this, proto.PlayerRecord, 75)); }; /** * @param {?proto.PlayerRecord|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPlayerrecord = function(value) { return jspb.Message.setWrapperField(this, 75, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPlayerrecord = function() { return this.setPlayerrecord(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPlayerrecord = function() { return jspb.Message.getField(this, 75) != null; }; /** * optional DropContainerInfo DropContainer = 76; * @return {?proto.DropContainerInfo} */ proto.CharSerialize.prototype.getDropcontainer = function() { return /** @type{?proto.DropContainerInfo} */ ( jspb.Message.getWrapperField(this, proto.DropContainerInfo, 76)); }; /** * @param {?proto.DropContainerInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setDropcontainer = function(value) { return jspb.Message.setWrapperField(this, 76, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearDropcontainer = function() { return this.setDropcontainer(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasDropcontainer = function() { return jspb.Message.getField(this, 76) != null; }; /** * optional MonthlyCard MonthlyCard = 77; * @return {?proto.MonthlyCard} */ proto.CharSerialize.prototype.getMonthlycard = function() { return /** @type{?proto.MonthlyCard} */ ( jspb.Message.getWrapperField(this, proto.MonthlyCard, 77)); }; /** * @param {?proto.MonthlyCard|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setMonthlycard = function(value) { return jspb.Message.setWrapperField(this, 77, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearMonthlycard = function() { return this.setMonthlycard(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasMonthlycard = function() { return jspb.Message.getField(this, 77) != null; }; /** * optional FashionBenefit FashionBenefit = 78; * @return {?proto.FashionBenefit} */ proto.CharSerialize.prototype.getFashionbenefit = function() { return /** @type{?proto.FashionBenefit} */ ( jspb.Message.getWrapperField(this, proto.FashionBenefit, 78)); }; /** * @param {?proto.FashionBenefit|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setFashionbenefit = function(value) { return jspb.Message.setWrapperField(this, 78, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearFashionbenefit = function() { return this.setFashionbenefit(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasFashionbenefit = function() { return jspb.Message.getField(this, 78) != null; }; /** * optional ItemCurrency ItemCurrency = 79; * @return {?proto.ItemCurrency} */ proto.CharSerialize.prototype.getItemcurrency = function() { return /** @type{?proto.ItemCurrency} */ ( jspb.Message.getWrapperField(this, proto.ItemCurrency, 79)); }; /** * @param {?proto.ItemCurrency|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setItemcurrency = function(value) { return jspb.Message.setWrapperField(this, 79, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearItemcurrency = function() { return this.setItemcurrency(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasItemcurrency = function() { return jspb.Message.getField(this, 79) != null; }; /** * optional PrivilegeEffectData PrivilegeEffectData = 80; * @return {?proto.PrivilegeEffectData} */ proto.CharSerialize.prototype.getPrivilegeeffectdata = function() { return /** @type{?proto.PrivilegeEffectData} */ ( jspb.Message.getWrapperField(this, proto.PrivilegeEffectData, 80)); }; /** * @param {?proto.PrivilegeEffectData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPrivilegeeffectdata = function(value) { return jspb.Message.setWrapperField(this, 80, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPrivilegeeffectdata = function() { return this.setPrivilegeeffectdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPrivilegeeffectdata = function() { return jspb.Message.getField(this, 80) != null; }; /** * optional Treasure Treasure = 81; * @return {?proto.Treasure} */ proto.CharSerialize.prototype.getTreasure = function() { return /** @type{?proto.Treasure} */ ( jspb.Message.getWrapperField(this, proto.Treasure, 81)); }; /** * @param {?proto.Treasure|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setTreasure = function(value) { return jspb.Message.setWrapperField(this, 81, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearTreasure = function() { return this.setTreasure(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasTreasure = function() { return jspb.Message.getField(this, 81) != null; }; /** * optional UnlockEmojiData UnlockEmojiData = 82; * @return {?proto.UnlockEmojiData} */ proto.CharSerialize.prototype.getUnlockemojidata = function() { return /** @type{?proto.UnlockEmojiData} */ ( jspb.Message.getWrapperField(this, proto.UnlockEmojiData, 82)); }; /** * @param {?proto.UnlockEmojiData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setUnlockemojidata = function(value) { return jspb.Message.setWrapperField(this, 82, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearUnlockemojidata = function() { return this.setUnlockemojidata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasUnlockemojidata = function() { return jspb.Message.getField(this, 82) != null; }; /** * optional PlayerOrderComtainerInfo PlayerOrderComtainerInfo = 83; * @return {?proto.PlayerOrderComtainerInfo} */ proto.CharSerialize.prototype.getPlayerordercomtainerinfo = function() { return /** @type{?proto.PlayerOrderComtainerInfo} */ ( jspb.Message.getWrapperField(this, proto.PlayerOrderComtainerInfo, 83)); }; /** * @param {?proto.PlayerOrderComtainerInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPlayerordercomtainerinfo = function(value) { return jspb.Message.setWrapperField(this, 83, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPlayerordercomtainerinfo = function() { return this.setPlayerordercomtainerinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPlayerordercomtainerinfo = function() { return jspb.Message.getField(this, 83) != null; }; /** * optional PlayerBox PlayerBox = 84; * @return {?proto.PlayerBox} */ proto.CharSerialize.prototype.getPlayerbox = function() { return /** @type{?proto.PlayerBox} */ ( jspb.Message.getWrapperField(this, proto.PlayerBox, 84)); }; /** * @param {?proto.PlayerBox|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setPlayerbox = function(value) { return jspb.Message.setWrapperField(this, 84, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearPlayerbox = function() { return this.setPlayerbox(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasPlayerbox = function() { return jspb.Message.getField(this, 84) != null; }; /** * optional LaunchPrivilegeData LaunchPrivilegeData = 85; * @return {?proto.LaunchPrivilegeData} */ proto.CharSerialize.prototype.getLaunchprivilegedata = function() { return /** @type{?proto.LaunchPrivilegeData} */ ( jspb.Message.getWrapperField(this, proto.LaunchPrivilegeData, 85)); }; /** * @param {?proto.LaunchPrivilegeData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setLaunchprivilegedata = function(value) { return jspb.Message.setWrapperField(this, 85, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearLaunchprivilegedata = function() { return this.setLaunchprivilegedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasLaunchprivilegedata = function() { return jspb.Message.getField(this, 85) != null; }; /** * optional BattlePassData BattlePassData = 86; * @return {?proto.BattlePassData} */ proto.CharSerialize.prototype.getBattlepassdata = function() { return /** @type{?proto.BattlePassData} */ ( jspb.Message.getWrapperField(this, proto.BattlePassData, 86)); }; /** * @param {?proto.BattlePassData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setBattlepassdata = function(value) { return jspb.Message.setWrapperField(this, 86, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearBattlepassdata = function() { return this.setBattlepassdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasBattlepassdata = function() { return jspb.Message.getField(this, 86) != null; }; /** * optional RechargeData RechargeData = 87; * @return {?proto.RechargeData} */ proto.CharSerialize.prototype.getRechargedata = function() { return /** @type{?proto.RechargeData} */ ( jspb.Message.getWrapperField(this, proto.RechargeData, 87)); }; /** * @param {?proto.RechargeData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setRechargedata = function(value) { return jspb.Message.setWrapperField(this, 87, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearRechargedata = function() { return this.setRechargedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasRechargedata = function() { return jspb.Message.getField(this, 87) != null; }; /** * optional LuckyValueMgr LuckyValueMgr = 88; * @return {?proto.LuckyValueMgr} */ proto.CharSerialize.prototype.getLuckyvaluemgr = function() { return /** @type{?proto.LuckyValueMgr} */ ( jspb.Message.getWrapperField(this, proto.LuckyValueMgr, 88)); }; /** * @param {?proto.LuckyValueMgr|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setLuckyvaluemgr = function(value) { return jspb.Message.setWrapperField(this, 88, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearLuckyvaluemgr = function() { return this.setLuckyvaluemgr(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasLuckyvaluemgr = function() { return jspb.Message.getField(this, 88) != null; }; /** * optional HandbookData HandbookData = 89; * @return {?proto.HandbookData} */ proto.CharSerialize.prototype.getHandbookdata = function() { return /** @type{?proto.HandbookData} */ ( jspb.Message.getWrapperField(this, proto.HandbookData, 89)); }; /** * @param {?proto.HandbookData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setHandbookdata = function(value) { return jspb.Message.setWrapperField(this, 89, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearHandbookdata = function() { return this.setHandbookdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasHandbookdata = function() { return jspb.Message.getField(this, 89) != null; }; /** * optional MasterModeDungeonInfo MasterModeDungeonInfo = 90; * @return {?proto.MasterModeDungeonInfo} */ proto.CharSerialize.prototype.getMastermodedungeoninfo = function() { return /** @type{?proto.MasterModeDungeonInfo} */ ( jspb.Message.getWrapperField(this, proto.MasterModeDungeonInfo, 90)); }; /** * @param {?proto.MasterModeDungeonInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setMastermodedungeoninfo = function(value) { return jspb.Message.setWrapperField(this, 90, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearMastermodedungeoninfo = function() { return this.setMastermodedungeoninfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasMastermodedungeoninfo = function() { return jspb.Message.getField(this, 90) != null; }; /** * optional StatisticsData StatisticsData = 91; * @return {?proto.StatisticsData} */ proto.CharSerialize.prototype.getStatisticsdata = function() { return /** @type{?proto.StatisticsData} */ ( jspb.Message.getWrapperField(this, proto.StatisticsData, 91)); }; /** * @param {?proto.StatisticsData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setStatisticsdata = function(value) { return jspb.Message.setWrapperField(this, 91, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearStatisticsdata = function() { return this.setStatisticsdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasStatisticsdata = function() { return jspb.Message.getField(this, 91) != null; }; /** * optional CompensationStatistics CompenstionStatistics = 92; * @return {?proto.CompensationStatistics} */ proto.CharSerialize.prototype.getCompenstionstatistics = function() { return /** @type{?proto.CompensationStatistics} */ ( jspb.Message.getWrapperField(this, proto.CompensationStatistics, 92)); }; /** * @param {?proto.CompensationStatistics|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCompenstionstatistics = function(value) { return jspb.Message.setWrapperField(this, 92, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCompenstionstatistics = function() { return this.setCompenstionstatistics(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCompenstionstatistics = function() { return jspb.Message.getField(this, 92) != null; }; /** * optional BubbleActData BubbleActData = 93; * @return {?proto.BubbleActData} */ proto.CharSerialize.prototype.getBubbleactdata = function() { return /** @type{?proto.BubbleActData} */ ( jspb.Message.getWrapperField(this, proto.BubbleActData, 93)); }; /** * @param {?proto.BubbleActData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setBubbleactdata = function(value) { return jspb.Message.setWrapperField(this, 93, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearBubbleactdata = function() { return this.setBubbleactdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasBubbleactdata = function() { return jspb.Message.getField(this, 93) != null; }; /** * optional MailClaimedInfo MailClaimedInfo = 94; * @return {?proto.MailClaimedInfo} */ proto.CharSerialize.prototype.getMailclaimedinfo = function() { return /** @type{?proto.MailClaimedInfo} */ ( jspb.Message.getWrapperField(this, proto.MailClaimedInfo, 94)); }; /** * @param {?proto.MailClaimedInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setMailclaimedinfo = function(value) { return jspb.Message.setWrapperField(this, 94, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearMailclaimedinfo = function() { return this.setMailclaimedinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasMailclaimedinfo = function() { return jspb.Message.getField(this, 94) != null; }; /** * optional NewbieData NewbieData = 95; * @return {?proto.NewbieData} */ proto.CharSerialize.prototype.getNewbiedata = function() { return /** @type{?proto.NewbieData} */ ( jspb.Message.getWrapperField(this, proto.NewbieData, 95)); }; /** * @param {?proto.NewbieData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setNewbiedata = function(value) { return jspb.Message.setWrapperField(this, 95, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearNewbiedata = function() { return this.setNewbiedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasNewbiedata = function() { return jspb.Message.getField(this, 95) != null; }; /** * optional FightPoint FightPoint = 96; * @return {?proto.FightPoint} */ proto.CharSerialize.prototype.getFightpoint = function() { return /** @type{?proto.FightPoint} */ ( jspb.Message.getWrapperField(this, proto.FightPoint, 96)); }; /** * @param {?proto.FightPoint|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setFightpoint = function(value) { return jspb.Message.setWrapperField(this, 96, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearFightpoint = function() { return this.setFightpoint(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasFightpoint = function() { return jspb.Message.getField(this, 96) != null; }; /** * optional SignInfo Sign = 97; * @return {?proto.SignInfo} */ proto.CharSerialize.prototype.getSign = function() { return /** @type{?proto.SignInfo} */ ( jspb.Message.getWrapperField(this, proto.SignInfo, 97)); }; /** * @param {?proto.SignInfo|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setSign = function(value) { return jspb.Message.setWrapperField(this, 97, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearSign = function() { return this.setSign(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasSign = function() { return jspb.Message.getField(this, 97) != null; }; /** * optional CharStatisticsData CharStatisticsData = 98; * @return {?proto.CharStatisticsData} */ proto.CharSerialize.prototype.getCharstatisticsdata = function() { return /** @type{?proto.CharStatisticsData} */ ( jspb.Message.getWrapperField(this, proto.CharStatisticsData, 98)); }; /** * @param {?proto.CharStatisticsData|undefined} value * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.setCharstatisticsdata = function(value) { return jspb.Message.setWrapperField(this, 98, value); }; /** * Clears the message field making it undefined. * @return {!proto.CharSerialize} returns this */ proto.CharSerialize.prototype.clearCharstatisticsdata = function() { return this.setCharstatisticsdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharSerialize.prototype.hasCharstatisticsdata = function() { return jspb.Message.getField(this, 98) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SceneData.prototype.toObject = function(opt_includeInstance) { return proto.SceneData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SceneData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneData.toObject = function(includeInstance, msg) { var f, obj = { mapid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, channelid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, pos: (f = msg.getPos()) && proto.Position.toObject(includeInstance, f), leveluuid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, levelpos: (f = msg.getLevelpos()) && proto.Position.toObject(includeInstance, f), levelmapid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, levelreviveid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, recordidMap: (f = msg.getRecordidMap()) ? f.toObject(includeInstance, undefined) : [], planeid: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, scenelayer: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, canswitchlayer: (f = jspb.Message.getBooleanField(msg, 11)) == null ? undefined : f, beforefallpos: (f = msg.getBeforefallpos()) && proto.Position.toObject(includeInstance, f), sceneguid: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f, dungeonguid: (f = jspb.Message.getField(msg, 14)) == null ? undefined : f, lineid: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f, visuallayerconfigid: (f = jspb.Message.getField(msg, 16)) == null ? undefined : f, lastscenedata: (f = msg.getLastscenedata()) && proto.LastSceneData.toObject(includeInstance, f), sceneareaid: (f = jspb.Message.getField(msg, 18)) == null ? undefined : f, levelareaid: (f = jspb.Message.getField(msg, 19)) == null ? undefined : f, beforefallsceneareaid: (f = jspb.Message.getField(msg, 20)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SceneData} */ proto.SceneData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SceneData; return proto.SceneData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SceneData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SceneData} */ proto.SceneData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setMapid(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setChannelid(value); break; case 3: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setPos(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setLeveluuid(value); break; case 5: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setLevelpos(value); break; case 6: var value = /** @type {number} */ (reader.readUint32()); msg.setLevelmapid(value); break; case 7: var value = /** @type {number} */ (reader.readUint32()); msg.setLevelreviveid(value); break; case 8: var value = msg.getRecordidMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; case 9: var value = /** @type {number} */ (reader.readUint32()); msg.setPlaneid(value); break; case 10: var value = /** @type {number} */ (reader.readUint32()); msg.setScenelayer(value); break; case 11: var value = /** @type {boolean} */ (reader.readBool()); msg.setCanswitchlayer(value); break; case 12: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setBeforefallpos(value); break; case 13: var value = /** @type {string} */ (reader.readString()); msg.setSceneguid(value); break; case 14: var value = /** @type {string} */ (reader.readString()); msg.setDungeonguid(value); break; case 15: var value = /** @type {number} */ (reader.readUint32()); msg.setLineid(value); break; case 16: var value = /** @type {number} */ (reader.readUint32()); msg.setVisuallayerconfigid(value); break; case 17: var value = new proto.LastSceneData; reader.readMessage(value,proto.LastSceneData.deserializeBinaryFromReader); msg.setLastscenedata(value); break; case 18: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneareaid(value); break; case 19: var value = /** @type {number} */ (reader.readInt32()); msg.setLevelareaid(value); break; case 20: var value = /** @type {number} */ (reader.readInt32()); msg.setBeforefallsceneareaid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SceneData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SceneData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SceneData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = message.getPos(); if (f != null) { writer.writeMessage( 3, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = message.getLevelpos(); if (f != null) { writer.writeMessage( 5, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeUint32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeUint32( 7, f ); } f = message.getRecordidMap(true); if (f && f.getLength() > 0) { f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeUint32( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeUint32( 10, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeBool( 11, f ); } f = message.getBeforefallpos(); if (f != null) { writer.writeMessage( 12, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {string} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeString( 13, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 14)); if (f != null) { writer.writeString( 14, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 15)); if (f != null) { writer.writeUint32( 15, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 16)); if (f != null) { writer.writeUint32( 16, f ); } f = message.getLastscenedata(); if (f != null) { writer.writeMessage( 17, f, proto.LastSceneData.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 18)); if (f != null) { writer.writeInt32( 18, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 19)); if (f != null) { writer.writeInt32( 19, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 20)); if (f != null) { writer.writeInt32( 20, f ); } }; /** * optional uint32 MapId = 1; * @return {number} */ proto.SceneData.prototype.getMapid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setMapid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearMapid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasMapid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 ChannelId = 2; * @return {number} */ proto.SceneData.prototype.getChannelid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setChannelid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearChannelid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasChannelid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional Position Pos = 3; * @return {?proto.Position} */ proto.SceneData.prototype.getPos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 3)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setPos = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearPos = function() { return this.setPos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasPos = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 LevelUuid = 4; * @return {number} */ proto.SceneData.prototype.getLeveluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setLeveluuid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearLeveluuid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasLeveluuid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional Position LevelPos = 5; * @return {?proto.Position} */ proto.SceneData.prototype.getLevelpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 5)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setLevelpos = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearLevelpos = function() { return this.setLevelpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasLevelpos = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional uint32 LevelMapId = 6; * @return {number} */ proto.SceneData.prototype.getLevelmapid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setLevelmapid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearLevelmapid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasLevelmapid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional uint32 LevelReviveId = 7; * @return {number} */ proto.SceneData.prototype.getLevelreviveid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setLevelreviveid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearLevelreviveid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasLevelreviveid = function() { return jspb.Message.getField(this, 7) != null; }; /** * map RecordId = 8; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SceneData.prototype.getRecordidMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 8, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearRecordidMap = function() { this.getRecordidMap().clear(); return this; }; /** * optional uint32 PlaneId = 9; * @return {number} */ proto.SceneData.prototype.getPlaneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setPlaneid = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearPlaneid = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasPlaneid = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional uint32 SceneLayer = 10; * @return {number} */ proto.SceneData.prototype.getScenelayer = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setScenelayer = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearScenelayer = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasScenelayer = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional bool CanSwitchLayer = 11; * @return {boolean} */ proto.SceneData.prototype.getCanswitchlayer = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); }; /** * @param {boolean} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setCanswitchlayer = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearCanswitchlayer = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasCanswitchlayer = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional Position BeforeFallPos = 12; * @return {?proto.Position} */ proto.SceneData.prototype.getBeforefallpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 12)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setBeforefallpos = function(value) { return jspb.Message.setWrapperField(this, 12, value); }; /** * Clears the message field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearBeforefallpos = function() { return this.setBeforefallpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasBeforefallpos = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional string SceneGuid = 13; * @return {string} */ proto.SceneData.prototype.getSceneguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, "")); }; /** * @param {string} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setSceneguid = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearSceneguid = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasSceneguid = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional string DungeonGuid = 14; * @return {string} */ proto.SceneData.prototype.getDungeonguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, "")); }; /** * @param {string} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setDungeonguid = function(value) { return jspb.Message.setField(this, 14, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearDungeonguid = function() { return jspb.Message.setField(this, 14, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasDungeonguid = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional uint32 LineId = 15; * @return {number} */ proto.SceneData.prototype.getLineid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setLineid = function(value) { return jspb.Message.setField(this, 15, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearLineid = function() { return jspb.Message.setField(this, 15, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasLineid = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional uint32 VisualLayerConfigId = 16; * @return {number} */ proto.SceneData.prototype.getVisuallayerconfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setVisuallayerconfigid = function(value) { return jspb.Message.setField(this, 16, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearVisuallayerconfigid = function() { return jspb.Message.setField(this, 16, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasVisuallayerconfigid = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional LastSceneData LastSceneData = 17; * @return {?proto.LastSceneData} */ proto.SceneData.prototype.getLastscenedata = function() { return /** @type{?proto.LastSceneData} */ ( jspb.Message.getWrapperField(this, proto.LastSceneData, 17)); }; /** * @param {?proto.LastSceneData|undefined} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setLastscenedata = function(value) { return jspb.Message.setWrapperField(this, 17, value); }; /** * Clears the message field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearLastscenedata = function() { return this.setLastscenedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasLastscenedata = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional int32 SceneAreaId = 18; * @return {number} */ proto.SceneData.prototype.getSceneareaid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setSceneareaid = function(value) { return jspb.Message.setField(this, 18, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearSceneareaid = function() { return jspb.Message.setField(this, 18, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasSceneareaid = function() { return jspb.Message.getField(this, 18) != null; }; /** * optional int32 LevelAreaId = 19; * @return {number} */ proto.SceneData.prototype.getLevelareaid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setLevelareaid = function(value) { return jspb.Message.setField(this, 19, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearLevelareaid = function() { return jspb.Message.setField(this, 19, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasLevelareaid = function() { return jspb.Message.getField(this, 19) != null; }; /** * optional int32 BeforeFallSceneAreaId = 20; * @return {number} */ proto.SceneData.prototype.getBeforefallsceneareaid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); }; /** * @param {number} value * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.setBeforefallsceneareaid = function(value) { return jspb.Message.setField(this, 20, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneData} returns this */ proto.SceneData.prototype.clearBeforefallsceneareaid = function() { return jspb.Message.setField(this, 20, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneData.prototype.hasBeforefallsceneareaid = function() { return jspb.Message.getField(this, 20) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LastSceneData.prototype.toObject = function(opt_includeInstance) { return proto.LastSceneData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LastSceneData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LastSceneData.toObject = function(includeInstance, msg) { var f, obj = { sceneid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, pos: (f = msg.getPos()) && proto.Position.toObject(includeInstance, f), sceneareaid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LastSceneData} */ proto.LastSceneData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LastSceneData; return proto.LastSceneData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LastSceneData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LastSceneData} */ proto.LastSceneData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setSceneid(value); break; case 2: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setPos(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneareaid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LastSceneData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LastSceneData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LastSceneData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LastSceneData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getPos(); if (f != null) { writer.writeMessage( 2, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional uint32 SceneId = 1; * @return {number} */ proto.LastSceneData.prototype.getSceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LastSceneData} returns this */ proto.LastSceneData.prototype.setSceneid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LastSceneData} returns this */ proto.LastSceneData.prototype.clearSceneid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LastSceneData.prototype.hasSceneid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Position Pos = 2; * @return {?proto.Position} */ proto.LastSceneData.prototype.getPos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 2)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.LastSceneData} returns this */ proto.LastSceneData.prototype.setPos = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.LastSceneData} returns this */ proto.LastSceneData.prototype.clearPos = function() { return this.setPos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LastSceneData.prototype.hasPos = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 SceneAreaId = 3; * @return {number} */ proto.LastSceneData.prototype.getSceneareaid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.LastSceneData} returns this */ proto.LastSceneData.prototype.setSceneareaid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.LastSceneData} returns this */ proto.LastSceneData.prototype.clearSceneareaid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LastSceneData.prototype.hasSceneareaid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SceneLuaData.prototype.toObject = function(opt_includeInstance) { return proto.SceneLuaData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SceneLuaData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneLuaData.toObject = function(includeInstance, msg) { var f, obj = { sceneluainfoMap: (f = msg.getSceneluainfoMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SceneLuaData} */ proto.SceneLuaData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SceneLuaData; return proto.SceneLuaData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SceneLuaData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SceneLuaData} */ proto.SceneLuaData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSceneluainfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readString, null, 0, ""); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SceneLuaData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SceneLuaData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SceneLuaData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneLuaData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSceneluainfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeString); } }; /** * map SceneLuaInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SceneLuaData.prototype.getSceneluainfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SceneLuaData} returns this */ proto.SceneLuaData.prototype.clearSceneluainfoMap = function() { this.getSceneluainfoMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PioneerData.prototype.toObject = function(opt_includeInstance) { return proto.PioneerData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PioneerData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PioneerData.toObject = function(includeInstance, msg) { var f, obj = { infomapMap: (f = msg.getInfomapMap()) ? f.toObject(includeInstance, proto.PioneerInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PioneerData} */ proto.PioneerData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PioneerData; return proto.PioneerData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PioneerData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PioneerData} */ proto.PioneerData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getInfomapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.PioneerInfo.deserializeBinaryFromReader, 0, new proto.PioneerInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PioneerData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PioneerData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PioneerData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PioneerData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getInfomapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.PioneerInfo.serializeBinaryToWriter); } }; /** * map InfoMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PioneerData.prototype.getInfomapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.PioneerInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PioneerData} returns this */ proto.PioneerData.prototype.clearInfomapMap = function() { this.getInfomapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PioneerInfo.prototype.toObject = function(opt_includeInstance) { return proto.PioneerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PioneerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PioneerInfo.toObject = function(includeInstance, msg) { var f, obj = { currenttotal: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetsMap: (f = msg.getTargetsMap()) ? f.toObject(includeInstance, undefined) : [], awardsMap: (f = msg.getAwardsMap()) ? f.toObject(includeInstance, undefined) : [], enteredzonesMap: (f = msg.getEnteredzonesMap()) ? f.toObject(includeInstance, undefined) : [], id: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, errcode: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PioneerInfo} */ proto.PioneerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PioneerInfo; return proto.PioneerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PioneerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PioneerInfo} */ proto.PioneerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setCurrenttotal(value); break; case 2: var value = msg.getTargetsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; case 3: var value = msg.getAwardsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 4: var value = msg.getEnteredzonesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 5: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 6: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PioneerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PioneerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PioneerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PioneerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getTargetsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } f = message.getAwardsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getEnteredzonesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeBool); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeUint32( 5, f ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeEnum( 6, f ); } }; /** * optional uint32 CurrentTotal = 1; * @return {number} */ proto.PioneerInfo.prototype.getCurrenttotal = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PioneerInfo} returns this */ proto.PioneerInfo.prototype.setCurrenttotal = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PioneerInfo} returns this */ proto.PioneerInfo.prototype.clearCurrenttotal = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PioneerInfo.prototype.hasCurrenttotal = function() { return jspb.Message.getField(this, 1) != null; }; /** * map Targets = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PioneerInfo.prototype.getTargetsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PioneerInfo} returns this */ proto.PioneerInfo.prototype.clearTargetsMap = function() { this.getTargetsMap().clear(); return this; }; /** * map Awards = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PioneerInfo.prototype.getAwardsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PioneerInfo} returns this */ proto.PioneerInfo.prototype.clearAwardsMap = function() { this.getAwardsMap().clear(); return this; }; /** * map EnteredZones = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PioneerInfo.prototype.getEnteredzonesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PioneerInfo} returns this */ proto.PioneerInfo.prototype.clearEnteredzonesMap = function() { this.getEnteredzonesMap().clear(); return this; }; /** * optional uint32 Id = 5; * @return {number} */ proto.PioneerInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.PioneerInfo} returns this */ proto.PioneerInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.PioneerInfo} returns this */ proto.PioneerInfo.prototype.clearId = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PioneerInfo.prototype.hasId = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional EErrorCode ErrCode = 6; * @return {!proto.EErrorCode} */ proto.PioneerInfo.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.PioneerInfo} returns this */ proto.PioneerInfo.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.PioneerInfo} returns this */ proto.PioneerInfo.prototype.clearErrcode = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PioneerInfo.prototype.hasErrcode = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ItemPackage.prototype.toObject = function(opt_includeInstance) { return proto.ItemPackage.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ItemPackage} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ItemPackage.toObject = function(includeInstance, msg) { var f, obj = { packagesMap: (f = msg.getPackagesMap()) ? f.toObject(includeInstance, proto.Package.toObject) : [], unlockitemsMap: (f = msg.getUnlockitemsMap()) ? f.toObject(includeInstance, undefined) : [], quickbar: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, itemuuid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, usegroupcdMap: (f = msg.getUsegroupcdMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ItemPackage} */ proto.ItemPackage.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ItemPackage; return proto.ItemPackage.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ItemPackage} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ItemPackage} */ proto.ItemPackage.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPackagesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.Package.deserializeBinaryFromReader, 0, new proto.Package()); }); break; case 2: var value = msg.getUnlockitemsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setQuickbar(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setItemuuid(value); break; case 5: var value = msg.getUsegroupcdMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ItemPackage.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ItemPackage.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ItemPackage} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ItemPackage.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPackagesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.Package.serializeBinaryToWriter); } f = message.getUnlockitemsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = message.getUsegroupcdMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt64); } }; /** * map Packages = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ItemPackage.prototype.getPackagesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.Package)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ItemPackage} returns this */ proto.ItemPackage.prototype.clearPackagesMap = function() { this.getPackagesMap().clear(); return this; }; /** * map UnlockItems = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ItemPackage.prototype.getUnlockitemsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ItemPackage} returns this */ proto.ItemPackage.prototype.clearUnlockitemsMap = function() { this.getUnlockitemsMap().clear(); return this; }; /** * optional int32 QuickBar = 3; * @return {number} */ proto.ItemPackage.prototype.getQuickbar = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ItemPackage} returns this */ proto.ItemPackage.prototype.setQuickbar = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ItemPackage} returns this */ proto.ItemPackage.prototype.clearQuickbar = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ItemPackage.prototype.hasQuickbar = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 ItemUuid = 4; * @return {number} */ proto.ItemPackage.prototype.getItemuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.ItemPackage} returns this */ proto.ItemPackage.prototype.setItemuuid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ItemPackage} returns this */ proto.ItemPackage.prototype.clearItemuuid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ItemPackage.prototype.hasItemuuid = function() { return jspb.Message.getField(this, 4) != null; }; /** * map UseGroupCd = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ItemPackage.prototype.getUsegroupcdMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ItemPackage} returns this */ proto.ItemPackage.prototype.clearUsegroupcdMap = function() { this.getUsegroupcdMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Package.prototype.toObject = function(opt_includeInstance) { return proto.Package.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Package} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Package.toObject = function(includeInstance, msg) { var f, obj = { type: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, maxcapacity: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, itemcdMap: (f = msg.getItemcdMap()) ? f.toObject(includeInstance, undefined) : [], itemsMap: (f = msg.getItemsMap()) ? f.toObject(includeInstance, proto.Item.toObject) : [], publiccd: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, changeversion: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Package} */ proto.Package.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Package; return proto.Package.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Package} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Package} */ proto.Package.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setType(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setMaxcapacity(value); break; case 3: var value = msg.getItemcdMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; case 4: var value = msg.getItemsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.Item.deserializeBinaryFromReader, 0, new proto.Item()); }); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setPubliccd(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setChangeversion(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Package.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Package.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Package} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Package.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getItemcdMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt64); } f = message.getItemsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.Item.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } }; /** * optional int32 Type = 1; * @return {number} */ proto.Package.prototype.getType = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.Package} returns this */ proto.Package.prototype.setType = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Package} returns this */ proto.Package.prototype.clearType = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Package.prototype.hasType = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 MaxCapacity = 2; * @return {number} */ proto.Package.prototype.getMaxcapacity = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.Package} returns this */ proto.Package.prototype.setMaxcapacity = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Package} returns this */ proto.Package.prototype.clearMaxcapacity = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Package.prototype.hasMaxcapacity = function() { return jspb.Message.getField(this, 2) != null; }; /** * map ItemCd = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Package.prototype.getItemcdMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Package} returns this */ proto.Package.prototype.clearItemcdMap = function() { this.getItemcdMap().clear(); return this; }; /** * map Items = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Package.prototype.getItemsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.Item)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Package} returns this */ proto.Package.prototype.clearItemsMap = function() { this.getItemsMap().clear(); return this; }; /** * optional int64 PublicCd = 5; * @return {number} */ proto.Package.prototype.getPubliccd = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.Package} returns this */ proto.Package.prototype.setPubliccd = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.Package} returns this */ proto.Package.prototype.clearPubliccd = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Package.prototype.hasPubliccd = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 ChangeVersion = 6; * @return {number} */ proto.Package.prototype.getChangeversion = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.Package} returns this */ proto.Package.prototype.setChangeversion = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.Package} returns this */ proto.Package.prototype.clearChangeversion = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Package.prototype.hasChangeversion = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Item.prototype.toObject = function(opt_includeInstance) { return proto.Item.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Item} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Item.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, configid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, count: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, invalid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, bindflag: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, createtime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, expiretime: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, optsrc: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, quality: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, equipattr: (f = msg.getEquipattr()) && proto.EquipAttr.toObject(includeInstance, f), modattr: (f = msg.getModattr()) && proto.ModAttr.toObject(includeInstance, f), cooldownexpiretime: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f, modnewattr: (f = msg.getModnewattr()) && proto.ModNewAttr.toObject(includeInstance, f), affixdata: (f = msg.getAffixdata()) && proto.AffixData.toObject(includeInstance, f), extendattrMap: (f = msg.getExtendattrMap()) ? f.toObject(includeInstance, proto.ItemExtendData.toObject) : [], rewardid: (f = jspb.Message.getField(msg, 16)) == null ? undefined : f, genesequenceMap: (f = msg.getGenesequenceMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Item} */ proto.Item.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Item; return proto.Item.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Item} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Item} */ proto.Item.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setConfigid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setCount(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setInvalid(value); break; case 5: var value = /** @type {!proto.EItemBindFlag} */ (reader.readEnum()); msg.setBindflag(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatetime(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setExpiretime(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setOptsrc(value); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setQuality(value); break; case 10: var value = new proto.EquipAttr; reader.readMessage(value,proto.EquipAttr.deserializeBinaryFromReader); msg.setEquipattr(value); break; case 11: var value = new proto.ModAttr; reader.readMessage(value,proto.ModAttr.deserializeBinaryFromReader); msg.setModattr(value); break; case 12: var value = /** @type {number} */ (reader.readInt64()); msg.setCooldownexpiretime(value); break; case 13: var value = new proto.ModNewAttr; reader.readMessage(value,proto.ModNewAttr.deserializeBinaryFromReader); msg.setModnewattr(value); break; case 14: var value = new proto.AffixData; reader.readMessage(value,proto.AffixData.deserializeBinaryFromReader); msg.setAffixdata(value); break; case 15: var value = msg.getExtendattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ItemExtendData.deserializeBinaryFromReader, 0, new proto.ItemExtendData()); }); break; case 16: var value = /** @type {number} */ (reader.readInt32()); msg.setRewardid(value); break; case 17: var value = msg.getGenesequenceMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Item.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Item.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Item} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Item.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {!proto.EItemBindFlag} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeEnum( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt32( 9, f ); } f = message.getEquipattr(); if (f != null) { writer.writeMessage( 10, f, proto.EquipAttr.serializeBinaryToWriter ); } f = message.getModattr(); if (f != null) { writer.writeMessage( 11, f, proto.ModAttr.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 12)); if (f != null) { writer.writeInt64( 12, f ); } f = message.getModnewattr(); if (f != null) { writer.writeMessage( 13, f, proto.ModNewAttr.serializeBinaryToWriter ); } f = message.getAffixdata(); if (f != null) { writer.writeMessage( 14, f, proto.AffixData.serializeBinaryToWriter ); } f = message.getExtendattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ItemExtendData.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 16)); if (f != null) { writer.writeInt32( 16, f ); } f = message.getGenesequenceMap(true); if (f && f.getLength() > 0) { f.serializeBinary(17, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.Item.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 ConfigId = 2; * @return {number} */ proto.Item.prototype.getConfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setConfigid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearConfigid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasConfigid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 Count = 3; * @return {number} */ proto.Item.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setCount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearCount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasCount = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 Invalid = 4; * @return {number} */ proto.Item.prototype.getInvalid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setInvalid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearInvalid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasInvalid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional EItemBindFlag BindFlag = 5; * @return {!proto.EItemBindFlag} */ proto.Item.prototype.getBindflag = function() { return /** @type {!proto.EItemBindFlag} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {!proto.EItemBindFlag} value * @return {!proto.Item} returns this */ proto.Item.prototype.setBindflag = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearBindflag = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasBindflag = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int64 CreateTime = 6; * @return {number} */ proto.Item.prototype.getCreatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setCreatetime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearCreatetime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasCreatetime = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int64 ExpireTime = 7; * @return {number} */ proto.Item.prototype.getExpiretime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setExpiretime = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearExpiretime = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasExpiretime = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 OptSrc = 8; * @return {number} */ proto.Item.prototype.getOptsrc = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setOptsrc = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearOptsrc = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasOptsrc = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int32 Quality = 9; * @return {number} */ proto.Item.prototype.getQuality = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setQuality = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearQuality = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasQuality = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional EquipAttr EquipAttr = 10; * @return {?proto.EquipAttr} */ proto.Item.prototype.getEquipattr = function() { return /** @type{?proto.EquipAttr} */ ( jspb.Message.getWrapperField(this, proto.EquipAttr, 10)); }; /** * @param {?proto.EquipAttr|undefined} value * @return {!proto.Item} returns this */ proto.Item.prototype.setEquipattr = function(value) { return jspb.Message.setWrapperField(this, 10, value); }; /** * Clears the message field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearEquipattr = function() { return this.setEquipattr(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasEquipattr = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional ModAttr ModAttr = 11; * @return {?proto.ModAttr} */ proto.Item.prototype.getModattr = function() { return /** @type{?proto.ModAttr} */ ( jspb.Message.getWrapperField(this, proto.ModAttr, 11)); }; /** * @param {?proto.ModAttr|undefined} value * @return {!proto.Item} returns this */ proto.Item.prototype.setModattr = function(value) { return jspb.Message.setWrapperField(this, 11, value); }; /** * Clears the message field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearModattr = function() { return this.setModattr(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasModattr = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional int64 CoolDownExpireTime = 12; * @return {number} */ proto.Item.prototype.getCooldownexpiretime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setCooldownexpiretime = function(value) { return jspb.Message.setField(this, 12, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearCooldownexpiretime = function() { return jspb.Message.setField(this, 12, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasCooldownexpiretime = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional ModNewAttr ModNewAttr = 13; * @return {?proto.ModNewAttr} */ proto.Item.prototype.getModnewattr = function() { return /** @type{?proto.ModNewAttr} */ ( jspb.Message.getWrapperField(this, proto.ModNewAttr, 13)); }; /** * @param {?proto.ModNewAttr|undefined} value * @return {!proto.Item} returns this */ proto.Item.prototype.setModnewattr = function(value) { return jspb.Message.setWrapperField(this, 13, value); }; /** * Clears the message field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearModnewattr = function() { return this.setModnewattr(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasModnewattr = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional AffixData AffixData = 14; * @return {?proto.AffixData} */ proto.Item.prototype.getAffixdata = function() { return /** @type{?proto.AffixData} */ ( jspb.Message.getWrapperField(this, proto.AffixData, 14)); }; /** * @param {?proto.AffixData|undefined} value * @return {!proto.Item} returns this */ proto.Item.prototype.setAffixdata = function(value) { return jspb.Message.setWrapperField(this, 14, value); }; /** * Clears the message field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearAffixdata = function() { return this.setAffixdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasAffixdata = function() { return jspb.Message.getField(this, 14) != null; }; /** * map ExtendAttr = 15; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Item.prototype.getExtendattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 15, opt_noLazyCreate, proto.ItemExtendData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Item} returns this */ proto.Item.prototype.clearExtendattrMap = function() { this.getExtendattrMap().clear(); return this; }; /** * optional int32 RewardId = 16; * @return {number} */ proto.Item.prototype.getRewardid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); }; /** * @param {number} value * @return {!proto.Item} returns this */ proto.Item.prototype.setRewardid = function(value) { return jspb.Message.setField(this, 16, value); }; /** * Clears the field making it undefined. * @return {!proto.Item} returns this */ proto.Item.prototype.clearRewardid = function() { return jspb.Message.setField(this, 16, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Item.prototype.hasRewardid = function() { return jspb.Message.getField(this, 16) != null; }; /** * map GeneSequence = 17; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Item.prototype.getGenesequenceMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 17, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Item} returns this */ proto.Item.prototype.clearGenesequenceMap = function() { this.getGenesequenceMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EquipAttr.prototype.toObject = function(opt_includeInstance) { return proto.EquipAttr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EquipAttr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipAttr.toObject = function(includeInstance, msg) { var f, obj = { baseattrsMap: (f = msg.getBaseattrsMap()) ? f.toObject(includeInstance, undefined) : [], perfectionvalue: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, recastcount: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, totalrecastcount: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, basicattrMap: (f = msg.getBasicattrMap()) ? f.toObject(includeInstance, undefined) : [], advanceattrMap: (f = msg.getAdvanceattrMap()) ? f.toObject(includeInstance, undefined) : [], recastattrMap: (f = msg.getRecastattrMap()) ? f.toObject(includeInstance, undefined) : [], perfectionlevel: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f, rarequalityattrMap: (f = msg.getRarequalityattrMap()) ? f.toObject(includeInstance, undefined) : [], maxperfectionvalue: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f, equipattrset: (f = msg.getEquipattrset()) && proto.EquipAttrSet.toObject(includeInstance, f), breakthroughtime: (f = jspb.Message.getField(msg, 18)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EquipAttr} */ proto.EquipAttr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EquipAttr; return proto.EquipAttr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EquipAttr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EquipAttr} */ proto.EquipAttr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 4: var value = msg.getBaseattrsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setPerfectionvalue(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setRecastcount(value); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setTotalrecastcount(value); break; case 10: var value = msg.getBasicattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 11: var value = msg.getAdvanceattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 12: var value = msg.getRecastattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 13: var value = /** @type {number} */ (reader.readInt32()); msg.setPerfectionlevel(value); break; case 14: var value = msg.getRarequalityattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 15: var value = /** @type {number} */ (reader.readInt32()); msg.setMaxperfectionvalue(value); break; case 17: var value = new proto.EquipAttrSet; reader.readMessage(value,proto.EquipAttrSet.deserializeBinaryFromReader); msg.setEquipattrset(value); break; case 18: var value = /** @type {number} */ (reader.readInt32()); msg.setBreakthroughtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EquipAttr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EquipAttr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EquipAttr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipAttr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBaseattrsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt32( 9, f ); } f = message.getBasicattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getAdvanceattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(11, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getRecastattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(12, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeInt32( 13, f ); } f = message.getRarequalityattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(14, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 15)); if (f != null) { writer.writeInt32( 15, f ); } f = message.getEquipattrset(); if (f != null) { writer.writeMessage( 17, f, proto.EquipAttrSet.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 18)); if (f != null) { writer.writeInt32( 18, f ); } }; /** * map BaseAttrs = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipAttr.prototype.getBaseattrsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearBaseattrsMap = function() { this.getBaseattrsMap().clear(); return this; }; /** * optional int32 PerfectionValue = 7; * @return {number} */ proto.EquipAttr.prototype.getPerfectionvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.setPerfectionvalue = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearPerfectionvalue = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipAttr.prototype.hasPerfectionvalue = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 RecastCount = 8; * @return {number} */ proto.EquipAttr.prototype.getRecastcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.setRecastcount = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearRecastcount = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipAttr.prototype.hasRecastcount = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int32 TotalRecastCount = 9; * @return {number} */ proto.EquipAttr.prototype.getTotalrecastcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.setTotalrecastcount = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearTotalrecastcount = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipAttr.prototype.hasTotalrecastcount = function() { return jspb.Message.getField(this, 9) != null; }; /** * map BasicAttr = 10; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipAttr.prototype.getBasicattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 10, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearBasicattrMap = function() { this.getBasicattrMap().clear(); return this; }; /** * map AdvanceAttr = 11; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipAttr.prototype.getAdvanceattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 11, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearAdvanceattrMap = function() { this.getAdvanceattrMap().clear(); return this; }; /** * map RecastAttr = 12; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipAttr.prototype.getRecastattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 12, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearRecastattrMap = function() { this.getRecastattrMap().clear(); return this; }; /** * optional int32 PerfectionLevel = 13; * @return {number} */ proto.EquipAttr.prototype.getPerfectionlevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0)); }; /** * @param {number} value * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.setPerfectionlevel = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearPerfectionlevel = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipAttr.prototype.hasPerfectionlevel = function() { return jspb.Message.getField(this, 13) != null; }; /** * map RareQualityAttr = 14; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipAttr.prototype.getRarequalityattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 14, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearRarequalityattrMap = function() { this.getRarequalityattrMap().clear(); return this; }; /** * optional int32 MaxPerfectionValue = 15; * @return {number} */ proto.EquipAttr.prototype.getMaxperfectionvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); }; /** * @param {number} value * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.setMaxperfectionvalue = function(value) { return jspb.Message.setField(this, 15, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearMaxperfectionvalue = function() { return jspb.Message.setField(this, 15, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipAttr.prototype.hasMaxperfectionvalue = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional EquipAttrSet EquipAttrSet = 17; * @return {?proto.EquipAttrSet} */ proto.EquipAttr.prototype.getEquipattrset = function() { return /** @type{?proto.EquipAttrSet} */ ( jspb.Message.getWrapperField(this, proto.EquipAttrSet, 17)); }; /** * @param {?proto.EquipAttrSet|undefined} value * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.setEquipattrset = function(value) { return jspb.Message.setWrapperField(this, 17, value); }; /** * Clears the message field making it undefined. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearEquipattrset = function() { return this.setEquipattrset(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipAttr.prototype.hasEquipattrset = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional int32 BreakThroughTime = 18; * @return {number} */ proto.EquipAttr.prototype.getBreakthroughtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0)); }; /** * @param {number} value * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.setBreakthroughtime = function(value) { return jspb.Message.setField(this, 18, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipAttr} returns this */ proto.EquipAttr.prototype.clearBreakthroughtime = function() { return jspb.Message.setField(this, 18, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipAttr.prototype.hasBreakthroughtime = function() { return jspb.Message.getField(this, 18) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EquipAttrSet.prototype.toObject = function(opt_includeInstance) { return proto.EquipAttrSet.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EquipAttrSet} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipAttrSet.toObject = function(includeInstance, msg) { var f, obj = { basicattrMap: (f = msg.getBasicattrMap()) ? f.toObject(includeInstance, undefined) : [], advanceattrMap: (f = msg.getAdvanceattrMap()) ? f.toObject(includeInstance, undefined) : [], recastattrMap: (f = msg.getRecastattrMap()) ? f.toObject(includeInstance, undefined) : [], rarequalityattrMap: (f = msg.getRarequalityattrMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EquipAttrSet} */ proto.EquipAttrSet.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EquipAttrSet; return proto.EquipAttrSet.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EquipAttrSet} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EquipAttrSet} */ proto.EquipAttrSet.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getBasicattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 2: var value = msg.getAdvanceattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 3: var value = msg.getRecastattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 4: var value = msg.getRarequalityattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EquipAttrSet.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EquipAttrSet.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EquipAttrSet} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipAttrSet.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBasicattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getAdvanceattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getRecastattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getRarequalityattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map BasicAttr = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipAttrSet.prototype.getBasicattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipAttrSet} returns this */ proto.EquipAttrSet.prototype.clearBasicattrMap = function() { this.getBasicattrMap().clear(); return this; }; /** * map AdvanceAttr = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipAttrSet.prototype.getAdvanceattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipAttrSet} returns this */ proto.EquipAttrSet.prototype.clearAdvanceattrMap = function() { this.getAdvanceattrMap().clear(); return this; }; /** * map RecastAttr = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipAttrSet.prototype.getRecastattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipAttrSet} returns this */ proto.EquipAttrSet.prototype.clearRecastattrMap = function() { this.getRecastattrMap().clear(); return this; }; /** * map RareQualityAttr = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipAttrSet.prototype.getRarequalityattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipAttrSet} returns this */ proto.EquipAttrSet.prototype.clearRarequalityattrMap = function() { this.getRarequalityattrMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ModAttr.repeatedFields_ = [4]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ModAttr.prototype.toObject = function(opt_includeInstance) { return proto.ModAttr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ModAttr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModAttr.toObject = function(includeInstance, msg) { var f, obj = { loadflag: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, type: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, modattrinfoList: jspb.Message.toObjectList(msg.getModattrinfoList(), proto.ModAttrInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ModAttr} */ proto.ModAttr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ModAttr; return proto.ModAttr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ModAttr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ModAttr} */ proto.ModAttr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setLoadflag(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setType(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 4: var value = new proto.ModAttrInfo; reader.readMessage(value,proto.ModAttrInfo.deserializeBinaryFromReader); msg.addModattrinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ModAttr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ModAttr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ModAttr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModAttr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getModattrinfoList(); if (f.length > 0) { writer.writeRepeatedMessage( 4, f, proto.ModAttrInfo.serializeBinaryToWriter ); } }; /** * optional int32 LoadFlag = 1; * @return {number} */ proto.ModAttr.prototype.getLoadflag = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ModAttr} returns this */ proto.ModAttr.prototype.setLoadflag = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ModAttr} returns this */ proto.ModAttr.prototype.clearLoadflag = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ModAttr.prototype.hasLoadflag = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Type = 2; * @return {number} */ proto.ModAttr.prototype.getType = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ModAttr} returns this */ proto.ModAttr.prototype.setType = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ModAttr} returns this */ proto.ModAttr.prototype.clearType = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ModAttr.prototype.hasType = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Level = 3; * @return {number} */ proto.ModAttr.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ModAttr} returns this */ proto.ModAttr.prototype.setLevel = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ModAttr} returns this */ proto.ModAttr.prototype.clearLevel = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ModAttr.prototype.hasLevel = function() { return jspb.Message.getField(this, 3) != null; }; /** * repeated ModAttrInfo ModAttrInfo = 4; * @return {!Array} */ proto.ModAttr.prototype.getModattrinfoList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ModAttrInfo, 4)); }; /** * @param {!Array} value * @return {!proto.ModAttr} returns this */ proto.ModAttr.prototype.setModattrinfoList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 4, value); }; /** * @param {!proto.ModAttrInfo=} opt_value * @param {number=} opt_index * @return {!proto.ModAttrInfo} */ proto.ModAttr.prototype.addModattrinfo = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ModAttrInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ModAttr} returns this */ proto.ModAttr.prototype.clearModattrinfoList = function() { return this.setModattrinfoList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ModAttrInfo.prototype.toObject = function(opt_includeInstance) { return proto.ModAttrInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ModAttrInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModAttrInfo.toObject = function(includeInstance, msg) { var f, obj = { type: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, id: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, effectparameterMap: (f = msg.getEffectparameterMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ModAttrInfo} */ proto.ModAttrInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ModAttrInfo; return proto.ModAttrInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ModAttrInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ModAttrInfo} */ proto.ModAttrInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setType(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setValue(value); break; case 4: var value = msg.getEffectparameterMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readString, null, 0, ""); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ModAttrInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ModAttrInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ModAttrInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModAttrInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getEffectparameterMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeString); } }; /** * optional int32 Type = 1; * @return {number} */ proto.ModAttrInfo.prototype.getType = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ModAttrInfo} returns this */ proto.ModAttrInfo.prototype.setType = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ModAttrInfo} returns this */ proto.ModAttrInfo.prototype.clearType = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ModAttrInfo.prototype.hasType = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Id = 2; * @return {number} */ proto.ModAttrInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ModAttrInfo} returns this */ proto.ModAttrInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ModAttrInfo} returns this */ proto.ModAttrInfo.prototype.clearId = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ModAttrInfo.prototype.hasId = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Value = 3; * @return {number} */ proto.ModAttrInfo.prototype.getValue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ModAttrInfo} returns this */ proto.ModAttrInfo.prototype.setValue = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ModAttrInfo} returns this */ proto.ModAttrInfo.prototype.clearValue = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ModAttrInfo.prototype.hasValue = function() { return jspb.Message.getField(this, 3) != null; }; /** * map EffectParameter = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ModAttrInfo.prototype.getEffectparameterMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ModAttrInfo} returns this */ proto.ModAttrInfo.prototype.clearEffectparameterMap = function() { this.getEffectparameterMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ModNewAttr.repeatedFields_ = [1,2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ModNewAttr.prototype.toObject = function(opt_includeInstance) { return proto.ModNewAttr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ModNewAttr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModNewAttr.toObject = function(includeInstance, msg) { var f, obj = { modpartsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, upgraderecordsList: jspb.Message.toObjectList(msg.getUpgraderecordsList(), proto.ModPartUpgradeRecord.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ModNewAttr} */ proto.ModNewAttr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ModNewAttr; return proto.ModNewAttr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ModNewAttr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ModNewAttr} */ proto.ModNewAttr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addModparts(values[i]); } break; case 2: var value = new proto.ModPartUpgradeRecord; reader.readMessage(value,proto.ModPartUpgradeRecord.deserializeBinaryFromReader); msg.addUpgraderecords(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ModNewAttr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ModNewAttr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ModNewAttr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModNewAttr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getModpartsList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } f = message.getUpgraderecordsList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.ModPartUpgradeRecord.serializeBinaryToWriter ); } }; /** * repeated int32 ModParts = 1; * @return {!Array} */ proto.ModNewAttr.prototype.getModpartsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.ModNewAttr} returns this */ proto.ModNewAttr.prototype.setModpartsList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.ModNewAttr} returns this */ proto.ModNewAttr.prototype.addModparts = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ModNewAttr} returns this */ proto.ModNewAttr.prototype.clearModpartsList = function() { return this.setModpartsList([]); }; /** * repeated ModPartUpgradeRecord UpgradeRecords = 2; * @return {!Array} */ proto.ModNewAttr.prototype.getUpgraderecordsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ModPartUpgradeRecord, 2)); }; /** * @param {!Array} value * @return {!proto.ModNewAttr} returns this */ proto.ModNewAttr.prototype.setUpgraderecordsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.ModPartUpgradeRecord=} opt_value * @param {number=} opt_index * @return {!proto.ModPartUpgradeRecord} */ proto.ModNewAttr.prototype.addUpgraderecords = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ModPartUpgradeRecord, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ModNewAttr} returns this */ proto.ModNewAttr.prototype.clearUpgraderecordsList = function() { return this.setUpgraderecordsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ModPartUpgradeRecord.prototype.toObject = function(opt_includeInstance) { return proto.ModPartUpgradeRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ModPartUpgradeRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModPartUpgradeRecord.toObject = function(includeInstance, msg) { var f, obj = { partid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, issuccess: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ModPartUpgradeRecord} */ proto.ModPartUpgradeRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ModPartUpgradeRecord; return proto.ModPartUpgradeRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ModPartUpgradeRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ModPartUpgradeRecord} */ proto.ModPartUpgradeRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setPartid(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIssuccess(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ModPartUpgradeRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ModPartUpgradeRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ModPartUpgradeRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModPartUpgradeRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * optional int32 PartId = 1; * @return {number} */ proto.ModPartUpgradeRecord.prototype.getPartid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ModPartUpgradeRecord} returns this */ proto.ModPartUpgradeRecord.prototype.setPartid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ModPartUpgradeRecord} returns this */ proto.ModPartUpgradeRecord.prototype.clearPartid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ModPartUpgradeRecord.prototype.hasPartid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsSuccess = 2; * @return {boolean} */ proto.ModPartUpgradeRecord.prototype.getIssuccess = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.ModPartUpgradeRecord} returns this */ proto.ModPartUpgradeRecord.prototype.setIssuccess = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ModPartUpgradeRecord} returns this */ proto.ModPartUpgradeRecord.prototype.clearIssuccess = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ModPartUpgradeRecord.prototype.hasIssuccess = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ItemExtendData.prototype.toObject = function(opt_includeInstance) { return proto.ItemExtendData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ItemExtendData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ItemExtendData.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, value: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ItemExtendData} */ proto.ItemExtendData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ItemExtendData; return proto.ItemExtendData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ItemExtendData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ItemExtendData} */ proto.ItemExtendData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setValue(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ItemExtendData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ItemExtendData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ItemExtendData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ItemExtendData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.ItemExtendData.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ItemExtendData} returns this */ proto.ItemExtendData.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ItemExtendData} returns this */ proto.ItemExtendData.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ItemExtendData.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Value = 2; * @return {number} */ proto.ItemExtendData.prototype.getValue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ItemExtendData} returns this */ proto.ItemExtendData.prototype.setValue = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ItemExtendData} returns this */ proto.ItemExtendData.prototype.clearValue = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ItemExtendData.prototype.hasValue = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.QuestDataList.repeatedFields_ = [11,12]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.QuestDataList.prototype.toObject = function(opt_includeInstance) { return proto.QuestDataList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.QuestDataList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.QuestDataList.toObject = function(includeInstance, msg) { var f, obj = { questmapMap: (f = msg.getQuestmapMap()) ? f.toObject(includeInstance, proto.QuestData.toObject) : [], finishquestMap: (f = msg.getFinishquestMap()) ? f.toObject(includeInstance, undefined) : [], trackingid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, finishresetquestMap: (f = msg.getFinishresetquestMap()) ? f.toObject(includeInstance, undefined) : [], historymapMap: (f = msg.getHistorymapMap()) ? f.toObject(includeInstance, proto.QuestHistory.toObject) : [], worldquesttimestamp: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, worldquestinfoMap: (f = msg.getWorldquestinfoMap()) ? f.toObject(includeInstance, proto.WorldQuestInfo.toObject) : [], allworldquestlistMap: (f = msg.getAllworldquestlistMap()) ? f.toObject(includeInstance, undefined) : [], blueworldquestmapMap: (f = msg.getBlueworldquestmapMap()) ? f.toObject(includeInstance, undefined) : [], filtereventidMap: (f = msg.getFiltereventidMap()) ? f.toObject(includeInstance, proto.worldQuestList.toObject) : [], acceptquestlistList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f, followworldquestlistList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f, trackoptionalquestMap: (f = msg.getTrackoptionalquestMap()) ? f.toObject(includeInstance, undefined) : [], finishresetquestcountMap: (f = msg.getFinishresetquestcountMap()) ? f.toObject(includeInstance, undefined) : [], acceptquestmapMap: (f = msg.getAcceptquestmapMap()) ? f.toObject(includeInstance, undefined) : [], version: (f = jspb.Message.getField(msg, 16)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.QuestDataList} */ proto.QuestDataList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.QuestDataList; return proto.QuestDataList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.QuestDataList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.QuestDataList} */ proto.QuestDataList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getQuestmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.QuestData.deserializeBinaryFromReader, 0, new proto.QuestData()); }); break; case 2: var value = msg.getFinishquestMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setTrackingid(value); break; case 4: var value = msg.getFinishresetquestMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; case 5: var value = msg.getHistorymapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.QuestHistory.deserializeBinaryFromReader, 0, new proto.QuestHistory()); }); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setWorldquesttimestamp(value); break; case 7: var value = msg.getWorldquestinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.WorldQuestInfo.deserializeBinaryFromReader, 0, new proto.WorldQuestInfo()); }); break; case 8: var value = msg.getAllworldquestlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; case 9: var value = msg.getBlueworldquestmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; case 10: var value = msg.getFiltereventidMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.worldQuestList.deserializeBinaryFromReader, 0, new proto.worldQuestList()); }); break; case 11: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addAcceptquestlist(values[i]); } break; case 12: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addFollowworldquestlist(values[i]); } break; case 13: var value = msg.getTrackoptionalquestMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; case 14: var value = msg.getFinishresetquestcountMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; case 15: var value = msg.getAcceptquestmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 16: var value = /** @type {number} */ (reader.readUint64()); msg.setVersion(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.QuestDataList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.QuestDataList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.QuestDataList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.QuestDataList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getQuestmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.QuestData.serializeBinaryToWriter); } f = message.getFinishquestMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeBool); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = message.getFinishresetquestMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } f = message.getHistorymapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.QuestHistory.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = message.getWorldquestinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.WorldQuestInfo.serializeBinaryToWriter); } f = message.getAllworldquestlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } f = message.getBlueworldquestmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } f = message.getFiltereventidMap(true); if (f && f.getLength() > 0) { f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.worldQuestList.serializeBinaryToWriter); } f = message.getAcceptquestlistList(); if (f.length > 0) { writer.writePackedUint32( 11, f ); } f = message.getFollowworldquestlistList(); if (f.length > 0) { writer.writePackedUint32( 12, f ); } f = message.getTrackoptionalquestMap(true); if (f && f.getLength() > 0) { f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } f = message.getFinishresetquestcountMap(true); if (f && f.getLength() > 0) { f.serializeBinary(14, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } f = message.getAcceptquestmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeBool); } f = /** @type {number} */ (jspb.Message.getField(message, 16)); if (f != null) { writer.writeUint64( 16, f ); } }; /** * map QuestMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getQuestmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.QuestData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearQuestmapMap = function() { this.getQuestmapMap().clear(); return this; }; /** * map FinishQuest = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getFinishquestMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearFinishquestMap = function() { this.getFinishquestMap().clear(); return this; }; /** * optional uint32 TrackingId = 3; * @return {number} */ proto.QuestDataList.prototype.getTrackingid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.setTrackingid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearTrackingid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.QuestDataList.prototype.hasTrackingid = function() { return jspb.Message.getField(this, 3) != null; }; /** * map FinishResetQuest = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getFinishresetquestMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearFinishresetquestMap = function() { this.getFinishresetquestMap().clear(); return this; }; /** * map HistoryMap = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getHistorymapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, proto.QuestHistory)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearHistorymapMap = function() { this.getHistorymapMap().clear(); return this; }; /** * optional int64 WorldQuestTimeStamp = 6; * @return {number} */ proto.QuestDataList.prototype.getWorldquesttimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.setWorldquesttimestamp = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearWorldquesttimestamp = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.QuestDataList.prototype.hasWorldquesttimestamp = function() { return jspb.Message.getField(this, 6) != null; }; /** * map WorldQuestInfo = 7; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getWorldquestinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 7, opt_noLazyCreate, proto.WorldQuestInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearWorldquestinfoMap = function() { this.getWorldquestinfoMap().clear(); return this; }; /** * map AllWorldQuestList = 8; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getAllworldquestlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 8, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearAllworldquestlistMap = function() { this.getAllworldquestlistMap().clear(); return this; }; /** * map BlueWorldQuestMap = 9; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getBlueworldquestmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 9, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearBlueworldquestmapMap = function() { this.getBlueworldquestmapMap().clear(); return this; }; /** * map FilterEventId = 10; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getFiltereventidMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 10, opt_noLazyCreate, proto.worldQuestList)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearFiltereventidMap = function() { this.getFiltereventidMap().clear(); return this; }; /** * repeated uint32 AcceptQuestList = 11; * @return {!Array} */ proto.QuestDataList.prototype.getAcceptquestlistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 11)); }; /** * @param {!Array} value * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.setAcceptquestlistList = function(value) { return jspb.Message.setField(this, 11, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.addAcceptquestlist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 11, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearAcceptquestlistList = function() { return this.setAcceptquestlistList([]); }; /** * repeated uint32 FollowWorldQuestList = 12; * @return {!Array} */ proto.QuestDataList.prototype.getFollowworldquestlistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 12)); }; /** * @param {!Array} value * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.setFollowworldquestlistList = function(value) { return jspb.Message.setField(this, 12, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.addFollowworldquestlist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 12, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearFollowworldquestlistList = function() { return this.setFollowworldquestlistList([]); }; /** * map TrackOptionalQuest = 13; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getTrackoptionalquestMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 13, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearTrackoptionalquestMap = function() { this.getTrackoptionalquestMap().clear(); return this; }; /** * map FinishResetQuestCount = 14; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getFinishresetquestcountMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 14, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearFinishresetquestcountMap = function() { this.getFinishresetquestcountMap().clear(); return this; }; /** * map AcceptQuestMap = 15; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestDataList.prototype.getAcceptquestmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 15, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearAcceptquestmapMap = function() { this.getAcceptquestmapMap().clear(); return this; }; /** * optional uint64 Version = 16; * @return {number} */ proto.QuestDataList.prototype.getVersion = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0)); }; /** * @param {number} value * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.setVersion = function(value) { return jspb.Message.setField(this, 16, value); }; /** * Clears the field making it undefined. * @return {!proto.QuestDataList} returns this */ proto.QuestDataList.prototype.clearVersion = function() { return jspb.Message.setField(this, 16, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.QuestDataList.prototype.hasVersion = function() { return jspb.Message.getField(this, 16) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.QuestData.prototype.toObject = function(opt_includeInstance) { return proto.QuestData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.QuestData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.QuestData.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, stepid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, state: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, targetnumMap: (f = msg.getTargetnumMap()) ? f.toObject(includeInstance, undefined) : [], targetmaxnumMap: (f = msg.getTargetmaxnumMap()) ? f.toObject(includeInstance, undefined) : [], steplimittime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, stepstatus: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, addlimittime: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, targettypeMap: (f = msg.getTargettypeMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.QuestData} */ proto.QuestData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.QuestData; return proto.QuestData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.QuestData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.QuestData} */ proto.QuestData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setStepid(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setState(value); break; case 4: var value = msg.getTargetnumMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 5: var value = msg.getTargetmaxnumMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setSteplimittime(value); break; case 7: var value = /** @type {!proto.EQuestStepStatus} */ (reader.readEnum()); msg.setStepstatus(value); break; case 8: var value = /** @type {number} */ (reader.readUint32()); msg.setAddlimittime(value); break; case 9: var value = msg.getTargettypeMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.QuestData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.QuestData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.QuestData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.QuestData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = message.getTargetnumMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getTargetmaxnumMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = /** @type {!proto.EQuestStepStatus} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeEnum( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeUint32( 8, f ); } f = message.getTargettypeMap(true); if (f && f.getLength() > 0) { f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.QuestData.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.QuestData.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 StepId = 2; * @return {number} */ proto.QuestData.prototype.getStepid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.setStepid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.clearStepid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.QuestData.prototype.hasStepid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 State = 3; * @return {number} */ proto.QuestData.prototype.getState = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.setState = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.clearState = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.QuestData.prototype.hasState = function() { return jspb.Message.getField(this, 3) != null; }; /** * map TargetNum = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestData.prototype.getTargetnumMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.clearTargetnumMap = function() { this.getTargetnumMap().clear(); return this; }; /** * map TargetMaxNum = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestData.prototype.getTargetmaxnumMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.clearTargetmaxnumMap = function() { this.getTargetmaxnumMap().clear(); return this; }; /** * optional int64 StepLimitTime = 6; * @return {number} */ proto.QuestData.prototype.getSteplimittime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.setSteplimittime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.clearSteplimittime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.QuestData.prototype.hasSteplimittime = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional EQuestStepStatus StepStatus = 7; * @return {!proto.EQuestStepStatus} */ proto.QuestData.prototype.getStepstatus = function() { return /** @type {!proto.EQuestStepStatus} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {!proto.EQuestStepStatus} value * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.setStepstatus = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.clearStepstatus = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.QuestData.prototype.hasStepstatus = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional uint32 AddLimitTime = 8; * @return {number} */ proto.QuestData.prototype.getAddlimittime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.setAddlimittime = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.clearAddlimittime = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.QuestData.prototype.hasAddlimittime = function() { return jspb.Message.getField(this, 8) != null; }; /** * map TargetType = 9; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestData.prototype.getTargettypeMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 9, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestData} returns this */ proto.QuestData.prototype.clearTargettypeMap = function() { this.getTargettypeMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.QuestHistory.prototype.toObject = function(opt_includeInstance) { return proto.QuestHistory.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.QuestHistory} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.QuestHistory.toObject = function(includeInstance, msg) { var f, obj = { stephistoryMap: (f = msg.getStephistoryMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.QuestHistory} */ proto.QuestHistory.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.QuestHistory; return proto.QuestHistory.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.QuestHistory} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.QuestHistory} */ proto.QuestHistory.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getStephistoryMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.QuestHistory.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.QuestHistory.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.QuestHistory} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.QuestHistory.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getStephistoryMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } }; /** * map StepHistory = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.QuestHistory.prototype.getStephistoryMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.QuestHistory} returns this */ proto.QuestHistory.prototype.clearStephistoryMap = function() { this.getStephistoryMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.WorldQuestInfo.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.WorldQuestInfo.prototype.toObject = function(opt_includeInstance) { return proto.WorldQuestInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.WorldQuestInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WorldQuestInfo.toObject = function(includeInstance, msg) { var f, obj = { finishpoints: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, rewardsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, exceedingpoints: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.WorldQuestInfo} */ proto.WorldQuestInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.WorldQuestInfo; return proto.WorldQuestInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.WorldQuestInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.WorldQuestInfo} */ proto.WorldQuestInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setFinishpoints(value); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addRewards(values[i]); } break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setExceedingpoints(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.WorldQuestInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.WorldQuestInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.WorldQuestInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WorldQuestInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getRewardsList(); if (f.length > 0) { writer.writePackedUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } }; /** * optional uint32 FinishPoints = 1; * @return {number} */ proto.WorldQuestInfo.prototype.getFinishpoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.WorldQuestInfo} returns this */ proto.WorldQuestInfo.prototype.setFinishpoints = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.WorldQuestInfo} returns this */ proto.WorldQuestInfo.prototype.clearFinishpoints = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WorldQuestInfo.prototype.hasFinishpoints = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated uint32 Rewards = 2; * @return {!Array} */ proto.WorldQuestInfo.prototype.getRewardsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.WorldQuestInfo} returns this */ proto.WorldQuestInfo.prototype.setRewardsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.WorldQuestInfo} returns this */ proto.WorldQuestInfo.prototype.addRewards = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.WorldQuestInfo} returns this */ proto.WorldQuestInfo.prototype.clearRewardsList = function() { return this.setRewardsList([]); }; /** * optional uint32 ExceedingPoints = 3; * @return {number} */ proto.WorldQuestInfo.prototype.getExceedingpoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.WorldQuestInfo} returns this */ proto.WorldQuestInfo.prototype.setExceedingpoints = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.WorldQuestInfo} returns this */ proto.WorldQuestInfo.prototype.clearExceedingpoints = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WorldQuestInfo.prototype.hasExceedingpoints = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.worldQuestList.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.worldQuestList.prototype.toObject = function(opt_includeInstance) { return proto.worldQuestList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.worldQuestList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.worldQuestList.toObject = function(includeInstance, msg) { var f, obj = { questlistList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.worldQuestList} */ proto.worldQuestList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.worldQuestList; return proto.worldQuestList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.worldQuestList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.worldQuestList} */ proto.worldQuestList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addQuestlist(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.worldQuestList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.worldQuestList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.worldQuestList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.worldQuestList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getQuestlistList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } }; /** * repeated int32 QuestList = 1; * @return {!Array} */ proto.worldQuestList.prototype.getQuestlistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.worldQuestList} returns this */ proto.worldQuestList.prototype.setQuestlistList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.worldQuestList} returns this */ proto.worldQuestList.prototype.addQuestlist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.worldQuestList} returns this */ proto.worldQuestList.prototype.clearQuestlistList = function() { return this.setQuestlistList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SettingData.prototype.toObject = function(opt_includeInstance) { return proto.SettingData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SettingData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SettingData.toObject = function(includeInstance, msg) { var f, obj = { settingmapMap: (f = msg.getSettingmapMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SettingData} */ proto.SettingData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SettingData; return proto.SettingData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SettingData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SettingData} */ proto.SettingData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSettingmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readString, null, 0, ""); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SettingData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SettingData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SettingData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SettingData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSettingmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeString); } }; /** * map SettingMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SettingData.prototype.getSettingmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SettingData} returns this */ proto.SettingData.prototype.clearSettingmapMap = function() { this.getSettingmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MiscInfo.prototype.toObject = function(opt_includeInstance) { return proto.MiscInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MiscInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MiscInfo.toObject = function(includeInstance, msg) { var f, obj = { expressionidslearnedMap: (f = msg.getExpressionidslearnedMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MiscInfo} */ proto.MiscInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MiscInfo; return proto.MiscInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MiscInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MiscInfo} */ proto.MiscInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getExpressionidslearnedMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MiscInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MiscInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MiscInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MiscInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getExpressionidslearnedMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map ExpressionIdsLearned = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MiscInfo.prototype.getExpressionidslearnedMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MiscInfo} returns this */ proto.MiscInfo.prototype.clearExpressionidslearnedMap = function() { this.getExpressionidslearnedMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ExchangeItem.prototype.toObject = function(opt_includeInstance) { return proto.ExchangeItem.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ExchangeItem} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ExchangeItem.toObject = function(includeInstance, msg) { var f, obj = { exchangeinfoMap: (f = msg.getExchangeinfoMap()) ? f.toObject(includeInstance, proto.ExchangeInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ExchangeItem} */ proto.ExchangeItem.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ExchangeItem; return proto.ExchangeItem.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ExchangeItem} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ExchangeItem} */ proto.ExchangeItem.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getExchangeinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ExchangeInfo.deserializeBinaryFromReader, 0, new proto.ExchangeInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ExchangeItem.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ExchangeItem.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ExchangeItem} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ExchangeItem.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getExchangeinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ExchangeInfo.serializeBinaryToWriter); } }; /** * map ExchangeInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ExchangeItem.prototype.getExchangeinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.ExchangeInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ExchangeItem} returns this */ proto.ExchangeItem.prototype.clearExchangeinfoMap = function() { this.getExchangeinfoMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ExchangeInfo.prototype.toObject = function(opt_includeInstance) { return proto.ExchangeInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ExchangeInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ExchangeInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, exchangedataMap: (f = msg.getExchangedataMap()) ? f.toObject(includeInstance, proto.ExchangeData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ExchangeInfo} */ proto.ExchangeInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ExchangeInfo; return proto.ExchangeInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ExchangeInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ExchangeInfo} */ proto.ExchangeInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = msg.getExchangedataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ExchangeData.deserializeBinaryFromReader, 0, new proto.ExchangeData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ExchangeInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ExchangeInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ExchangeInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ExchangeInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getExchangedataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ExchangeData.serializeBinaryToWriter); } }; /** * optional int32 Id = 1; * @return {number} */ proto.ExchangeInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ExchangeInfo} returns this */ proto.ExchangeInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ExchangeInfo} returns this */ proto.ExchangeInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ExchangeInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * map ExchangeData = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ExchangeInfo.prototype.getExchangedataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.ExchangeData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ExchangeInfo} returns this */ proto.ExchangeInfo.prototype.clearExchangedataMap = function() { this.getExchangedataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ExchangeData.prototype.toObject = function(opt_includeInstance) { return proto.ExchangeData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ExchangeData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ExchangeData.toObject = function(includeInstance, msg) { var f, obj = { itemconfigid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, unlock: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, curexchangecount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, expiretime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, lastrefreshtime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ExchangeData} */ proto.ExchangeData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ExchangeData; return proto.ExchangeData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ExchangeData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ExchangeData} */ proto.ExchangeData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setItemconfigid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setUnlock(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setCurexchangecount(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setExpiretime(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setLastrefreshtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ExchangeData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ExchangeData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ExchangeData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ExchangeData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } }; /** * optional int32 ItemConfigId = 1; * @return {number} */ proto.ExchangeData.prototype.getItemconfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.setItemconfigid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.clearItemconfigid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ExchangeData.prototype.hasItemconfigid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Unlock = 2; * @return {number} */ proto.ExchangeData.prototype.getUnlock = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.setUnlock = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.clearUnlock = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ExchangeData.prototype.hasUnlock = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 CurExchangeCount = 3; * @return {number} */ proto.ExchangeData.prototype.getCurexchangecount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.setCurexchangecount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.clearCurexchangecount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ExchangeData.prototype.hasCurexchangecount = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 ExpireTime = 4; * @return {number} */ proto.ExchangeData.prototype.getExpiretime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.setExpiretime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.clearExpiretime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ExchangeData.prototype.hasExpiretime = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 LastRefreshTime = 5; * @return {number} */ proto.ExchangeData.prototype.getLastrefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.setLastrefreshtime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.ExchangeData} returns this */ proto.ExchangeData.prototype.clearLastrefreshtime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ExchangeData.prototype.hasLastrefreshtime = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EquipList.prototype.toObject = function(opt_includeInstance) { return proto.EquipList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EquipList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipList.toObject = function(includeInstance, msg) { var f, obj = { equiplistMap: (f = msg.getEquiplistMap()) ? f.toObject(includeInstance, proto.EquipInfo.toObject) : [], equipattr: (f = msg.getEquipattr()) && proto.EquipAttr.toObject(includeInstance, f), equiprecastinfoMap: (f = msg.getEquiprecastinfoMap()) ? f.toObject(includeInstance, proto.EquipAttr.toObject) : [], equipenchantMap: (f = msg.getEquipenchantMap()) ? f.toObject(includeInstance, proto.EquipEnchantInfo.toObject) : [], suitinfodictMap: (f = msg.getSuitinfodictMap()) ? f.toObject(includeInstance, proto.EquipSuitInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EquipList} */ proto.EquipList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EquipList; return proto.EquipList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EquipList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EquipList} */ proto.EquipList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getEquiplistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.EquipInfo.deserializeBinaryFromReader, 0, new proto.EquipInfo()); }); break; case 2: var value = new proto.EquipAttr; reader.readMessage(value,proto.EquipAttr.deserializeBinaryFromReader); msg.setEquipattr(value); break; case 4: var value = msg.getEquiprecastinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint64, jspb.BinaryReader.prototype.readMessage, proto.EquipAttr.deserializeBinaryFromReader, 0, new proto.EquipAttr()); }); break; case 5: var value = msg.getEquipenchantMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.EquipEnchantInfo.deserializeBinaryFromReader, 0, new proto.EquipEnchantInfo()); }); break; case 6: var value = msg.getSuitinfodictMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.EquipSuitInfo.deserializeBinaryFromReader, 0, new proto.EquipSuitInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EquipList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EquipList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EquipList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getEquiplistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.EquipInfo.serializeBinaryToWriter); } f = message.getEquipattr(); if (f != null) { writer.writeMessage( 2, f, proto.EquipAttr.serializeBinaryToWriter ); } f = message.getEquiprecastinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeUint64, jspb.BinaryWriter.prototype.writeMessage, proto.EquipAttr.serializeBinaryToWriter); } f = message.getEquipenchantMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.EquipEnchantInfo.serializeBinaryToWriter); } f = message.getSuitinfodictMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.EquipSuitInfo.serializeBinaryToWriter); } }; /** * map EquipList_ = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipList.prototype.getEquiplistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.EquipInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipList} returns this */ proto.EquipList.prototype.clearEquiplistMap = function() { this.getEquiplistMap().clear(); return this; }; /** * optional EquipAttr EquipAttr = 2; * @return {?proto.EquipAttr} */ proto.EquipList.prototype.getEquipattr = function() { return /** @type{?proto.EquipAttr} */ ( jspb.Message.getWrapperField(this, proto.EquipAttr, 2)); }; /** * @param {?proto.EquipAttr|undefined} value * @return {!proto.EquipList} returns this */ proto.EquipList.prototype.setEquipattr = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.EquipList} returns this */ proto.EquipList.prototype.clearEquipattr = function() { return this.setEquipattr(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipList.prototype.hasEquipattr = function() { return jspb.Message.getField(this, 2) != null; }; /** * map EquipRecastInfo = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipList.prototype.getEquiprecastinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.EquipAttr)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipList} returns this */ proto.EquipList.prototype.clearEquiprecastinfoMap = function() { this.getEquiprecastinfoMap().clear(); return this; }; /** * map EquipEnchant = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipList.prototype.getEquipenchantMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.EquipEnchantInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipList} returns this */ proto.EquipList.prototype.clearEquipenchantMap = function() { this.getEquipenchantMap().clear(); return this; }; /** * map SuitInfoDict = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipList.prototype.getSuitinfodictMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, proto.EquipSuitInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipList} returns this */ proto.EquipList.prototype.clearSuitinfodictMap = function() { this.getSuitinfodictMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EquipInfo.prototype.toObject = function(opt_includeInstance) { return proto.EquipInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EquipInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipInfo.toObject = function(includeInstance, msg) { var f, obj = { equipslot: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, itemuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, equipslotrefinelevel: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, equipslotrefinefailedcount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EquipInfo} */ proto.EquipInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EquipInfo; return proto.EquipInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EquipInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EquipInfo} */ proto.EquipInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setEquipslot(value); break; case 2: var value = /** @type {number} */ (reader.readUint64()); msg.setItemuuid(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setEquipslotrefinelevel(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setEquipslotrefinefailedcount(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EquipInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EquipInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EquipInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } }; /** * optional int32 EquipSlot = 1; * @return {number} */ proto.EquipInfo.prototype.getEquipslot = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.EquipInfo} returns this */ proto.EquipInfo.prototype.setEquipslot = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipInfo} returns this */ proto.EquipInfo.prototype.clearEquipslot = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipInfo.prototype.hasEquipslot = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint64 ItemUuid = 2; * @return {number} */ proto.EquipInfo.prototype.getItemuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.EquipInfo} returns this */ proto.EquipInfo.prototype.setItemuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipInfo} returns this */ proto.EquipInfo.prototype.clearItemuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipInfo.prototype.hasItemuuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 EquipSlotRefineLevel = 3; * @return {number} */ proto.EquipInfo.prototype.getEquipslotrefinelevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.EquipInfo} returns this */ proto.EquipInfo.prototype.setEquipslotrefinelevel = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipInfo} returns this */ proto.EquipInfo.prototype.clearEquipslotrefinelevel = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipInfo.prototype.hasEquipslotrefinelevel = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 EquipSlotRefineFailedCount = 4; * @return {number} */ proto.EquipInfo.prototype.getEquipslotrefinefailedcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.EquipInfo} returns this */ proto.EquipInfo.prototype.setEquipslotrefinefailedcount = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipInfo} returns this */ proto.EquipInfo.prototype.clearEquipslotrefinefailedcount = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipInfo.prototype.hasEquipslotrefinefailedcount = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EquipEnchantInfo.prototype.toObject = function(opt_includeInstance) { return proto.EquipEnchantInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EquipEnchantInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipEnchantInfo.toObject = function(includeInstance, msg) { var f, obj = { enchantitemtypeid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, enchantlevel: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, enchanttype: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EquipEnchantInfo} */ proto.EquipEnchantInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EquipEnchantInfo; return proto.EquipEnchantInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EquipEnchantInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EquipEnchantInfo} */ proto.EquipEnchantInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setEnchantitemtypeid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setEnchantlevel(value); break; case 3: var value = /** @type {!proto.EEquipEnchantType} */ (reader.readEnum()); msg.setEnchanttype(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EquipEnchantInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EquipEnchantInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EquipEnchantInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipEnchantInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {!proto.EEquipEnchantType} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, f ); } }; /** * optional int32 EnchantItemTypeId = 1; * @return {number} */ proto.EquipEnchantInfo.prototype.getEnchantitemtypeid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.EquipEnchantInfo} returns this */ proto.EquipEnchantInfo.prototype.setEnchantitemtypeid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipEnchantInfo} returns this */ proto.EquipEnchantInfo.prototype.clearEnchantitemtypeid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipEnchantInfo.prototype.hasEnchantitemtypeid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 EnchantLevel = 2; * @return {number} */ proto.EquipEnchantInfo.prototype.getEnchantlevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.EquipEnchantInfo} returns this */ proto.EquipEnchantInfo.prototype.setEnchantlevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipEnchantInfo} returns this */ proto.EquipEnchantInfo.prototype.clearEnchantlevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipEnchantInfo.prototype.hasEnchantlevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional EEquipEnchantType EnchantType = 3; * @return {!proto.EEquipEnchantType} */ proto.EquipEnchantInfo.prototype.getEnchanttype = function() { return /** @type {!proto.EEquipEnchantType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {!proto.EEquipEnchantType} value * @return {!proto.EquipEnchantInfo} returns this */ proto.EquipEnchantInfo.prototype.setEnchanttype = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipEnchantInfo} returns this */ proto.EquipEnchantInfo.prototype.clearEnchanttype = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipEnchantInfo.prototype.hasEnchanttype = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EquipSuitInfo.prototype.toObject = function(opt_includeInstance) { return proto.EquipSuitInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EquipSuitInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipSuitInfo.toObject = function(includeInstance, msg) { var f, obj = { suitattrMap: (f = msg.getSuitattrMap()) ? f.toObject(includeInstance, undefined) : [], attrtype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EquipSuitInfo} */ proto.EquipSuitInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EquipSuitInfo; return proto.EquipSuitInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EquipSuitInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EquipSuitInfo} */ proto.EquipSuitInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSuitattrMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setAttrtype(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EquipSuitInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EquipSuitInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EquipSuitInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EquipSuitInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSuitattrMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * map SuitAttr = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EquipSuitInfo.prototype.getSuitattrMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EquipSuitInfo} returns this */ proto.EquipSuitInfo.prototype.clearSuitattrMap = function() { this.getSuitattrMap().clear(); return this; }; /** * optional int32 AttrType = 2; * @return {number} */ proto.EquipSuitInfo.prototype.getAttrtype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.EquipSuitInfo} returns this */ proto.EquipSuitInfo.prototype.setAttrtype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.EquipSuitInfo} returns this */ proto.EquipSuitInfo.prototype.clearAttrtype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EquipSuitInfo.prototype.hasAttrtype = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EnergyItem.prototype.toObject = function(opt_includeInstance) { return proto.EnergyItem.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EnergyItem} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnergyItem.toObject = function(includeInstance, msg) { var f, obj = { energylimit: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, extraenergylimit: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, energyinfoMap: (f = msg.getEnergyinfoMap()) ? f.toObject(includeInstance, proto.EnergyInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EnergyItem} */ proto.EnergyItem.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EnergyItem; return proto.EnergyItem.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EnergyItem} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EnergyItem} */ proto.EnergyItem.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setEnergylimit(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setExtraenergylimit(value); break; case 3: var value = msg.getEnergyinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.EnergyInfo.deserializeBinaryFromReader, 0, new proto.EnergyInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EnergyItem.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EnergyItem.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EnergyItem} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnergyItem.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = message.getEnergyinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.EnergyInfo.serializeBinaryToWriter); } }; /** * optional uint32 EnergyLimit = 1; * @return {number} */ proto.EnergyItem.prototype.getEnergylimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.EnergyItem} returns this */ proto.EnergyItem.prototype.setEnergylimit = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.EnergyItem} returns this */ proto.EnergyItem.prototype.clearEnergylimit = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnergyItem.prototype.hasEnergylimit = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 ExtraEnergyLimit = 2; * @return {number} */ proto.EnergyItem.prototype.getExtraenergylimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.EnergyItem} returns this */ proto.EnergyItem.prototype.setExtraenergylimit = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.EnergyItem} returns this */ proto.EnergyItem.prototype.clearExtraenergylimit = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnergyItem.prototype.hasExtraenergylimit = function() { return jspb.Message.getField(this, 2) != null; }; /** * map EnergyInfo = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EnergyItem.prototype.getEnergyinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.EnergyInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EnergyItem} returns this */ proto.EnergyItem.prototype.clearEnergyinfoMap = function() { this.getEnergyinfoMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EnergyInfo.prototype.toObject = function(opt_includeInstance) { return proto.EnergyInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EnergyInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnergyInfo.toObject = function(includeInstance, msg) { var f, obj = { energyvalue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, unlocknum: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, energyiteminfoMap: (f = msg.getEnergyiteminfoMap()) ? f.toObject(includeInstance, proto.EnergyItemInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EnergyInfo} */ proto.EnergyInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EnergyInfo; return proto.EnergyInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EnergyInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EnergyInfo} */ proto.EnergyInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setEnergyvalue(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setUnlocknum(value); break; case 3: var value = msg.getEnergyiteminfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.EnergyItemInfo.deserializeBinaryFromReader, 0, new proto.EnergyItemInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EnergyInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EnergyInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EnergyInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnergyInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = message.getEnergyiteminfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.EnergyItemInfo.serializeBinaryToWriter); } }; /** * optional uint32 EnergyValue = 1; * @return {number} */ proto.EnergyInfo.prototype.getEnergyvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.EnergyInfo} returns this */ proto.EnergyInfo.prototype.setEnergyvalue = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.EnergyInfo} returns this */ proto.EnergyInfo.prototype.clearEnergyvalue = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnergyInfo.prototype.hasEnergyvalue = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 UnlockNum = 2; * @return {number} */ proto.EnergyInfo.prototype.getUnlocknum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.EnergyInfo} returns this */ proto.EnergyInfo.prototype.setUnlocknum = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.EnergyInfo} returns this */ proto.EnergyInfo.prototype.clearUnlocknum = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnergyInfo.prototype.hasUnlocknum = function() { return jspb.Message.getField(this, 2) != null; }; /** * map EnergyItemInfo = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.EnergyInfo.prototype.getEnergyiteminfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.EnergyItemInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.EnergyInfo} returns this */ proto.EnergyInfo.prototype.clearEnergyiteminfoMap = function() { this.getEnergyiteminfoMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EnergyItemInfo.prototype.toObject = function(opt_includeInstance) { return proto.EnergyItemInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EnergyItemInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnergyItemInfo.toObject = function(includeInstance, msg) { var f, obj = { queueid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, columnid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, refinestate: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, gaintime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EnergyItemInfo} */ proto.EnergyItemInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EnergyItemInfo; return proto.EnergyItemInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EnergyItemInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EnergyItemInfo} */ proto.EnergyItemInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setQueueid(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setColumnid(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setRefinestate(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setGaintime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EnergyItemInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EnergyItemInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EnergyItemInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnergyItemInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } }; /** * optional uint32 QueueId = 1; * @return {number} */ proto.EnergyItemInfo.prototype.getQueueid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.EnergyItemInfo} returns this */ proto.EnergyItemInfo.prototype.setQueueid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.EnergyItemInfo} returns this */ proto.EnergyItemInfo.prototype.clearQueueid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnergyItemInfo.prototype.hasQueueid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 ColumnId = 2; * @return {number} */ proto.EnergyItemInfo.prototype.getColumnid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.EnergyItemInfo} returns this */ proto.EnergyItemInfo.prototype.setColumnid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.EnergyItemInfo} returns this */ proto.EnergyItemInfo.prototype.clearColumnid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnergyItemInfo.prototype.hasColumnid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 RefineState = 3; * @return {number} */ proto.EnergyItemInfo.prototype.getRefinestate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.EnergyItemInfo} returns this */ proto.EnergyItemInfo.prototype.setRefinestate = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.EnergyItemInfo} returns this */ proto.EnergyItemInfo.prototype.clearRefinestate = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnergyItemInfo.prototype.hasRefinestate = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 GainTime = 4; * @return {number} */ proto.EnergyItemInfo.prototype.getGaintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.EnergyItemInfo} returns this */ proto.EnergyItemInfo.prototype.setGaintime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.EnergyItemInfo} returns this */ proto.EnergyItemInfo.prototype.clearGaintime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnergyItemInfo.prototype.hasGaintime = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MapData.prototype.toObject = function(opt_includeInstance) { return proto.MapData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MapData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapData.toObject = function(includeInstance, msg) { var f, obj = { markdatamapMap: (f = msg.getMarkdatamapMap()) ? f.toObject(includeInstance, proto.MarkData.toObject) : [], aresmapMap: (f = msg.getAresmapMap()) ? f.toObject(includeInstance, undefined) : [], markuuid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MapData} */ proto.MapData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MapData; return proto.MapData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MapData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MapData} */ proto.MapData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getMarkdatamapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.MarkData.deserializeBinaryFromReader, 0, new proto.MarkData()); }); break; case 2: var value = msg.getAresmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setMarkuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MapData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MapData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MapData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMarkdatamapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.MarkData.serializeBinaryToWriter); } f = message.getAresmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * map MarkDataMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MapData.prototype.getMarkdatamapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.MarkData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MapData} returns this */ proto.MapData.prototype.clearMarkdatamapMap = function() { this.getMarkdatamapMap().clear(); return this; }; /** * map AresMap = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MapData.prototype.getAresmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MapData} returns this */ proto.MapData.prototype.clearAresmapMap = function() { this.getAresmapMap().clear(); return this; }; /** * optional int32 MarkUuid = 3; * @return {number} */ proto.MapData.prototype.getMarkuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MapData} returns this */ proto.MapData.prototype.setMarkuuid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MapData} returns this */ proto.MapData.prototype.clearMarkuuid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapData.prototype.hasMarkuuid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MarkData.prototype.toObject = function(opt_includeInstance) { return proto.MarkData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MarkData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MarkData.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, markinfomapMap: (f = msg.getMarkinfomapMap()) ? f.toObject(includeInstance, proto.MarkInfo.toObject) : [], markuuid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MarkData} */ proto.MarkData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MarkData; return proto.MarkData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MarkData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MarkData} */ proto.MarkData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = msg.getMarkinfomapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.MarkInfo.deserializeBinaryFromReader, 0, new proto.MarkInfo()); }); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setMarkuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MarkData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MarkData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MarkData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MarkData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getMarkinfomapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.MarkInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.MarkData.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MarkData} returns this */ proto.MarkData.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MarkData} returns this */ proto.MarkData.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MarkData.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * map MarkInfoMap = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MarkData.prototype.getMarkinfomapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.MarkInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MarkData} returns this */ proto.MarkData.prototype.clearMarkinfomapMap = function() { this.getMarkinfomapMap().clear(); return this; }; /** * optional int32 MarkUuid = 3; * @return {number} */ proto.MarkData.prototype.getMarkuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MarkData} returns this */ proto.MarkData.prototype.setMarkuuid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MarkData} returns this */ proto.MarkData.prototype.clearMarkuuid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MarkData.prototype.hasMarkuuid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MarkInfo.prototype.toObject = function(opt_includeInstance) { return proto.MarkInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MarkInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MarkInfo.toObject = function(includeInstance, msg) { var f, obj = { tagid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, title: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, content: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, iconid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, position: (f = msg.getPosition()) && proto.MarkPosition.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MarkInfo} */ proto.MarkInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MarkInfo; return proto.MarkInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MarkInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MarkInfo} */ proto.MarkInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTagid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setTitle(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setContent(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setIconid(value); break; case 5: var value = new proto.MarkPosition; reader.readMessage(value,proto.MarkPosition.deserializeBinaryFromReader); msg.setPosition(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MarkInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MarkInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MarkInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MarkInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } f = message.getPosition(); if (f != null) { writer.writeMessage( 5, f, proto.MarkPosition.serializeBinaryToWriter ); } }; /** * optional int64 TagId = 1; * @return {number} */ proto.MarkInfo.prototype.getTagid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.setTagid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.clearTagid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MarkInfo.prototype.hasTagid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string Title = 2; * @return {string} */ proto.MarkInfo.prototype.getTitle = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.setTitle = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.clearTitle = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MarkInfo.prototype.hasTitle = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string Content = 3; * @return {string} */ proto.MarkInfo.prototype.getContent = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.setContent = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.clearContent = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MarkInfo.prototype.hasContent = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 IconId = 4; * @return {number} */ proto.MarkInfo.prototype.getIconid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.setIconid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.clearIconid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MarkInfo.prototype.hasIconid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional MarkPosition Position = 5; * @return {?proto.MarkPosition} */ proto.MarkInfo.prototype.getPosition = function() { return /** @type{?proto.MarkPosition} */ ( jspb.Message.getWrapperField(this, proto.MarkPosition, 5)); }; /** * @param {?proto.MarkPosition|undefined} value * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.setPosition = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.MarkInfo} returns this */ proto.MarkInfo.prototype.clearPosition = function() { return this.setPosition(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MarkInfo.prototype.hasPosition = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MarkPosition.prototype.toObject = function(opt_includeInstance) { return proto.MarkPosition.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MarkPosition} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MarkPosition.toObject = function(includeInstance, msg) { var f, obj = { x: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, y: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MarkPosition} */ proto.MarkPosition.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MarkPosition; return proto.MarkPosition.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MarkPosition} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MarkPosition} */ proto.MarkPosition.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setX(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setY(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MarkPosition.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MarkPosition.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MarkPosition} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MarkPosition.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 X = 1; * @return {number} */ proto.MarkPosition.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MarkPosition} returns this */ proto.MarkPosition.prototype.setX = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MarkPosition} returns this */ proto.MarkPosition.prototype.clearX = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MarkPosition.prototype.hasX = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Y = 2; * @return {number} */ proto.MarkPosition.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.MarkPosition} returns this */ proto.MarkPosition.prototype.setY = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MarkPosition} returns this */ proto.MarkPosition.prototype.clearY = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MarkPosition.prototype.hasY = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonList.prototype.toObject = function(opt_includeInstance) { return proto.DungeonList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonList.toObject = function(includeInstance, msg) { var f, obj = { completedungeonMap: (f = msg.getCompletedungeonMap()) ? f.toObject(includeInstance, proto.DungeonInfo.toObject) : [], resettime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, normaldungeonpasscount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, dungeonenterlimit: (f = msg.getDungeonenterlimit()) && proto.DungeonEnterLimit.toObject(includeInstance, f), weektarget: (f = msg.getWeektarget()) && proto.DungeonWeekTargetList.toObject(includeInstance, f), isassist: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f, raidrecordtableMap: (f = msg.getRaidrecordtableMap()) ? f.toObject(includeInstance, proto.RaidRecord.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonList} */ proto.DungeonList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonList; return proto.DungeonList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonList} */ proto.DungeonList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getCompletedungeonMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonInfo.deserializeBinaryFromReader, 0, new proto.DungeonInfo()); }); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setResettime(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setNormaldungeonpasscount(value); break; case 4: var value = new proto.DungeonEnterLimit; reader.readMessage(value,proto.DungeonEnterLimit.deserializeBinaryFromReader); msg.setDungeonenterlimit(value); break; case 5: var value = new proto.DungeonWeekTargetList; reader.readMessage(value,proto.DungeonWeekTargetList.deserializeBinaryFromReader); msg.setWeektarget(value); break; case 6: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsassist(value); break; case 7: var value = msg.getRaidrecordtableMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.RaidRecord.deserializeBinaryFromReader, 0, new proto.RaidRecord()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCompletedungeonMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = message.getDungeonenterlimit(); if (f != null) { writer.writeMessage( 4, f, proto.DungeonEnterLimit.serializeBinaryToWriter ); } f = message.getWeektarget(); if (f != null) { writer.writeMessage( 5, f, proto.DungeonWeekTargetList.serializeBinaryToWriter ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeBool( 6, f ); } f = message.getRaidrecordtableMap(true); if (f && f.getLength() > 0) { f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.RaidRecord.serializeBinaryToWriter); } }; /** * map CompleteDungeon = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonList.prototype.getCompletedungeonMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.clearCompletedungeonMap = function() { this.getCompletedungeonMap().clear(); return this; }; /** * optional uint32 ResetTime = 2; * @return {number} */ proto.DungeonList.prototype.getResettime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.setResettime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.clearResettime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonList.prototype.hasResettime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 NormalDungeonPassCount = 3; * @return {number} */ proto.DungeonList.prototype.getNormaldungeonpasscount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.setNormaldungeonpasscount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.clearNormaldungeonpasscount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonList.prototype.hasNormaldungeonpasscount = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional DungeonEnterLimit DungeonEnterLimit = 4; * @return {?proto.DungeonEnterLimit} */ proto.DungeonList.prototype.getDungeonenterlimit = function() { return /** @type{?proto.DungeonEnterLimit} */ ( jspb.Message.getWrapperField(this, proto.DungeonEnterLimit, 4)); }; /** * @param {?proto.DungeonEnterLimit|undefined} value * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.setDungeonenterlimit = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.clearDungeonenterlimit = function() { return this.setDungeonenterlimit(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonList.prototype.hasDungeonenterlimit = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional DungeonWeekTargetList WeekTarget = 5; * @return {?proto.DungeonWeekTargetList} */ proto.DungeonList.prototype.getWeektarget = function() { return /** @type{?proto.DungeonWeekTargetList} */ ( jspb.Message.getWrapperField(this, proto.DungeonWeekTargetList, 5)); }; /** * @param {?proto.DungeonWeekTargetList|undefined} value * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.setWeektarget = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.clearWeektarget = function() { return this.setWeektarget(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonList.prototype.hasWeektarget = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional bool IsAssist = 6; * @return {boolean} */ proto.DungeonList.prototype.getIsassist = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.setIsassist = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.clearIsassist = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonList.prototype.hasIsassist = function() { return jspb.Message.getField(this, 6) != null; }; /** * map RaidRecordTable = 7; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonList.prototype.getRaidrecordtableMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 7, opt_noLazyCreate, proto.RaidRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonList} returns this */ proto.DungeonList.prototype.clearRaidrecordtableMap = function() { this.getRaidrecordtableMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonEnterLimit.prototype.toObject = function(opt_includeInstance) { return proto.DungeonEnterLimit.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonEnterLimit} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonEnterLimit.toObject = function(includeInstance, msg) { var f, obj = { entercountMap: (f = msg.getEntercountMap()) ? f.toObject(includeInstance, proto.DungeonEnterCount.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonEnterLimit} */ proto.DungeonEnterLimit.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonEnterLimit; return proto.DungeonEnterLimit.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonEnterLimit} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonEnterLimit} */ proto.DungeonEnterLimit.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getEntercountMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonEnterCount.deserializeBinaryFromReader, 0, new proto.DungeonEnterCount()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonEnterLimit.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonEnterLimit.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonEnterLimit} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonEnterLimit.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getEntercountMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonEnterCount.serializeBinaryToWriter); } }; /** * map EnterCount = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonEnterLimit.prototype.getEntercountMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonEnterCount)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonEnterLimit} returns this */ proto.DungeonEnterLimit.prototype.clearEntercountMap = function() { this.getEntercountMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonEnterCount.prototype.toObject = function(opt_includeInstance) { return proto.DungeonEnterCount.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonEnterCount} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonEnterCount.toObject = function(includeInstance, msg) { var f, obj = { entertime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, entercount: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonEnterCount} */ proto.DungeonEnterCount.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonEnterCount; return proto.DungeonEnterCount.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonEnterCount} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonEnterCount} */ proto.DungeonEnterCount.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setEntertime(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setEntercount(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonEnterCount.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonEnterCount.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonEnterCount} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonEnterCount.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional uint32 EnterTime = 1; * @return {number} */ proto.DungeonEnterCount.prototype.getEntertime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonEnterCount} returns this */ proto.DungeonEnterCount.prototype.setEntertime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonEnterCount} returns this */ proto.DungeonEnterCount.prototype.clearEntertime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonEnterCount.prototype.hasEntertime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 EnterCount = 2; * @return {number} */ proto.DungeonEnterCount.prototype.getEntercount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonEnterCount} returns this */ proto.DungeonEnterCount.prototype.setEntercount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonEnterCount} returns this */ proto.DungeonEnterCount.prototype.clearEntercount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonEnterCount.prototype.hasEntercount = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonWeekTargetList.prototype.toObject = function(opt_includeInstance) { return proto.DungeonWeekTargetList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonWeekTargetList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonWeekTargetList.toObject = function(includeInstance, msg) { var f, obj = { weektargetMap: (f = msg.getWeektargetMap()) ? f.toObject(includeInstance, proto.DungeonTargetProgress.toObject) : [], refreshtime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonWeekTargetList} */ proto.DungeonWeekTargetList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonWeekTargetList; return proto.DungeonWeekTargetList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonWeekTargetList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonWeekTargetList} */ proto.DungeonWeekTargetList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getWeektargetMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonTargetProgress.deserializeBinaryFromReader, 0, new proto.DungeonTargetProgress()); }); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setRefreshtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonWeekTargetList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonWeekTargetList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonWeekTargetList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonWeekTargetList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWeektargetMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonTargetProgress.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } }; /** * map WeekTarget = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonWeekTargetList.prototype.getWeektargetMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonTargetProgress)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonWeekTargetList} returns this */ proto.DungeonWeekTargetList.prototype.clearWeektargetMap = function() { this.getWeektargetMap().clear(); return this; }; /** * optional uint32 RefreshTime = 2; * @return {number} */ proto.DungeonWeekTargetList.prototype.getRefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonWeekTargetList} returns this */ proto.DungeonWeekTargetList.prototype.setRefreshtime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonWeekTargetList} returns this */ proto.DungeonWeekTargetList.prototype.clearRefreshtime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonWeekTargetList.prototype.hasRefreshtime = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RaidRecord.prototype.toObject = function(opt_includeInstance) { return proto.RaidRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RaidRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RaidRecord.toObject = function(includeInstance, msg) { var f, obj = { bossprogressMap: (f = msg.getBossprogressMap()) ? f.toObject(includeInstance, proto.BossProgress.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RaidRecord} */ proto.RaidRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RaidRecord; return proto.RaidRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RaidRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RaidRecord} */ proto.RaidRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getBossprogressMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.BossProgress.deserializeBinaryFromReader, 0, new proto.BossProgress()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RaidRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RaidRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RaidRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RaidRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBossprogressMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.BossProgress.serializeBinaryToWriter); } }; /** * map BossProgress = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RaidRecord.prototype.getBossprogressMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.BossProgress)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RaidRecord} returns this */ proto.RaidRecord.prototype.clearBossprogressMap = function() { this.getBossprogressMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.UserFightAttr.repeatedFields_ = [4,5,9]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserFightAttr.prototype.toObject = function(opt_includeInstance) { return proto.UserFightAttr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserFightAttr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserFightAttr.toObject = function(includeInstance, msg) { var f, obj = { curhp: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, maxhp: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, originenergy: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, resourceidsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, resourcesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, isdead: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, deadtime: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, reviveid: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, cdinfoList: jspb.Message.toObjectList(msg.getCdinfoList(), proto.SkillCDInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserFightAttr} */ proto.UserFightAttr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserFightAttr; return proto.UserFightAttr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserFightAttr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserFightAttr} */ proto.UserFightAttr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCurhp(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setMaxhp(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setOriginenergy(value); break; case 4: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addResourceids(values[i]); } break; case 5: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addResources(values[i]); } break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setIsdead(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setDeadtime(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setReviveid(value); break; case 9: var value = new proto.SkillCDInfo; reader.readMessage(value,proto.SkillCDInfo.deserializeBinaryFromReader); msg.addCdinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserFightAttr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserFightAttr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserFightAttr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserFightAttr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } f = message.getResourceidsList(); if (f.length > 0) { writer.writePackedUint32( 4, f ); } f = message.getResourcesList(); if (f.length > 0) { writer.writePackedUint32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = message.getCdinfoList(); if (f.length > 0) { writer.writeRepeatedMessage( 9, f, proto.SkillCDInfo.serializeBinaryToWriter ); } }; /** * optional int64 CurHp = 1; * @return {number} */ proto.UserFightAttr.prototype.getCurhp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.setCurhp = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.clearCurhp = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserFightAttr.prototype.hasCurhp = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 MaxHp = 2; * @return {number} */ proto.UserFightAttr.prototype.getMaxhp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.setMaxhp = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.clearMaxhp = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserFightAttr.prototype.hasMaxhp = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float OriginEnergy = 3; * @return {number} */ proto.UserFightAttr.prototype.getOriginenergy = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.setOriginenergy = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.clearOriginenergy = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserFightAttr.prototype.hasOriginenergy = function() { return jspb.Message.getField(this, 3) != null; }; /** * repeated uint32 ResourceIds = 4; * @return {!Array} */ proto.UserFightAttr.prototype.getResourceidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); }; /** * @param {!Array} value * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.setResourceidsList = function(value) { return jspb.Message.setField(this, 4, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.addResourceids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 4, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.clearResourceidsList = function() { return this.setResourceidsList([]); }; /** * repeated uint32 Resources = 5; * @return {!Array} */ proto.UserFightAttr.prototype.getResourcesList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); }; /** * @param {!Array} value * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.setResourcesList = function(value) { return jspb.Message.setField(this, 5, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.addResources = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 5, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.clearResourcesList = function() { return this.setResourcesList([]); }; /** * optional int32 IsDead = 6; * @return {number} */ proto.UserFightAttr.prototype.getIsdead = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.setIsdead = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.clearIsdead = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserFightAttr.prototype.hasIsdead = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int64 DeadTime = 7; * @return {number} */ proto.UserFightAttr.prototype.getDeadtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.setDeadtime = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.clearDeadtime = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserFightAttr.prototype.hasDeadtime = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 ReviveId = 8; * @return {number} */ proto.UserFightAttr.prototype.getReviveid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.setReviveid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.clearReviveid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserFightAttr.prototype.hasReviveid = function() { return jspb.Message.getField(this, 8) != null; }; /** * repeated SkillCDInfo CdInfo = 9; * @return {!Array} */ proto.UserFightAttr.prototype.getCdinfoList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.SkillCDInfo, 9)); }; /** * @param {!Array} value * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.setCdinfoList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 9, value); }; /** * @param {!proto.SkillCDInfo=} opt_value * @param {number=} opt_index * @return {!proto.SkillCDInfo} */ proto.UserFightAttr.prototype.addCdinfo = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.SkillCDInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UserFightAttr} returns this */ proto.UserFightAttr.prototype.clearCdinfoList = function() { return this.setCdinfoList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SkillCDInfo.prototype.toObject = function(opt_includeInstance) { return proto.SkillCDInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SkillCDInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SkillCDInfo.toObject = function(includeInstance, msg) { var f, obj = { skilllevelid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skillbegintime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, duration: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, skillcdtype: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, professionholdbegintime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, chargecount: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, validcdtime: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, subcdratio: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, subcdfixed: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, acceleratecdratio: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SkillCDInfo} */ proto.SkillCDInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SkillCDInfo; return proto.SkillCDInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SkillCDInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SkillCDInfo} */ proto.SkillCDInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilllevelid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setSkillbegintime(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setDuration(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setSkillcdtype(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setProfessionholdbegintime(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setChargecount(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setValidcdtime(value); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setSubcdratio(value); break; case 10: var value = /** @type {number} */ (reader.readInt64()); msg.setSubcdfixed(value); break; case 11: var value = /** @type {number} */ (reader.readInt32()); msg.setAcceleratecdratio(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SkillCDInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SkillCDInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SkillCDInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SkillCDInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeInt32( 10, f ); } }; /** * optional int32 SkillLevelId = 1; * @return {number} */ proto.SkillCDInfo.prototype.getSkilllevelid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setSkilllevelid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearSkilllevelid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasSkilllevelid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 SkillBeginTime = 2; * @return {number} */ proto.SkillCDInfo.prototype.getSkillbegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setSkillbegintime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearSkillbegintime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasSkillbegintime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Duration = 3; * @return {number} */ proto.SkillCDInfo.prototype.getDuration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setDuration = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearDuration = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasDuration = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 SkillCDType = 4; * @return {number} */ proto.SkillCDInfo.prototype.getSkillcdtype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setSkillcdtype = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearSkillcdtype = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasSkillcdtype = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 ProfessionHoldBeginTime = 5; * @return {number} */ proto.SkillCDInfo.prototype.getProfessionholdbegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setProfessionholdbegintime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearProfessionholdbegintime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasProfessionholdbegintime = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 ChargeCount = 6; * @return {number} */ proto.SkillCDInfo.prototype.getChargecount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setChargecount = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearChargecount = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasChargecount = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 ValidCDTime = 7; * @return {number} */ proto.SkillCDInfo.prototype.getValidcdtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setValidcdtime = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearValidcdtime = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasValidcdtime = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 SubCDRatio = 8; * @return {number} */ proto.SkillCDInfo.prototype.getSubcdratio = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setSubcdratio = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearSubcdratio = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasSubcdratio = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int64 SubCDFixed = 9; * @return {number} */ proto.SkillCDInfo.prototype.getSubcdfixed = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setSubcdfixed = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearSubcdfixed = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasSubcdfixed = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional int32 AccelerateCDRatio = 10; * @return {number} */ proto.SkillCDInfo.prototype.getAcceleratecdratio = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.setAcceleratecdratio = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillCDInfo} returns this */ proto.SkillCDInfo.prototype.clearAcceleratecdratio = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillCDInfo.prototype.hasAcceleratecdratio = function() { return jspb.Message.getField(this, 10) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FashionMgr.prototype.toObject = function(opt_includeInstance) { return proto.FashionMgr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FashionMgr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionMgr.toObject = function(includeInstance, msg) { var f, obj = { wearinfoMap: (f = msg.getWearinfoMap()) ? f.toObject(includeInstance, undefined) : [], fashiondatasMap: (f = msg.getFashiondatasMap()) ? f.toObject(includeInstance, proto.FashionColorInfo.toObject) : [], unlockcolorMap: (f = msg.getUnlockcolorMap()) ? f.toObject(includeInstance, proto.UnlockColorInfo.toObject) : [], fashionrewardMap: (f = msg.getFashionrewardMap()) ? f.toObject(includeInstance, undefined) : [], allfashionMap: (f = msg.getAllfashionMap()) ? f.toObject(includeInstance, undefined) : [], allrideMap: (f = msg.getAllrideMap()) ? f.toObject(includeInstance, undefined) : [], allweaponskinMap: (f = msg.getAllweaponskinMap()) ? f.toObject(includeInstance, undefined) : [], fashionadvanceMap: (f = msg.getFashionadvanceMap()) ? f.toObject(includeInstance, proto.FashionAdvanceInfo.toObject) : [], fashioncollectpoint: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, ridecollectpoint: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, weaponskincollectpoint: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, allfashionnumMap: (f = msg.getAllfashionnumMap()) ? f.toObject(includeInstance, undefined) : [], allridenumMap: (f = msg.getAllridenumMap()) ? f.toObject(includeInstance, undefined) : [], allweaponskinnumMap: (f = msg.getAllweaponskinnumMap()) ? f.toObject(includeInstance, undefined) : [], isfashioninit: (f = jspb.Message.getBooleanField(msg, 15)) == null ? undefined : f, isrideinit: (f = jspb.Message.getBooleanField(msg, 16)) == null ? undefined : f, isweaponskininit: (f = jspb.Message.getBooleanField(msg, 17)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FashionMgr} */ proto.FashionMgr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FashionMgr; return proto.FashionMgr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FashionMgr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FashionMgr} */ proto.FashionMgr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getWearinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 2: var value = msg.getFashiondatasMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.FashionColorInfo.deserializeBinaryFromReader, 0, new proto.FashionColorInfo()); }); break; case 3: var value = msg.getUnlockcolorMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.UnlockColorInfo.deserializeBinaryFromReader, 0, new proto.UnlockColorInfo()); }); break; case 4: var value = msg.getFashionrewardMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 5: var value = msg.getAllfashionMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 6: var value = msg.getAllrideMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 7: var value = msg.getAllweaponskinMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 8: var value = msg.getFashionadvanceMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.FashionAdvanceInfo.deserializeBinaryFromReader, 0, new proto.FashionAdvanceInfo()); }); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setFashioncollectpoint(value); break; case 10: var value = /** @type {number} */ (reader.readInt32()); msg.setRidecollectpoint(value); break; case 11: var value = /** @type {number} */ (reader.readInt32()); msg.setWeaponskincollectpoint(value); break; case 12: var value = msg.getAllfashionnumMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 13: var value = msg.getAllridenumMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 14: var value = msg.getAllweaponskinnumMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 15: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsfashioninit(value); break; case 16: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsrideinit(value); break; case 17: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsweaponskininit(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FashionMgr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FashionMgr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FashionMgr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionMgr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWearinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getFashiondatasMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.FashionColorInfo.serializeBinaryToWriter); } f = message.getUnlockcolorMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.UnlockColorInfo.serializeBinaryToWriter); } f = message.getFashionrewardMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getAllfashionMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getAllrideMap(true); if (f && f.getLength() > 0) { f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getAllweaponskinMap(true); if (f && f.getLength() > 0) { f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getFashionadvanceMap(true); if (f && f.getLength() > 0) { f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.FashionAdvanceInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt32( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeInt32( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt32( 11, f ); } f = message.getAllfashionnumMap(true); if (f && f.getLength() > 0) { f.serializeBinary(12, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getAllridenumMap(true); if (f && f.getLength() > 0) { f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getAllweaponskinnumMap(true); if (f && f.getLength() > 0) { f.serializeBinary(14, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {boolean} */ (jspb.Message.getField(message, 15)); if (f != null) { writer.writeBool( 15, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 16)); if (f != null) { writer.writeBool( 16, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 17)); if (f != null) { writer.writeBool( 17, f ); } }; /** * map WearInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getWearinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearWearinfoMap = function() { this.getWearinfoMap().clear(); return this; }; /** * map FashionDatas = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getFashiondatasMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.FashionColorInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearFashiondatasMap = function() { this.getFashiondatasMap().clear(); return this; }; /** * map UnlockColor = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getUnlockcolorMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.UnlockColorInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearUnlockcolorMap = function() { this.getUnlockcolorMap().clear(); return this; }; /** * map FashionReward = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getFashionrewardMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearFashionrewardMap = function() { this.getFashionrewardMap().clear(); return this; }; /** * map AllFashion = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getAllfashionMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearAllfashionMap = function() { this.getAllfashionMap().clear(); return this; }; /** * map AllRide = 6; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getAllrideMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 6, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearAllrideMap = function() { this.getAllrideMap().clear(); return this; }; /** * map AllWeaponSkin = 7; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getAllweaponskinMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 7, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearAllweaponskinMap = function() { this.getAllweaponskinMap().clear(); return this; }; /** * map FashionAdvance = 8; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getFashionadvanceMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 8, opt_noLazyCreate, proto.FashionAdvanceInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearFashionadvanceMap = function() { this.getFashionadvanceMap().clear(); return this; }; /** * optional int32 FashionCollectPoint = 9; * @return {number} */ proto.FashionMgr.prototype.getFashioncollectpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.setFashioncollectpoint = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearFashioncollectpoint = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionMgr.prototype.hasFashioncollectpoint = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional int32 RideCollectPoint = 10; * @return {number} */ proto.FashionMgr.prototype.getRidecollectpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.setRidecollectpoint = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearRidecollectpoint = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionMgr.prototype.hasRidecollectpoint = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional int32 WeaponSkinCollectPoint = 11; * @return {number} */ proto.FashionMgr.prototype.getWeaponskincollectpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.setWeaponskincollectpoint = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearWeaponskincollectpoint = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionMgr.prototype.hasWeaponskincollectpoint = function() { return jspb.Message.getField(this, 11) != null; }; /** * map AllFashionNum = 12; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getAllfashionnumMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 12, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearAllfashionnumMap = function() { this.getAllfashionnumMap().clear(); return this; }; /** * map AllRideNum = 13; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getAllridenumMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 13, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearAllridenumMap = function() { this.getAllridenumMap().clear(); return this; }; /** * map AllWeaponSkinNum = 14; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionMgr.prototype.getAllweaponskinnumMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 14, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearAllweaponskinnumMap = function() { this.getAllweaponskinnumMap().clear(); return this; }; /** * optional bool IsFashionInit = 15; * @return {boolean} */ proto.FashionMgr.prototype.getIsfashioninit = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false)); }; /** * @param {boolean} value * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.setIsfashioninit = function(value) { return jspb.Message.setField(this, 15, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearIsfashioninit = function() { return jspb.Message.setField(this, 15, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionMgr.prototype.hasIsfashioninit = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional bool IsRideInit = 16; * @return {boolean} */ proto.FashionMgr.prototype.getIsrideinit = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false)); }; /** * @param {boolean} value * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.setIsrideinit = function(value) { return jspb.Message.setField(this, 16, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearIsrideinit = function() { return jspb.Message.setField(this, 16, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionMgr.prototype.hasIsrideinit = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional bool IsWeaponSkinInit = 17; * @return {boolean} */ proto.FashionMgr.prototype.getIsweaponskininit = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false)); }; /** * @param {boolean} value * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.setIsweaponskininit = function(value) { return jspb.Message.setField(this, 17, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionMgr} returns this */ proto.FashionMgr.prototype.clearIsweaponskininit = function() { return jspb.Message.setField(this, 17, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionMgr.prototype.hasIsweaponskininit = function() { return jspb.Message.getField(this, 17) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UnlockColorInfo.prototype.toObject = function(opt_includeInstance) { return proto.UnlockColorInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UnlockColorInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnlockColorInfo.toObject = function(includeInstance, msg) { var f, obj = { colorinfomapMap: (f = msg.getColorinfomapMap()) ? f.toObject(includeInstance, undefined) : [], colorblockinfomapMap: (f = msg.getColorblockinfomapMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UnlockColorInfo} */ proto.UnlockColorInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UnlockColorInfo; return proto.UnlockColorInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UnlockColorInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UnlockColorInfo} */ proto.UnlockColorInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getColorinfomapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 2: var value = msg.getColorblockinfomapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UnlockColorInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UnlockColorInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UnlockColorInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnlockColorInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getColorinfomapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getColorblockinfomapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * map ColorInfoMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.UnlockColorInfo.prototype.getColorinfomapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.UnlockColorInfo} returns this */ proto.UnlockColorInfo.prototype.clearColorinfomapMap = function() { this.getColorinfomapMap().clear(); return this; }; /** * map ColorBlockInfoMap = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.UnlockColorInfo.prototype.getColorblockinfomapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.UnlockColorInfo} returns this */ proto.UnlockColorInfo.prototype.clearColorblockinfomapMap = function() { this.getColorblockinfomapMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.FashionAdvanceInfo.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FashionAdvanceInfo.prototype.toObject = function(opt_includeInstance) { return proto.FashionAdvanceInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FashionAdvanceInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionAdvanceInfo.toObject = function(includeInstance, msg) { var f, obj = { fashionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, usingadvanceid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, advanceidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FashionAdvanceInfo} */ proto.FashionAdvanceInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FashionAdvanceInfo; return proto.FashionAdvanceInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FashionAdvanceInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FashionAdvanceInfo} */ proto.FashionAdvanceInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setFashionid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setUsingadvanceid(value); break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addAdvanceids(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FashionAdvanceInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FashionAdvanceInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FashionAdvanceInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionAdvanceInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getAdvanceidsList(); if (f.length > 0) { writer.writePackedInt32( 3, f ); } }; /** * optional int32 FashionId = 1; * @return {number} */ proto.FashionAdvanceInfo.prototype.getFashionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FashionAdvanceInfo} returns this */ proto.FashionAdvanceInfo.prototype.setFashionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionAdvanceInfo} returns this */ proto.FashionAdvanceInfo.prototype.clearFashionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionAdvanceInfo.prototype.hasFashionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 UsingAdvanceId = 2; * @return {number} */ proto.FashionAdvanceInfo.prototype.getUsingadvanceid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FashionAdvanceInfo} returns this */ proto.FashionAdvanceInfo.prototype.setUsingadvanceid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionAdvanceInfo} returns this */ proto.FashionAdvanceInfo.prototype.clearUsingadvanceid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionAdvanceInfo.prototype.hasUsingadvanceid = function() { return jspb.Message.getField(this, 2) != null; }; /** * repeated int32 AdvanceIds = 3; * @return {!Array} */ proto.FashionAdvanceInfo.prototype.getAdvanceidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.FashionAdvanceInfo} returns this */ proto.FashionAdvanceInfo.prototype.setAdvanceidsList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.FashionAdvanceInfo} returns this */ proto.FashionAdvanceInfo.prototype.addAdvanceids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.FashionAdvanceInfo} returns this */ proto.FashionAdvanceInfo.prototype.clearAdvanceidsList = function() { return this.setAdvanceidsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ProfileList.prototype.toObject = function(opt_includeInstance) { return proto.ProfileList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ProfileList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfileList.toObject = function(includeInstance, msg) { var f, obj = { unlockprofilelistMap: (f = msg.getUnlockprofilelistMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ProfileList} */ proto.ProfileList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ProfileList; return proto.ProfileList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ProfileList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ProfileList} */ proto.ProfileList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getUnlockprofilelistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ProfileList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ProfileList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ProfileList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfileList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUnlockprofilelistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * map UnlockProfileList = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ProfileList.prototype.getUnlockprofilelistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ProfileList} returns this */ proto.ProfileList.prototype.clearUnlockprofilelistMap = function() { this.getUnlockprofilelistMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayHelper.prototype.toObject = function(opt_includeInstance) { return proto.PlayHelper.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayHelper} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayHelper.toObject = function(includeInstance, msg) { var f, obj = { displayedhelperlistMap: (f = msg.getDisplayedhelperlistMap()) ? f.toObject(includeInstance, undefined) : [], completedguideMap: (f = msg.getCompletedguideMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayHelper} */ proto.PlayHelper.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayHelper; return proto.PlayHelper.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayHelper} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayHelper} */ proto.PlayHelper.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getDisplayedhelperlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 2: var value = msg.getCompletedguideMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayHelper.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayHelper.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayHelper} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayHelper.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDisplayedhelperlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getCompletedguideMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * map DisplayedHelperList = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PlayHelper.prototype.getDisplayedhelperlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PlayHelper} returns this */ proto.PlayHelper.prototype.clearDisplayedhelperlistMap = function() { this.getDisplayedhelperlistMap().clear(); return this; }; /** * map CompletedGuide = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PlayHelper.prototype.getCompletedguideMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PlayHelper} returns this */ proto.PlayHelper.prototype.clearCompletedguideMap = function() { this.getCompletedguideMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CounterList.prototype.toObject = function(opt_includeInstance) { return proto.CounterList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CounterList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CounterList.toObject = function(includeInstance, msg) { var f, obj = { countermapMap: (f = msg.getCountermapMap()) ? f.toObject(includeInstance, proto.CounterInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CounterList} */ proto.CounterList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CounterList; return proto.CounterList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CounterList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CounterList} */ proto.CounterList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getCountermapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.CounterInfo.deserializeBinaryFromReader, 0, new proto.CounterInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CounterList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CounterList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CounterList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CounterList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCountermapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.CounterInfo.serializeBinaryToWriter); } }; /** * map CounterMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CounterList.prototype.getCountermapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.CounterInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CounterList} returns this */ proto.CounterList.prototype.clearCountermapMap = function() { this.getCountermapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CounterInfo.prototype.toObject = function(opt_includeInstance) { return proto.CounterInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CounterInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CounterInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, counter: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CounterInfo} */ proto.CounterInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CounterInfo; return proto.CounterInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CounterInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CounterInfo} */ proto.CounterInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCounter(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CounterInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CounterInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CounterInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CounterInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.CounterInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CounterInfo} returns this */ proto.CounterInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CounterInfo} returns this */ proto.CounterInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CounterInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Counter = 2; * @return {number} */ proto.CounterInfo.prototype.getCounter = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CounterInfo} returns this */ proto.CounterInfo.prototype.setCounter = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CounterInfo} returns this */ proto.CounterInfo.prototype.clearCounter = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CounterInfo.prototype.hasCounter = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PersonalObject.prototype.toObject = function(opt_includeInstance) { return proto.PersonalObject.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PersonalObject} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalObject.toObject = function(includeInstance, msg) { var f, obj = { sceneobjdataMap: (f = msg.getSceneobjdataMap()) ? f.toObject(includeInstance, proto.ScenePersonalObject.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PersonalObject} */ proto.PersonalObject.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PersonalObject; return proto.PersonalObject.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PersonalObject} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PersonalObject} */ proto.PersonalObject.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSceneobjdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ScenePersonalObject.deserializeBinaryFromReader, 0, new proto.ScenePersonalObject()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PersonalObject.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PersonalObject.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PersonalObject} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalObject.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSceneobjdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ScenePersonalObject.serializeBinaryToWriter); } }; /** * map SceneObjData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalObject.prototype.getSceneobjdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.ScenePersonalObject)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalObject} returns this */ proto.PersonalObject.prototype.clearSceneobjdataMap = function() { this.getSceneobjdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ScenePersonalObject.prototype.toObject = function(opt_includeInstance) { return proto.ScenePersonalObject.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ScenePersonalObject} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ScenePersonalObject.toObject = function(includeInstance, msg) { var f, obj = { personalobjdataMap: (f = msg.getPersonalobjdataMap()) ? f.toObject(includeInstance, proto.ServerStateObjectInteractionParam.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ScenePersonalObject} */ proto.ScenePersonalObject.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ScenePersonalObject; return proto.ScenePersonalObject.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ScenePersonalObject} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ScenePersonalObject} */ proto.ScenePersonalObject.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPersonalobjdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.ServerStateObjectInteractionParam.deserializeBinaryFromReader, 0, new proto.ServerStateObjectInteractionParam()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ScenePersonalObject.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ScenePersonalObject.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ScenePersonalObject} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ScenePersonalObject.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPersonalobjdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.ServerStateObjectInteractionParam.serializeBinaryToWriter); } }; /** * map PersonalObjData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ScenePersonalObject.prototype.getPersonalobjdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.ServerStateObjectInteractionParam)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ScenePersonalObject} returns this */ proto.ScenePersonalObject.prototype.clearPersonalobjdataMap = function() { this.getPersonalobjdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ServerStateObjectInteractionParam.prototype.toObject = function(opt_includeInstance) { return proto.ServerStateObjectInteractionParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ServerStateObjectInteractionParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerStateObjectInteractionParam.toObject = function(includeInstance, msg) { var f, obj = { objuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, statevalue: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, lastinteractiontime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ServerStateObjectInteractionParam} */ proto.ServerStateObjectInteractionParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ServerStateObjectInteractionParam; return proto.ServerStateObjectInteractionParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ServerStateObjectInteractionParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ServerStateObjectInteractionParam} */ proto.ServerStateObjectInteractionParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setObjuuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setStatevalue(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setLastinteractiontime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ServerStateObjectInteractionParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ServerStateObjectInteractionParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ServerStateObjectInteractionParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerStateObjectInteractionParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional int64 ObjUuid = 1; * @return {number} */ proto.ServerStateObjectInteractionParam.prototype.getObjuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ServerStateObjectInteractionParam} returns this */ proto.ServerStateObjectInteractionParam.prototype.setObjuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ServerStateObjectInteractionParam} returns this */ proto.ServerStateObjectInteractionParam.prototype.clearObjuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ServerStateObjectInteractionParam.prototype.hasObjuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 StateValue = 2; * @return {number} */ proto.ServerStateObjectInteractionParam.prototype.getStatevalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ServerStateObjectInteractionParam} returns this */ proto.ServerStateObjectInteractionParam.prototype.setStatevalue = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ServerStateObjectInteractionParam} returns this */ proto.ServerStateObjectInteractionParam.prototype.clearStatevalue = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ServerStateObjectInteractionParam.prototype.hasStatevalue = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 LastInteractionTime = 3; * @return {number} */ proto.ServerStateObjectInteractionParam.prototype.getLastinteractiontime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ServerStateObjectInteractionParam} returns this */ proto.ServerStateObjectInteractionParam.prototype.setLastinteractiontime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ServerStateObjectInteractionParam} returns this */ proto.ServerStateObjectInteractionParam.prototype.clearLastinteractiontime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ServerStateObjectInteractionParam.prototype.hasLastinteractiontime = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RoleLevel.prototype.toObject = function(opt_includeInstance) { return proto.RoleLevel.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RoleLevel} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RoleLevel.toObject = function(includeInstance, msg) { var f, obj = { level: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, curlevelexp: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, receivedlevellistMap: (f = msg.getReceivedlevellistMap()) ? f.toObject(includeInstance, undefined) : [], proficiencyinfo: (f = msg.getProficiencyinfo()) && proto.LevelProficiency.toObject(includeInstance, f), activeexpmapMap: (f = msg.getActiveexpmapMap()) ? f.toObject(includeInstance, undefined) : [], lastseasonday: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, blessexppool: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, grantblessexp: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, accumulateblessexp: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, accumulateexp: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, prevseasonmaxlv: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RoleLevel} */ proto.RoleLevel.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RoleLevel; return proto.RoleLevel.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RoleLevel} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RoleLevel} */ proto.RoleLevel.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCurlevelexp(value); break; case 3: var value = msg.getReceivedlevellistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 4: var value = new proto.LevelProficiency; reader.readMessage(value,proto.LevelProficiency.deserializeBinaryFromReader); msg.setProficiencyinfo(value); break; case 5: var value = msg.getActiveexpmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setLastseasonday(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setBlessexppool(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setGrantblessexp(value); break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setAccumulateblessexp(value); break; case 10: var value = /** @type {number} */ (reader.readInt64()); msg.setAccumulateexp(value); break; case 11: var value = /** @type {number} */ (reader.readInt32()); msg.setPrevseasonmaxlv(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RoleLevel.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RoleLevel.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RoleLevel} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RoleLevel.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = message.getReceivedlevellistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getProficiencyinfo(); if (f != null) { writer.writeMessage( 4, f, proto.LevelProficiency.serializeBinaryToWriter ); } f = message.getActiveexpmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt64); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeInt64( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt32( 11, f ); } }; /** * optional int32 Level = 1; * @return {number} */ proto.RoleLevel.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.setLevel = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearLevel = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleLevel.prototype.hasLevel = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 CurLevelExp = 2; * @return {number} */ proto.RoleLevel.prototype.getCurlevelexp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.setCurlevelexp = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearCurlevelexp = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleLevel.prototype.hasCurlevelexp = function() { return jspb.Message.getField(this, 2) != null; }; /** * map ReceivedLevelList = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RoleLevel.prototype.getReceivedlevellistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearReceivedlevellistMap = function() { this.getReceivedlevellistMap().clear(); return this; }; /** * optional LevelProficiency ProficiencyInfo = 4; * @return {?proto.LevelProficiency} */ proto.RoleLevel.prototype.getProficiencyinfo = function() { return /** @type{?proto.LevelProficiency} */ ( jspb.Message.getWrapperField(this, proto.LevelProficiency, 4)); }; /** * @param {?proto.LevelProficiency|undefined} value * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.setProficiencyinfo = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearProficiencyinfo = function() { return this.setProficiencyinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleLevel.prototype.hasProficiencyinfo = function() { return jspb.Message.getField(this, 4) != null; }; /** * map ActiveExpMap = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RoleLevel.prototype.getActiveexpmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearActiveexpmapMap = function() { this.getActiveexpmapMap().clear(); return this; }; /** * optional int32 LastSeasonDay = 6; * @return {number} */ proto.RoleLevel.prototype.getLastseasonday = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.setLastseasonday = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearLastseasonday = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleLevel.prototype.hasLastseasonday = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int64 BlessExpPool = 7; * @return {number} */ proto.RoleLevel.prototype.getBlessexppool = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.setBlessexppool = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearBlessexppool = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleLevel.prototype.hasBlessexppool = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int64 GrantBlessExp = 8; * @return {number} */ proto.RoleLevel.prototype.getGrantblessexp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.setGrantblessexp = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearGrantblessexp = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleLevel.prototype.hasGrantblessexp = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int64 AccumulateBlessExp = 9; * @return {number} */ proto.RoleLevel.prototype.getAccumulateblessexp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.setAccumulateblessexp = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearAccumulateblessexp = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleLevel.prototype.hasAccumulateblessexp = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional int64 AccumulateExp = 10; * @return {number} */ proto.RoleLevel.prototype.getAccumulateexp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.setAccumulateexp = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearAccumulateexp = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleLevel.prototype.hasAccumulateexp = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional int32 PrevSeasonMaxLv = 11; * @return {number} */ proto.RoleLevel.prototype.getPrevseasonmaxlv = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.setPrevseasonmaxlv = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.RoleLevel} returns this */ proto.RoleLevel.prototype.clearPrevseasonmaxlv = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleLevel.prototype.hasPrevseasonmaxlv = function() { return jspb.Message.getField(this, 11) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LevelProficiency.prototype.toObject = function(opt_includeInstance) { return proto.LevelProficiency.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LevelProficiency} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LevelProficiency.toObject = function(includeInstance, msg) { var f, obj = { usingproficiencymapMap: (f = msg.getUsingproficiencymapMap()) ? f.toObject(includeInstance, undefined) : [], unlockproficiencymapMap: (f = msg.getUnlockproficiencymapMap()) ? f.toObject(includeInstance, proto.UnlockProficiency.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LevelProficiency} */ proto.LevelProficiency.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LevelProficiency; return proto.LevelProficiency.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LevelProficiency} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LevelProficiency} */ proto.LevelProficiency.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getUsingproficiencymapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 2: var value = msg.getUnlockproficiencymapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.UnlockProficiency.deserializeBinaryFromReader, 0, new proto.UnlockProficiency()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LevelProficiency.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LevelProficiency.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LevelProficiency} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LevelProficiency.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUsingproficiencymapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getUnlockproficiencymapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.UnlockProficiency.serializeBinaryToWriter); } }; /** * map UsingProficiencyMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.LevelProficiency.prototype.getUsingproficiencymapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.LevelProficiency} returns this */ proto.LevelProficiency.prototype.clearUsingproficiencymapMap = function() { this.getUsingproficiencymapMap().clear(); return this; }; /** * map UnlockProficiencyMap = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.LevelProficiency.prototype.getUnlockproficiencymapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.UnlockProficiency)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.LevelProficiency} returns this */ proto.LevelProficiency.prototype.clearUnlockproficiencymapMap = function() { this.getUnlockproficiencymapMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.UnlockProficiency.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UnlockProficiency.prototype.toObject = function(opt_includeInstance) { return proto.UnlockProficiency.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UnlockProficiency} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnlockProficiency.toObject = function(includeInstance, msg) { var f, obj = { unlockbufferidList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UnlockProficiency} */ proto.UnlockProficiency.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UnlockProficiency; return proto.UnlockProficiency.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UnlockProficiency} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UnlockProficiency} */ proto.UnlockProficiency.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addUnlockbufferid(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UnlockProficiency.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UnlockProficiency.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UnlockProficiency} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnlockProficiency.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUnlockbufferidList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } }; /** * repeated int32 UnlockBufferId = 1; * @return {!Array} */ proto.UnlockProficiency.prototype.getUnlockbufferidList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.UnlockProficiency} returns this */ proto.UnlockProficiency.prototype.setUnlockbufferidList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.UnlockProficiency} returns this */ proto.UnlockProficiency.prototype.addUnlockbufferid = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UnlockProficiency} returns this */ proto.UnlockProficiency.prototype.clearUnlockbufferidList = function() { return this.setUnlockbufferidList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Pivot.prototype.toObject = function(opt_includeInstance) { return proto.Pivot.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Pivot} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Pivot.toObject = function(includeInstance, msg) { var f, obj = { pivotsMap: (f = msg.getPivotsMap()) ? f.toObject(includeInstance, proto.PivotInfo.toObject) : [], mappivotsMap: (f = msg.getMappivotsMap()) ? f.toObject(includeInstance, proto.PivotInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Pivot} */ proto.Pivot.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Pivot; return proto.Pivot.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Pivot} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Pivot} */ proto.Pivot.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPivotsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.PivotInfo.deserializeBinaryFromReader, 0, new proto.PivotInfo()); }); break; case 2: var value = msg.getMappivotsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.PivotInfo.deserializeBinaryFromReader, 0, new proto.PivotInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Pivot.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Pivot.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Pivot} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Pivot.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPivotsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.PivotInfo.serializeBinaryToWriter); } f = message.getMappivotsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.PivotInfo.serializeBinaryToWriter); } }; /** * map Pivots = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Pivot.prototype.getPivotsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.PivotInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Pivot} returns this */ proto.Pivot.prototype.clearPivotsMap = function() { this.getPivotsMap().clear(); return this; }; /** * map MapPivots = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Pivot.prototype.getMappivotsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.PivotInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Pivot} returns this */ proto.Pivot.prototype.clearMappivotsMap = function() { this.getMappivotsMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.PivotInfo.repeatedFields_ = [2,3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PivotInfo.prototype.toObject = function(opt_includeInstance) { return proto.PivotInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PivotInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PivotInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, breakpointList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, rewardstageList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, rewardfullstate: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PivotInfo} */ proto.PivotInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PivotInfo; return proto.PivotInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PivotInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PivotInfo} */ proto.PivotInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addBreakpoint(values[i]); } break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addRewardstage(values[i]); } break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setRewardfullstate(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PivotInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PivotInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PivotInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PivotInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getBreakpointList(); if (f.length > 0) { writer.writePackedInt32( 2, f ); } f = message.getRewardstageList(); if (f.length > 0) { writer.writePackedInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.PivotInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PivotInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated int32 BreakPoint = 2; * @return {!Array} */ proto.PivotInfo.prototype.getBreakpointList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.setBreakpointList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.addBreakpoint = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.clearBreakpointList = function() { return this.setBreakpointList([]); }; /** * repeated int32 RewardStage = 3; * @return {!Array} */ proto.PivotInfo.prototype.getRewardstageList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.setRewardstageList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.addRewardstage = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.clearRewardstageList = function() { return this.setRewardstageList([]); }; /** * optional int32 RewardFullState = 4; * @return {number} */ proto.PivotInfo.prototype.getRewardfullstate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.setRewardfullstate = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.PivotInfo} returns this */ proto.PivotInfo.prototype.clearRewardfullstate = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PivotInfo.prototype.hasRewardfullstate = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TransferPoint.prototype.toObject = function(opt_includeInstance) { return proto.TransferPoint.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TransferPoint} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TransferPoint.toObject = function(includeInstance, msg) { var f, obj = { pointsMap: (f = msg.getPointsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TransferPoint} */ proto.TransferPoint.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TransferPoint; return proto.TransferPoint.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TransferPoint} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TransferPoint} */ proto.TransferPoint.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPointsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TransferPoint.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TransferPoint.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TransferPoint} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TransferPoint.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPointsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map Points = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.TransferPoint.prototype.getPointsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.TransferPoint} returns this */ proto.TransferPoint.prototype.clearPointsMap = function() { this.getPointsMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.PlanetMemory.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlanetMemory.prototype.toObject = function(opt_includeInstance) { return proto.PlanetMemory.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlanetMemory} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlanetMemory.toObject = function(includeInstance, msg) { var f, obj = { passroomList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlanetMemory} */ proto.PlanetMemory.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlanetMemory; return proto.PlanetMemory.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlanetMemory} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlanetMemory} */ proto.PlanetMemory.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addPassroom(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlanetMemory.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlanetMemory.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlanetMemory} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlanetMemory.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPassroomList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } }; /** * repeated int32 PassRoom = 1; * @return {!Array} */ proto.PlanetMemory.prototype.getPassroomList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.PlanetMemory} returns this */ proto.PlanetMemory.prototype.setPassroomList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.PlanetMemory} returns this */ proto.PlanetMemory.prototype.addPassroom = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PlanetMemory} returns this */ proto.PlanetMemory.prototype.clearPassroomList = function() { return this.setPassroomList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonTarget.prototype.toObject = function(opt_includeInstance) { return proto.SeasonTarget.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonTarget} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonTarget.toObject = function(includeInstance, msg) { var f, obj = { targetinfoMap: (f = msg.getTargetinfoMap()) ? f.toObject(includeInstance, proto.SeasonTargetInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonTarget} */ proto.SeasonTarget.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonTarget; return proto.SeasonTarget.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonTarget} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonTarget} */ proto.SeasonTarget.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getTargetinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.SeasonTargetInfo.deserializeBinaryFromReader, 0, new proto.SeasonTargetInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonTarget.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonTarget.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonTarget} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonTarget.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTargetinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.SeasonTargetInfo.serializeBinaryToWriter); } }; /** * map TargetInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonTarget.prototype.getTargetinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SeasonTargetInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonTarget} returns this */ proto.SeasonTarget.prototype.clearTargetinfoMap = function() { this.getTargetinfoMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonTargetInfo.prototype.toObject = function(opt_includeInstance) { return proto.SeasonTargetInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonTargetInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonTargetInfo.toObject = function(includeInstance, msg) { var f, obj = { targetid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetprogress: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, awardstate: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonTargetInfo} */ proto.SeasonTargetInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonTargetInfo; return proto.SeasonTargetInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonTargetInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonTargetInfo} */ proto.SeasonTargetInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetprogress(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setAwardstate(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonTargetInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonTargetInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonTargetInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonTargetInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 TargetId = 1; * @return {number} */ proto.SeasonTargetInfo.prototype.getTargetid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeasonTargetInfo} returns this */ proto.SeasonTargetInfo.prototype.setTargetid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonTargetInfo} returns this */ proto.SeasonTargetInfo.prototype.clearTargetid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonTargetInfo.prototype.hasTargetid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TargetProgress = 2; * @return {number} */ proto.SeasonTargetInfo.prototype.getTargetprogress = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SeasonTargetInfo} returns this */ proto.SeasonTargetInfo.prototype.setTargetprogress = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonTargetInfo} returns this */ proto.SeasonTargetInfo.prototype.clearTargetprogress = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonTargetInfo.prototype.hasTargetprogress = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 AwardState = 3; * @return {number} */ proto.SeasonTargetInfo.prototype.getAwardstate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SeasonTargetInfo} returns this */ proto.SeasonTargetInfo.prototype.setAwardstate = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonTargetInfo} returns this */ proto.SeasonTargetInfo.prototype.clearAwardstate = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonTargetInfo.prototype.hasAwardstate = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RedDotData.prototype.toObject = function(opt_includeInstance) { return proto.RedDotData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RedDotData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RedDotData.toObject = function(includeInstance, msg) { var f, obj = { permanentclosedreddotMap: (f = msg.getPermanentclosedreddotMap()) ? f.toObject(includeInstance, undefined) : [], reddotcountMap: (f = msg.getReddotcountMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RedDotData} */ proto.RedDotData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RedDotData; return proto.RedDotData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RedDotData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RedDotData} */ proto.RedDotData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPermanentclosedreddotMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 2: var value = msg.getReddotcountMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RedDotData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RedDotData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RedDotData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RedDotData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPermanentclosedreddotMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getReddotcountMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map PermanentClosedRedDot = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RedDotData.prototype.getPermanentclosedreddotMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RedDotData} returns this */ proto.RedDotData.prototype.clearPermanentclosedreddotMap = function() { this.getPermanentclosedreddotMap().clear(); return this; }; /** * map RedDotCount = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RedDotData.prototype.getReddotcountMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RedDotData} returns this */ proto.RedDotData.prototype.clearReddotcountMap = function() { this.getReddotcountMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.Resonance.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Resonance.prototype.toObject = function(opt_includeInstance) { return proto.Resonance.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Resonance} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Resonance.toObject = function(includeInstance, msg) { var f, obj = { resonancesMap: (f = msg.getResonancesMap()) ? f.toObject(includeInstance, undefined) : [], installedList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Resonance} */ proto.Resonance.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Resonance; return proto.Resonance.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Resonance} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Resonance} */ proto.Resonance.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getResonancesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addInstalled(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Resonance.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Resonance.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Resonance} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Resonance.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getResonancesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeInt64); } f = message.getInstalledList(); if (f.length > 0) { writer.writePackedUint32( 2, f ); } }; /** * map Resonances = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Resonance.prototype.getResonancesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Resonance} returns this */ proto.Resonance.prototype.clearResonancesMap = function() { this.getResonancesMap().clear(); return this; }; /** * repeated uint32 Installed = 2; * @return {!Array} */ proto.Resonance.prototype.getInstalledList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.Resonance} returns this */ proto.Resonance.prototype.setInstalledList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.Resonance} returns this */ proto.Resonance.prototype.addInstalled = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.Resonance} returns this */ proto.Resonance.prototype.clearInstalledList = function() { return this.setInstalledList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CutsState.prototype.toObject = function(opt_includeInstance) { return proto.CutsState.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CutsState} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutsState.toObject = function(includeInstance, msg) { var f, obj = { stateinfoMap: (f = msg.getStateinfoMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CutsState} */ proto.CutsState.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CutsState; return proto.CutsState.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CutsState} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CutsState} */ proto.CutsState.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getStateinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CutsState.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CutsState.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CutsState} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutsState.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getStateinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map StateInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CutsState.prototype.getStateinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CutsState} returns this */ proto.CutsState.prototype.clearStateinfoMap = function() { this.getStateinfoMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.InvestigateList.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.InvestigateList.prototype.toObject = function(opt_includeInstance) { return proto.InvestigateList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.InvestigateList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InvestigateList.toObject = function(includeInstance, msg) { var f, obj = { investigatemapMap: (f = msg.getInvestigatemapMap()) ? f.toObject(includeInstance, proto.InvestigateData.toObject) : [], compinvestigatemapMap: (f = msg.getCompinvestigatemapMap()) ? f.toObject(includeInstance, undefined) : [], compreasoningmapList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.InvestigateList} */ proto.InvestigateList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.InvestigateList; return proto.InvestigateList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.InvestigateList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.InvestigateList} */ proto.InvestigateList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getInvestigatemapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.InvestigateData.deserializeBinaryFromReader, 0, new proto.InvestigateData()); }); break; case 2: var value = msg.getCompinvestigatemapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addCompreasoningmap(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.InvestigateList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.InvestigateList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.InvestigateList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InvestigateList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getInvestigatemapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.InvestigateData.serializeBinaryToWriter); } f = message.getCompinvestigatemapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeBool); } f = message.getCompreasoningmapList(); if (f.length > 0) { writer.writePackedUint32( 3, f ); } }; /** * map InvestigateMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.InvestigateList.prototype.getInvestigatemapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.InvestigateData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.InvestigateList} returns this */ proto.InvestigateList.prototype.clearInvestigatemapMap = function() { this.getInvestigatemapMap().clear(); return this; }; /** * map CompInvestigateMap = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.InvestigateList.prototype.getCompinvestigatemapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.InvestigateList} returns this */ proto.InvestigateList.prototype.clearCompinvestigatemapMap = function() { this.getCompinvestigatemapMap().clear(); return this; }; /** * repeated uint32 CompReasoningMap = 3; * @return {!Array} */ proto.InvestigateList.prototype.getCompreasoningmapList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.InvestigateList} returns this */ proto.InvestigateList.prototype.setCompreasoningmapList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.InvestigateList} returns this */ proto.InvestigateList.prototype.addCompreasoningmap = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.InvestigateList} returns this */ proto.InvestigateList.prototype.clearCompreasoningmapList = function() { return this.setCompreasoningmapList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.InvestigateData.prototype.toObject = function(opt_includeInstance) { return proto.InvestigateData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.InvestigateData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InvestigateData.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, stepidsMap: (f = msg.getStepidsMap()) ? f.toObject(includeInstance, proto.InvestigateStep.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.InvestigateData} */ proto.InvestigateData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.InvestigateData; return proto.InvestigateData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.InvestigateData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.InvestigateData} */ proto.InvestigateData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 2: var value = msg.getStepidsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.InvestigateStep.deserializeBinaryFromReader, 0, new proto.InvestigateStep()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.InvestigateData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.InvestigateData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.InvestigateData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InvestigateData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getStepidsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.InvestigateStep.serializeBinaryToWriter); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.InvestigateData.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.InvestigateData} returns this */ proto.InvestigateData.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.InvestigateData} returns this */ proto.InvestigateData.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InvestigateData.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * map StepIds = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.InvestigateData.prototype.getStepidsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.InvestigateStep)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.InvestigateData} returns this */ proto.InvestigateData.prototype.clearStepidsMap = function() { this.getStepidsMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.InvestigateStep.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.InvestigateStep.prototype.toObject = function(opt_includeInstance) { return proto.InvestigateStep.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.InvestigateStep} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InvestigateStep.toObject = function(includeInstance, msg) { var f, obj = { cluesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, reasoningmapMap: (f = msg.getReasoningmapMap()) ? f.toObject(includeInstance, proto.AnswerList.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.InvestigateStep} */ proto.InvestigateStep.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.InvestigateStep; return proto.InvestigateStep.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.InvestigateStep} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.InvestigateStep} */ proto.InvestigateStep.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addClues(values[i]); } break; case 2: var value = msg.getReasoningmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.AnswerList.deserializeBinaryFromReader, 0, new proto.AnswerList()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.InvestigateStep.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.InvestigateStep.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.InvestigateStep} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InvestigateStep.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCluesList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } f = message.getReasoningmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.AnswerList.serializeBinaryToWriter); } }; /** * repeated int32 Clues = 1; * @return {!Array} */ proto.InvestigateStep.prototype.getCluesList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.InvestigateStep} returns this */ proto.InvestigateStep.prototype.setCluesList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.InvestigateStep} returns this */ proto.InvestigateStep.prototype.addClues = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.InvestigateStep} returns this */ proto.InvestigateStep.prototype.clearCluesList = function() { return this.setCluesList([]); }; /** * map ReasoningMap = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.InvestigateStep.prototype.getReasoningmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.AnswerList)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.InvestigateStep} returns this */ proto.InvestigateStep.prototype.clearReasoningmapMap = function() { this.getReasoningmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ParkourRecordList.prototype.toObject = function(opt_includeInstance) { return proto.ParkourRecordList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ParkourRecordList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ParkourRecordList.toObject = function(includeInstance, msg) { var f, obj = { recordlistMap: (f = msg.getRecordlistMap()) ? f.toObject(includeInstance, proto.ParkourRecord.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ParkourRecordList} */ proto.ParkourRecordList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ParkourRecordList; return proto.ParkourRecordList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ParkourRecordList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ParkourRecordList} */ proto.ParkourRecordList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getRecordlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.ParkourRecord.deserializeBinaryFromReader, 0, new proto.ParkourRecord()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ParkourRecordList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ParkourRecordList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ParkourRecordList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ParkourRecordList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRecordlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.ParkourRecord.serializeBinaryToWriter); } }; /** * map RecordList = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ParkourRecordList.prototype.getRecordlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.ParkourRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ParkourRecordList} returns this */ proto.ParkourRecordList.prototype.clearRecordlistMap = function() { this.getRecordlistMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ParkourRecord.prototype.toObject = function(opt_includeInstance) { return proto.ParkourRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ParkourRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ParkourRecord.toObject = function(includeInstance, msg) { var f, obj = { time: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, state: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, perfecttime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ParkourRecord} */ proto.ParkourRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ParkourRecord; return proto.ParkourRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ParkourRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ParkourRecord} */ proto.ParkourRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setTime(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setState(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setPerfecttime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ParkourRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ParkourRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ParkourRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ParkourRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } }; /** * optional uint32 Time = 1; * @return {number} */ proto.ParkourRecord.prototype.getTime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ParkourRecord} returns this */ proto.ParkourRecord.prototype.setTime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ParkourRecord} returns this */ proto.ParkourRecord.prototype.clearTime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ParkourRecord.prototype.hasTime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 State = 2; * @return {number} */ proto.ParkourRecord.prototype.getState = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ParkourRecord} returns this */ proto.ParkourRecord.prototype.setState = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ParkourRecord} returns this */ proto.ParkourRecord.prototype.clearState = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ParkourRecord.prototype.hasState = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 PerfectTime = 3; * @return {number} */ proto.ParkourRecord.prototype.getPerfecttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ParkourRecord} returns this */ proto.ParkourRecord.prototype.setPerfecttime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ParkourRecord} returns this */ proto.ParkourRecord.prototype.clearPerfecttime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ParkourRecord.prototype.hasPerfecttime = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.InteractionInfo.prototype.toObject = function(opt_includeInstance) { return proto.InteractionInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.InteractionInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InteractionInfo.toObject = function(includeInstance, msg) { var f, obj = { interactionstage: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, actionid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, originatorid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, inviteeid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, isoriginator: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, interactiontype: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.InteractionInfo} */ proto.InteractionInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.InteractionInfo; return proto.InteractionInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.InteractionInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.InteractionInfo} */ proto.InteractionInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setInteractionstage(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setActionid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setOriginatorid(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setInviteeid(value); break; case 5: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsoriginator(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setInteractiontype(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.InteractionInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.InteractionInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.InteractionInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InteractionInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeBool( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } }; /** * optional int32 InteractionStage = 1; * @return {number} */ proto.InteractionInfo.prototype.getInteractionstage = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.setInteractionstage = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.clearInteractionstage = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionInfo.prototype.hasInteractionstage = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 ActionId = 2; * @return {number} */ proto.InteractionInfo.prototype.getActionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.setActionid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.clearActionid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionInfo.prototype.hasActionid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 OriginatorId = 3; * @return {number} */ proto.InteractionInfo.prototype.getOriginatorid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.setOriginatorid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.clearOriginatorid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionInfo.prototype.hasOriginatorid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 InviteeId = 4; * @return {number} */ proto.InteractionInfo.prototype.getInviteeid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.setInviteeid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.clearInviteeid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionInfo.prototype.hasInviteeid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional bool IsOriginator = 5; * @return {boolean} */ proto.InteractionInfo.prototype.getIsoriginator = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); }; /** * @param {boolean} value * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.setIsoriginator = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.clearIsoriginator = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionInfo.prototype.hasIsoriginator = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 InteractionType = 6; * @return {number} */ proto.InteractionInfo.prototype.getInteractiontype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.setInteractiontype = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionInfo} returns this */ proto.InteractionInfo.prototype.clearInteractiontype = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionInfo.prototype.hasInteractiontype = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonQuestList.prototype.toObject = function(opt_includeInstance) { return proto.SeasonQuestList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonQuestList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonQuestList.toObject = function(includeInstance, msg) { var f, obj = { seasonmapMap: (f = msg.getSeasonmapMap()) ? f.toObject(includeInstance, proto.SeasonQuestData.toObject) : [], refreshweek: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, refreshtimestamp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonQuestList} */ proto.SeasonQuestList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonQuestList; return proto.SeasonQuestList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonQuestList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonQuestList} */ proto.SeasonQuestList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSeasonmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.SeasonQuestData.deserializeBinaryFromReader, 0, new proto.SeasonQuestData()); }); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setRefreshweek(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setRefreshtimestamp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonQuestList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonQuestList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonQuestList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonQuestList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSeasonmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.SeasonQuestData.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * map SeasonMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonQuestList.prototype.getSeasonmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SeasonQuestData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonQuestList} returns this */ proto.SeasonQuestList.prototype.clearSeasonmapMap = function() { this.getSeasonmapMap().clear(); return this; }; /** * optional int32 RefreshWeek = 2; * @return {number} */ proto.SeasonQuestList.prototype.getRefreshweek = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SeasonQuestList} returns this */ proto.SeasonQuestList.prototype.setRefreshweek = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonQuestList} returns this */ proto.SeasonQuestList.prototype.clearRefreshweek = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonQuestList.prototype.hasRefreshweek = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 RefreshTimeStamp = 3; * @return {number} */ proto.SeasonQuestList.prototype.getRefreshtimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SeasonQuestList} returns this */ proto.SeasonQuestList.prototype.setRefreshtimestamp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonQuestList} returns this */ proto.SeasonQuestList.prototype.clearRefreshtimestamp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonQuestList.prototype.hasRefreshtimestamp = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonQuestData.prototype.toObject = function(opt_includeInstance) { return proto.SeasonQuestData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonQuestData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonQuestData.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetnum: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, award: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonQuestData} */ proto.SeasonQuestData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonQuestData; return proto.SeasonQuestData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonQuestData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonQuestData} */ proto.SeasonQuestData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetnum(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setAward(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonQuestData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonQuestData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonQuestData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonQuestData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.SeasonQuestData.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeasonQuestData} returns this */ proto.SeasonQuestData.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonQuestData} returns this */ proto.SeasonQuestData.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonQuestData.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TargetNum = 2; * @return {number} */ proto.SeasonQuestData.prototype.getTargetnum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SeasonQuestData} returns this */ proto.SeasonQuestData.prototype.setTargetnum = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonQuestData} returns this */ proto.SeasonQuestData.prototype.clearTargetnum = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonQuestData.prototype.hasTargetnum = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Award = 3; * @return {number} */ proto.SeasonQuestData.prototype.getAward = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SeasonQuestData} returns this */ proto.SeasonQuestData.prototype.setAward = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonQuestData} returns this */ proto.SeasonQuestData.prototype.clearAward = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonQuestData.prototype.hasAward = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RoleFace.prototype.toObject = function(opt_includeInstance) { return proto.RoleFace.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RoleFace} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RoleFace.toObject = function(includeInstance, msg) { var f, obj = { unlockitemmapMap: (f = msg.getUnlockitemmapMap()) ? f.toObject(includeInstance, undefined) : [], saveneedconsume: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RoleFace} */ proto.RoleFace.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RoleFace; return proto.RoleFace.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RoleFace} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RoleFace} */ proto.RoleFace.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getUnlockitemmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setSaveneedconsume(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RoleFace.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RoleFace.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RoleFace} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RoleFace.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUnlockitemmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * map UnlockItemMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RoleFace.prototype.getUnlockitemmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RoleFace} returns this */ proto.RoleFace.prototype.clearUnlockitemmapMap = function() { this.getUnlockitemmapMap().clear(); return this; }; /** * optional bool SaveNeedConsume = 2; * @return {boolean} */ proto.RoleFace.prototype.getSaveneedconsume = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.RoleFace} returns this */ proto.RoleFace.prototype.setSaveneedconsume = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.RoleFace} returns this */ proto.RoleFace.prototype.clearSaveneedconsume = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RoleFace.prototype.hasSaveneedconsume = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MapBookInfoList.prototype.toObject = function(opt_includeInstance) { return proto.MapBookInfoList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MapBookInfoList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapBookInfoList.toObject = function(includeInstance, msg) { var f, obj = { mapbookmapMap: (f = msg.getMapbookmapMap()) ? f.toObject(includeInstance, proto.MapBookInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MapBookInfoList} */ proto.MapBookInfoList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MapBookInfoList; return proto.MapBookInfoList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MapBookInfoList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MapBookInfoList} */ proto.MapBookInfoList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getMapbookmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.MapBookInfo.deserializeBinaryFromReader, 0, new proto.MapBookInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MapBookInfoList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MapBookInfoList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MapBookInfoList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapBookInfoList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMapbookmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.MapBookInfo.serializeBinaryToWriter); } }; /** * map MapBookMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MapBookInfoList.prototype.getMapbookmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.MapBookInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MapBookInfoList} returns this */ proto.MapBookInfoList.prototype.clearMapbookmapMap = function() { this.getMapbookmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MapBookInfo.prototype.toObject = function(opt_includeInstance) { return proto.MapBookInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MapBookInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapBookInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, mapstickermapMap: (f = msg.getMapstickermapMap()) ? f.toObject(includeInstance, proto.MapStickerInfo.toObject) : [], awardflag: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MapBookInfo} */ proto.MapBookInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MapBookInfo; return proto.MapBookInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MapBookInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MapBookInfo} */ proto.MapBookInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 2: var value = msg.getMapstickermapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.MapStickerInfo.deserializeBinaryFromReader, 0, new proto.MapStickerInfo()); }); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setAwardflag(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MapBookInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MapBookInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MapBookInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapBookInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getMapstickermapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.MapStickerInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.MapBookInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MapBookInfo} returns this */ proto.MapBookInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MapBookInfo} returns this */ proto.MapBookInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapBookInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * map MapStickerMap = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MapBookInfo.prototype.getMapstickermapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.MapStickerInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MapBookInfo} returns this */ proto.MapBookInfo.prototype.clearMapstickermapMap = function() { this.getMapstickermapMap().clear(); return this; }; /** * optional uint32 AwardFlag = 3; * @return {number} */ proto.MapBookInfo.prototype.getAwardflag = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MapBookInfo} returns this */ proto.MapBookInfo.prototype.setAwardflag = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MapBookInfo} returns this */ proto.MapBookInfo.prototype.clearAwardflag = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapBookInfo.prototype.hasAwardflag = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.MapStickerInfo.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MapStickerInfo.prototype.toObject = function(opt_includeInstance) { return proto.MapStickerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MapStickerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapStickerInfo.toObject = function(includeInstance, msg) { var f, obj = { stickermapMap: (f = msg.getStickermapMap()) ? f.toObject(includeInstance, proto.MapStickerTaskInfo.toObject) : [], finishmapList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, awardflag: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MapStickerInfo} */ proto.MapStickerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MapStickerInfo; return proto.MapStickerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MapStickerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MapStickerInfo} */ proto.MapStickerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getStickermapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.MapStickerTaskInfo.deserializeBinaryFromReader, 0, new proto.MapStickerTaskInfo()); }); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addFinishmap(values[i]); } break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setAwardflag(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MapStickerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MapStickerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MapStickerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapStickerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getStickermapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.MapStickerTaskInfo.serializeBinaryToWriter); } f = message.getFinishmapList(); if (f.length > 0) { writer.writePackedUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } }; /** * map StickerMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MapStickerInfo.prototype.getStickermapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.MapStickerTaskInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MapStickerInfo} returns this */ proto.MapStickerInfo.prototype.clearStickermapMap = function() { this.getStickermapMap().clear(); return this; }; /** * repeated uint32 FinishMap = 2; * @return {!Array} */ proto.MapStickerInfo.prototype.getFinishmapList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.MapStickerInfo} returns this */ proto.MapStickerInfo.prototype.setFinishmapList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.MapStickerInfo} returns this */ proto.MapStickerInfo.prototype.addFinishmap = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.MapStickerInfo} returns this */ proto.MapStickerInfo.prototype.clearFinishmapList = function() { return this.setFinishmapList([]); }; /** * optional uint32 AwardFlag = 3; * @return {number} */ proto.MapStickerInfo.prototype.getAwardflag = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MapStickerInfo} returns this */ proto.MapStickerInfo.prototype.setAwardflag = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MapStickerInfo} returns this */ proto.MapStickerInfo.prototype.clearAwardflag = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapStickerInfo.prototype.hasAwardflag = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MapStickerTaskInfo.prototype.toObject = function(opt_includeInstance) { return proto.MapStickerTaskInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MapStickerTaskInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapStickerTaskInfo.toObject = function(includeInstance, msg) { var f, obj = { taskid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetnumMap: (f = msg.getTargetnumMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MapStickerTaskInfo} */ proto.MapStickerTaskInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MapStickerTaskInfo; return proto.MapStickerTaskInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MapStickerTaskInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MapStickerTaskInfo} */ proto.MapStickerTaskInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setTaskid(value); break; case 2: var value = msg.getTargetnumMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MapStickerTaskInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MapStickerTaskInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MapStickerTaskInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MapStickerTaskInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getTargetnumMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * optional uint32 TaskId = 1; * @return {number} */ proto.MapStickerTaskInfo.prototype.getTaskid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MapStickerTaskInfo} returns this */ proto.MapStickerTaskInfo.prototype.setTaskid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MapStickerTaskInfo} returns this */ proto.MapStickerTaskInfo.prototype.clearTaskid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MapStickerTaskInfo.prototype.hasTaskid = function() { return jspb.Message.getField(this, 1) != null; }; /** * map TargetNum = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MapStickerTaskInfo.prototype.getTargetnumMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MapStickerTaskInfo} returns this */ proto.MapStickerTaskInfo.prototype.clearTargetnumMap = function() { this.getTargetnumMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.FunctionData.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FunctionData.prototype.toObject = function(opt_includeInstance) { return proto.FunctionData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FunctionData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FunctionData.toObject = function(includeInstance, msg) { var f, obj = { unlockedmapMap: (f = msg.getUnlockedmapMap()) ? f.toObject(includeInstance, undefined) : [], drawnfunctionidsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FunctionData} */ proto.FunctionData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FunctionData; return proto.FunctionData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FunctionData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FunctionData} */ proto.FunctionData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getUnlockedmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addDrawnfunctionids(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FunctionData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FunctionData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FunctionData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FunctionData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUnlockedmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getDrawnfunctionidsList(); if (f.length > 0) { writer.writePackedInt32( 2, f ); } }; /** * map UnlockedMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FunctionData.prototype.getUnlockedmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FunctionData} returns this */ proto.FunctionData.prototype.clearUnlockedmapMap = function() { this.getUnlockedmapMap().clear(); return this; }; /** * repeated int32 DrawnFunctionIds = 2; * @return {!Array} */ proto.FunctionData.prototype.getDrawnfunctionidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.FunctionData} returns this */ proto.FunctionData.prototype.setDrawnfunctionidsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.FunctionData} returns this */ proto.FunctionData.prototype.addDrawnfunctionids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.FunctionData} returns this */ proto.FunctionData.prototype.clearDrawnfunctionidsList = function() { return this.setDrawnfunctionidsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AntiAddictionInfo.prototype.toObject = function(opt_includeInstance) { return proto.AntiAddictionInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AntiAddictionInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AntiAddictionInfo.toObject = function(includeInstance, msg) { var f, obj = { lasttime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AntiAddictionInfo} */ proto.AntiAddictionInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AntiAddictionInfo; return proto.AntiAddictionInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AntiAddictionInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AntiAddictionInfo} */ proto.AntiAddictionInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setLasttime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AntiAddictionInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AntiAddictionInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AntiAddictionInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AntiAddictionInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } }; /** * optional uint32 LastTime = 1; * @return {number} */ proto.AntiAddictionInfo.prototype.getLasttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.AntiAddictionInfo} returns this */ proto.AntiAddictionInfo.prototype.setLasttime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.AntiAddictionInfo} returns this */ proto.AntiAddictionInfo.prototype.clearLasttime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AntiAddictionInfo.prototype.hasLasttime = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonsterExploreList.prototype.toObject = function(opt_includeInstance) { return proto.MonsterExploreList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonsterExploreList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterExploreList.toObject = function(includeInstance, msg) { var f, obj = { monsterexplorelistMap: (f = msg.getMonsterexplorelistMap()) ? f.toObject(includeInstance, proto.MonsterExploreInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonsterExploreList} */ proto.MonsterExploreList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonsterExploreList; return proto.MonsterExploreList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonsterExploreList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonsterExploreList} */ proto.MonsterExploreList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getMonsterexplorelistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.MonsterExploreInfo.deserializeBinaryFromReader, 0, new proto.MonsterExploreInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonsterExploreList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonsterExploreList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonsterExploreList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterExploreList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMonsterexplorelistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.MonsterExploreInfo.serializeBinaryToWriter); } }; /** * map MonsterExploreList_ = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MonsterExploreList.prototype.getMonsterexplorelistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.MonsterExploreInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MonsterExploreList} returns this */ proto.MonsterExploreList.prototype.clearMonsterexplorelistMap = function() { this.getMonsterexplorelistMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonsterExploreInfo.prototype.toObject = function(opt_includeInstance) { return proto.MonsterExploreInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonsterExploreInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterExploreInfo.toObject = function(includeInstance, msg) { var f, obj = { isunlock: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, targetnumMap: (f = msg.getTargetnumMap()) ? f.toObject(includeInstance, undefined) : [], awardflag: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, isflag: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonsterExploreInfo} */ proto.MonsterExploreInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonsterExploreInfo; return proto.MonsterExploreInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonsterExploreInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonsterExploreInfo} */ proto.MonsterExploreInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsunlock(value); break; case 2: var value = msg.getTargetnumMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setAwardflag(value); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsflag(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonsterExploreInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonsterExploreInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonsterExploreInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterExploreInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = message.getTargetnumMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } }; /** * optional bool IsUnlock = 1; * @return {boolean} */ proto.MonsterExploreInfo.prototype.getIsunlock = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.MonsterExploreInfo} returns this */ proto.MonsterExploreInfo.prototype.setIsunlock = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterExploreInfo} returns this */ proto.MonsterExploreInfo.prototype.clearIsunlock = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterExploreInfo.prototype.hasIsunlock = function() { return jspb.Message.getField(this, 1) != null; }; /** * map TargetNum = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MonsterExploreInfo.prototype.getTargetnumMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MonsterExploreInfo} returns this */ proto.MonsterExploreInfo.prototype.clearTargetnumMap = function() { this.getTargetnumMap().clear(); return this; }; /** * optional uint32 AwardFlag = 3; * @return {number} */ proto.MonsterExploreInfo.prototype.getAwardflag = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MonsterExploreInfo} returns this */ proto.MonsterExploreInfo.prototype.setAwardflag = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterExploreInfo} returns this */ proto.MonsterExploreInfo.prototype.clearAwardflag = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterExploreInfo.prototype.hasAwardflag = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional bool IsFlag = 4; * @return {boolean} */ proto.MonsterExploreInfo.prototype.getIsflag = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.MonsterExploreInfo} returns this */ proto.MonsterExploreInfo.prototype.setIsflag = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterExploreInfo} returns this */ proto.MonsterExploreInfo.prototype.clearIsflag = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterExploreInfo.prototype.hasIsflag = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ShowPieceData.prototype.toObject = function(opt_includeInstance) { return proto.ShowPieceData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ShowPieceData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPieceData.toObject = function(includeInstance, msg) { var f, obj = { oftenusetypelistMap: (f = msg.getOftenusetypelistMap()) ? f.toObject(includeInstance, proto.ShowPieceIdList.toObject) : [], unlocktypelistMap: (f = msg.getUnlocktypelistMap()) ? f.toObject(includeInstance, proto.ShowPieceIdList.toObject) : [], roulettepospieceinfoMap: (f = msg.getRoulettepospieceinfoMap()) ? f.toObject(includeInstance, proto.ShowPiecePair.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ShowPieceData} */ proto.ShowPieceData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ShowPieceData; return proto.ShowPieceData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ShowPieceData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ShowPieceData} */ proto.ShowPieceData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getOftenusetypelistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ShowPieceIdList.deserializeBinaryFromReader, 0, new proto.ShowPieceIdList()); }); break; case 2: var value = msg.getUnlocktypelistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ShowPieceIdList.deserializeBinaryFromReader, 0, new proto.ShowPieceIdList()); }); break; case 3: var value = msg.getRoulettepospieceinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ShowPiecePair.deserializeBinaryFromReader, 0, new proto.ShowPiecePair()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ShowPieceData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ShowPieceData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ShowPieceData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPieceData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getOftenusetypelistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ShowPieceIdList.serializeBinaryToWriter); } f = message.getUnlocktypelistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ShowPieceIdList.serializeBinaryToWriter); } f = message.getRoulettepospieceinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ShowPiecePair.serializeBinaryToWriter); } }; /** * map OftenUseTypeList = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ShowPieceData.prototype.getOftenusetypelistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.ShowPieceIdList)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ShowPieceData} returns this */ proto.ShowPieceData.prototype.clearOftenusetypelistMap = function() { this.getOftenusetypelistMap().clear(); return this; }; /** * map UnlockTypeList = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ShowPieceData.prototype.getUnlocktypelistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.ShowPieceIdList)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ShowPieceData} returns this */ proto.ShowPieceData.prototype.clearUnlocktypelistMap = function() { this.getUnlocktypelistMap().clear(); return this; }; /** * map RoulettePosPieceInfo = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ShowPieceData.prototype.getRoulettepospieceinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.ShowPiecePair)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ShowPieceData} returns this */ proto.ShowPieceData.prototype.clearRoulettepospieceinfoMap = function() { this.getRoulettepospieceinfoMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ShowPieceIdList.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ShowPieceIdList.prototype.toObject = function(opt_includeInstance) { return proto.ShowPieceIdList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ShowPieceIdList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPieceIdList.toObject = function(includeInstance, msg) { var f, obj = { pieceidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ShowPieceIdList} */ proto.ShowPieceIdList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ShowPieceIdList; return proto.ShowPieceIdList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ShowPieceIdList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ShowPieceIdList} */ proto.ShowPieceIdList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addPieceids(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ShowPieceIdList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ShowPieceIdList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ShowPieceIdList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPieceIdList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPieceidsList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } }; /** * repeated int32 PieceIds = 1; * @return {!Array} */ proto.ShowPieceIdList.prototype.getPieceidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.ShowPieceIdList} returns this */ proto.ShowPieceIdList.prototype.setPieceidsList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.ShowPieceIdList} returns this */ proto.ShowPieceIdList.prototype.addPieceids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ShowPieceIdList} returns this */ proto.ShowPieceIdList.prototype.clearPieceidsList = function() { return this.setPieceidsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ShowPiecePair.prototype.toObject = function(opt_includeInstance) { return proto.ShowPiecePair.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ShowPiecePair} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPiecePair.toObject = function(includeInstance, msg) { var f, obj = { piecetype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, pieceid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ShowPiecePair} */ proto.ShowPiecePair.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ShowPiecePair; return proto.ShowPiecePair.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ShowPiecePair} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ShowPiecePair} */ proto.ShowPiecePair.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EShowPieceType} */ (reader.readEnum()); msg.setPiecetype(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setPieceid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ShowPiecePair.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ShowPiecePair.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ShowPiecePair} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPiecePair.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EShowPieceType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional EShowPieceType PieceType = 1; * @return {!proto.EShowPieceType} */ proto.ShowPiecePair.prototype.getPiecetype = function() { return /** @type {!proto.EShowPieceType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EShowPieceType} value * @return {!proto.ShowPiecePair} returns this */ proto.ShowPiecePair.prototype.setPiecetype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ShowPiecePair} returns this */ proto.ShowPiecePair.prototype.clearPiecetype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShowPiecePair.prototype.hasPiecetype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 PieceId = 2; * @return {number} */ proto.ShowPiecePair.prototype.getPieceid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ShowPiecePair} returns this */ proto.ShowPiecePair.prototype.setPieceid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ShowPiecePair} returns this */ proto.ShowPiecePair.prototype.clearPieceid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShowPiecePair.prototype.hasPieceid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CollectionBook.prototype.toObject = function(opt_includeInstance) { return proto.CollectionBook.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CollectionBook} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CollectionBook.toObject = function(includeInstance, msg) { var f, obj = { modbookmapMap: (f = msg.getModbookmapMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CollectionBook} */ proto.CollectionBook.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CollectionBook; return proto.CollectionBook.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CollectionBook} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CollectionBook} */ proto.CollectionBook.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getModbookmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CollectionBook.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CollectionBook.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CollectionBook} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CollectionBook.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getModbookmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeBool); } }; /** * map ModBookMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CollectionBook.prototype.getModbookmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CollectionBook} returns this */ proto.CollectionBook.prototype.clearModbookmapMap = function() { this.getModbookmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotGetProceedAwardInfo.prototype.toObject = function(opt_includeInstance) { return proto.NotGetProceedAwardInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotGetProceedAwardInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotGetProceedAwardInfo.toObject = function(includeInstance, msg) { var f, obj = { awardidtimesMap: (f = msg.getAwardidtimesMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotGetProceedAwardInfo} */ proto.NotGetProceedAwardInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotGetProceedAwardInfo; return proto.NotGetProceedAwardInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotGetProceedAwardInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotGetProceedAwardInfo} */ proto.NotGetProceedAwardInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getAwardidtimesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotGetProceedAwardInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotGetProceedAwardInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotGetProceedAwardInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotGetProceedAwardInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAwardidtimesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } }; /** * map AwardIdTimes = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.NotGetProceedAwardInfo.prototype.getAwardidtimesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.NotGetProceedAwardInfo} returns this */ proto.NotGetProceedAwardInfo.prototype.clearAwardidtimesMap = function() { this.getAwardidtimesMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CookList.prototype.toObject = function(opt_includeInstance) { return proto.CookList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CookList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CookList.toObject = function(includeInstance, msg) { var f, obj = { bookdataMap: (f = msg.getBookdataMap()) ? f.toObject(includeInstance, proto.CookBook.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CookList} */ proto.CookList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CookList; return proto.CookList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CookList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CookList} */ proto.CookList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getBookdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.CookBook.deserializeBinaryFromReader, 0, new proto.CookBook()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CookList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CookList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CookList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CookList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBookdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.CookBook.serializeBinaryToWriter); } }; /** * map BookData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CookList.prototype.getBookdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.CookBook)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CookList} returns this */ proto.CookList.prototype.clearBookdataMap = function() { this.getBookdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CookBook.prototype.toObject = function(opt_includeInstance) { return proto.CookBook.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CookBook} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CookBook.toObject = function(includeInstance, msg) { var f, obj = { createtime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CookBook} */ proto.CookBook.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CookBook; return proto.CookBook.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CookBook} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CookBook} */ proto.CookBook.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setCreatetime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CookBook.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CookBook.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CookBook} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CookBook.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } }; /** * optional uint32 CreateTime = 1; * @return {number} */ proto.CookBook.prototype.getCreatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CookBook} returns this */ proto.CookBook.prototype.setCreatetime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CookBook} returns this */ proto.CookBook.prototype.clearCreatetime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CookBook.prototype.hasCreatetime = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TimerRefreshDataList.prototype.toObject = function(opt_includeInstance) { return proto.TimerRefreshDataList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TimerRefreshDataList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TimerRefreshDataList.toObject = function(includeInstance, msg) { var f, obj = { refreshdatalistMap: (f = msg.getRefreshdatalistMap()) ? f.toObject(includeInstance, proto.TimerRefreshList.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TimerRefreshDataList} */ proto.TimerRefreshDataList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TimerRefreshDataList; return proto.TimerRefreshDataList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TimerRefreshDataList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TimerRefreshDataList} */ proto.TimerRefreshDataList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getRefreshdatalistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.TimerRefreshList.deserializeBinaryFromReader, 0, new proto.TimerRefreshList()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TimerRefreshDataList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TimerRefreshDataList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TimerRefreshDataList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TimerRefreshDataList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRefreshdatalistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.TimerRefreshList.serializeBinaryToWriter); } }; /** * map RefreshDataList = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.TimerRefreshDataList.prototype.getRefreshdatalistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.TimerRefreshList)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.TimerRefreshDataList} returns this */ proto.TimerRefreshDataList.prototype.clearRefreshdatalistMap = function() { this.getRefreshdatalistMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TimerRefreshList.prototype.toObject = function(opt_includeInstance) { return proto.TimerRefreshList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TimerRefreshList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TimerRefreshList.toObject = function(includeInstance, msg) { var f, obj = { refreshdataMap: (f = msg.getRefreshdataMap()) ? f.toObject(includeInstance, proto.TimerRefreshInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TimerRefreshList} */ proto.TimerRefreshList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TimerRefreshList; return proto.TimerRefreshList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TimerRefreshList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TimerRefreshList} */ proto.TimerRefreshList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getRefreshdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.TimerRefreshInfo.deserializeBinaryFromReader, 0, new proto.TimerRefreshInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TimerRefreshList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TimerRefreshList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TimerRefreshList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TimerRefreshList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRefreshdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.TimerRefreshInfo.serializeBinaryToWriter); } }; /** * map RefreshData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.TimerRefreshList.prototype.getRefreshdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.TimerRefreshInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.TimerRefreshList} returns this */ proto.TimerRefreshList.prototype.clearRefreshdataMap = function() { this.getRefreshdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TimerRefreshInfo.prototype.toObject = function(opt_includeInstance) { return proto.TimerRefreshInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TimerRefreshInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TimerRefreshInfo.toObject = function(includeInstance, msg) { var f, obj = { lastrefreshtime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TimerRefreshInfo} */ proto.TimerRefreshInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TimerRefreshInfo; return proto.TimerRefreshInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TimerRefreshInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TimerRefreshInfo} */ proto.TimerRefreshInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setLastrefreshtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TimerRefreshInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TimerRefreshInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TimerRefreshInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TimerRefreshInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 LastRefreshTime = 1; * @return {number} */ proto.TimerRefreshInfo.prototype.getLastrefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TimerRefreshInfo} returns this */ proto.TimerRefreshInfo.prototype.setLastrefreshtime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerRefreshInfo} returns this */ proto.TimerRefreshInfo.prototype.clearLastrefreshtime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerRefreshInfo.prototype.hasLastrefreshtime = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncAwardData.prototype.toObject = function(opt_includeInstance) { return proto.SyncAwardData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncAwardData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncAwardData.toObject = function(includeInstance, msg) { var f, obj = { levelupawardinfosMap: (f = msg.getLevelupawardinfosMap()) ? f.toObject(includeInstance, proto.LevelUpAward.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncAwardData} */ proto.SyncAwardData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncAwardData; return proto.SyncAwardData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncAwardData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncAwardData} */ proto.SyncAwardData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getLevelupawardinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.LevelUpAward.deserializeBinaryFromReader, 0, new proto.LevelUpAward()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncAwardData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncAwardData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncAwardData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncAwardData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getLevelupawardinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.LevelUpAward.serializeBinaryToWriter); } }; /** * map LevelUpAwardInfos = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SyncAwardData.prototype.getLevelupawardinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.LevelUpAward)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SyncAwardData} returns this */ proto.SyncAwardData.prototype.clearLevelupawardinfosMap = function() { this.getLevelupawardinfosMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LevelUpAward.prototype.toObject = function(opt_includeInstance) { return proto.LevelUpAward.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LevelUpAward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LevelUpAward.toObject = function(includeInstance, msg) { var f, obj = { droptimes: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, lastdroptime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LevelUpAward} */ proto.LevelUpAward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LevelUpAward; return proto.LevelUpAward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LevelUpAward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LevelUpAward} */ proto.LevelUpAward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setDroptimes(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setLastdroptime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LevelUpAward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LevelUpAward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LevelUpAward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LevelUpAward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional uint32 DropTimes = 1; * @return {number} */ proto.LevelUpAward.prototype.getDroptimes = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LevelUpAward} returns this */ proto.LevelUpAward.prototype.setDroptimes = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LevelUpAward} returns this */ proto.LevelUpAward.prototype.clearDroptimes = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LevelUpAward.prototype.hasDroptimes = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 LastDropTime = 2; * @return {number} */ proto.LevelUpAward.prototype.getLastdroptime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LevelUpAward} returns this */ proto.LevelUpAward.prototype.setLastdroptime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LevelUpAward} returns this */ proto.LevelUpAward.prototype.clearLastdroptime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LevelUpAward.prototype.hasLastdroptime = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonAchievementList.prototype.toObject = function(opt_includeInstance) { return proto.SeasonAchievementList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonAchievementList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonAchievementList.toObject = function(includeInstance, msg) { var f, obj = { seasonachievementlistMap: (f = msg.getSeasonachievementlistMap()) ? f.toObject(includeInstance, proto.SeasonAchievement.toObject) : [], hasinitdonesMap: (f = msg.getHasinitdonesMap()) ? f.toObject(includeInstance, undefined) : [], version: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonAchievementList} */ proto.SeasonAchievementList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonAchievementList; return proto.SeasonAchievementList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonAchievementList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonAchievementList} */ proto.SeasonAchievementList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSeasonachievementlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.SeasonAchievement.deserializeBinaryFromReader, 0, new proto.SeasonAchievement()); }); break; case 2: var value = msg.getHasinitdonesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 3: var value = /** @type {number} */ (reader.readUint64()); msg.setVersion(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonAchievementList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonAchievementList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonAchievementList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonAchievementList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSeasonachievementlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.SeasonAchievement.serializeBinaryToWriter); } f = message.getHasinitdonesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeBool); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint64( 3, f ); } }; /** * map SeasonAchievementList_ = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonAchievementList.prototype.getSeasonachievementlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SeasonAchievement)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonAchievementList} returns this */ proto.SeasonAchievementList.prototype.clearSeasonachievementlistMap = function() { this.getSeasonachievementlistMap().clear(); return this; }; /** * map HasInitDones = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonAchievementList.prototype.getHasinitdonesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonAchievementList} returns this */ proto.SeasonAchievementList.prototype.clearHasinitdonesMap = function() { this.getHasinitdonesMap().clear(); return this; }; /** * optional uint64 Version = 3; * @return {number} */ proto.SeasonAchievementList.prototype.getVersion = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SeasonAchievementList} returns this */ proto.SeasonAchievementList.prototype.setVersion = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonAchievementList} returns this */ proto.SeasonAchievementList.prototype.clearVersion = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonAchievementList.prototype.hasVersion = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonAchievement.prototype.toObject = function(opt_includeInstance) { return proto.SeasonAchievement.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonAchievement} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonAchievement.toObject = function(includeInstance, msg) { var f, obj = { seasonachievementMap: (f = msg.getSeasonachievementMap()) ? f.toObject(includeInstance, proto.Achievement.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonAchievement} */ proto.SeasonAchievement.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonAchievement; return proto.SeasonAchievement.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonAchievement} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonAchievement} */ proto.SeasonAchievement.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSeasonachievementMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.Achievement.deserializeBinaryFromReader, 0, new proto.Achievement()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonAchievement.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonAchievement.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonAchievement} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonAchievement.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSeasonachievementMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.Achievement.serializeBinaryToWriter); } }; /** * map SeasonAchievement_ = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonAchievement.prototype.getSeasonachievementMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.Achievement)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonAchievement} returns this */ proto.SeasonAchievement.prototype.clearSeasonachievementMap = function() { this.getSeasonachievementMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonRankList.prototype.toObject = function(opt_includeInstance) { return proto.SeasonRankList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonRankList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonRankList.toObject = function(includeInstance, msg) { var f, obj = { seasonranklistMap: (f = msg.getSeasonranklistMap()) ? f.toObject(includeInstance, proto.SeasonRankInfo.toObject) : [], showarmbandid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonRankList} */ proto.SeasonRankList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonRankList; return proto.SeasonRankList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonRankList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonRankList} */ proto.SeasonRankList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSeasonranklistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.SeasonRankInfo.deserializeBinaryFromReader, 0, new proto.SeasonRankInfo()); }); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setShowarmbandid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonRankList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonRankList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonRankList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonRankList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSeasonranklistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.SeasonRankInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } }; /** * map SeasonRankList_ = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonRankList.prototype.getSeasonranklistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SeasonRankInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonRankList} returns this */ proto.SeasonRankList.prototype.clearSeasonranklistMap = function() { this.getSeasonranklistMap().clear(); return this; }; /** * optional uint32 ShowArmbandId = 2; * @return {number} */ proto.SeasonRankList.prototype.getShowarmbandid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SeasonRankList} returns this */ proto.SeasonRankList.prototype.setShowarmbandid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonRankList} returns this */ proto.SeasonRankList.prototype.clearShowarmbandid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonRankList.prototype.hasShowarmbandid = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SeasonRankInfo.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonRankInfo.prototype.toObject = function(opt_includeInstance) { return proto.SeasonRankInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonRankInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonRankInfo.toObject = function(includeInstance, msg) { var f, obj = { currankstar: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, receivedrankstarList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonRankInfo} */ proto.SeasonRankInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonRankInfo; return proto.SeasonRankInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonRankInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonRankInfo} */ proto.SeasonRankInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setCurrankstar(value); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addReceivedrankstar(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonRankInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonRankInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonRankInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonRankInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getReceivedrankstarList(); if (f.length > 0) { writer.writePackedUint32( 2, f ); } }; /** * optional uint32 CurRanKStar = 1; * @return {number} */ proto.SeasonRankInfo.prototype.getCurrankstar = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeasonRankInfo} returns this */ proto.SeasonRankInfo.prototype.setCurrankstar = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonRankInfo} returns this */ proto.SeasonRankInfo.prototype.clearCurrankstar = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonRankInfo.prototype.hasCurrankstar = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated uint32 ReceivedRankStar = 2; * @return {!Array} */ proto.SeasonRankInfo.prototype.getReceivedrankstarList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.SeasonRankInfo} returns this */ proto.SeasonRankInfo.prototype.setReceivedrankstarList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.SeasonRankInfo} returns this */ proto.SeasonRankInfo.prototype.addReceivedrankstar = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SeasonRankInfo} returns this */ proto.SeasonRankInfo.prototype.clearReceivedrankstarList = function() { return this.setReceivedrankstarList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonCenter.prototype.toObject = function(opt_includeInstance) { return proto.SeasonCenter.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonCenter} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonCenter.toObject = function(includeInstance, msg) { var f, obj = { seasonid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, battlepass: (f = msg.getBattlepass()) && proto.BattlePass.toObject(includeInstance, f), bpquestlist: (f = msg.getBpquestlist()) && proto.SeasonBpQuestList.toObject(includeInstance, f), seasonhistoryMap: (f = msg.getSeasonhistoryMap()) ? f.toObject(includeInstance, proto.SeasonCenterHistory.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonCenter} */ proto.SeasonCenter.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonCenter; return proto.SeasonCenter.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonCenter} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonCenter} */ proto.SeasonCenter.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSeasonid(value); break; case 2: var value = new proto.BattlePass; reader.readMessage(value,proto.BattlePass.deserializeBinaryFromReader); msg.setBattlepass(value); break; case 3: var value = new proto.SeasonBpQuestList; reader.readMessage(value,proto.SeasonBpQuestList.deserializeBinaryFromReader); msg.setBpquestlist(value); break; case 4: var value = msg.getSeasonhistoryMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.SeasonCenterHistory.deserializeBinaryFromReader, 0, new proto.SeasonCenterHistory()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonCenter.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonCenter.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonCenter} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonCenter.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getBattlepass(); if (f != null) { writer.writeMessage( 2, f, proto.BattlePass.serializeBinaryToWriter ); } f = message.getBpquestlist(); if (f != null) { writer.writeMessage( 3, f, proto.SeasonBpQuestList.serializeBinaryToWriter ); } f = message.getSeasonhistoryMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.SeasonCenterHistory.serializeBinaryToWriter); } }; /** * optional int32 SeasonId = 1; * @return {number} */ proto.SeasonCenter.prototype.getSeasonid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeasonCenter} returns this */ proto.SeasonCenter.prototype.setSeasonid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonCenter} returns this */ proto.SeasonCenter.prototype.clearSeasonid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonCenter.prototype.hasSeasonid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional BattlePass BattlePass = 2; * @return {?proto.BattlePass} */ proto.SeasonCenter.prototype.getBattlepass = function() { return /** @type{?proto.BattlePass} */ ( jspb.Message.getWrapperField(this, proto.BattlePass, 2)); }; /** * @param {?proto.BattlePass|undefined} value * @return {!proto.SeasonCenter} returns this */ proto.SeasonCenter.prototype.setBattlepass = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.SeasonCenter} returns this */ proto.SeasonCenter.prototype.clearBattlepass = function() { return this.setBattlepass(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonCenter.prototype.hasBattlepass = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional SeasonBpQuestList BpQuestList = 3; * @return {?proto.SeasonBpQuestList} */ proto.SeasonCenter.prototype.getBpquestlist = function() { return /** @type{?proto.SeasonBpQuestList} */ ( jspb.Message.getWrapperField(this, proto.SeasonBpQuestList, 3)); }; /** * @param {?proto.SeasonBpQuestList|undefined} value * @return {!proto.SeasonCenter} returns this */ proto.SeasonCenter.prototype.setBpquestlist = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.SeasonCenter} returns this */ proto.SeasonCenter.prototype.clearBpquestlist = function() { return this.setBpquestlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonCenter.prototype.hasBpquestlist = function() { return jspb.Message.getField(this, 3) != null; }; /** * map SeasonHistory = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonCenter.prototype.getSeasonhistoryMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.SeasonCenterHistory)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonCenter} returns this */ proto.SeasonCenter.prototype.clearSeasonhistoryMap = function() { this.getSeasonhistoryMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SeasonBpQuestList.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonBpQuestList.prototype.toObject = function(opt_includeInstance) { return proto.SeasonBpQuestList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonBpQuestList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonBpQuestList.toObject = function(includeInstance, msg) { var f, obj = { seasonmapMap: (f = msg.getSeasonmapMap()) ? f.toObject(includeInstance, proto.SeasonBpQuestData.toObject) : [], randommapList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, refreshtimestamp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonBpQuestList} */ proto.SeasonBpQuestList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonBpQuestList; return proto.SeasonBpQuestList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonBpQuestList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonBpQuestList} */ proto.SeasonBpQuestList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSeasonmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.SeasonBpQuestData.deserializeBinaryFromReader, 0, new proto.SeasonBpQuestData()); }); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addRandommap(values[i]); } break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setRefreshtimestamp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonBpQuestList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonBpQuestList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonBpQuestList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonBpQuestList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSeasonmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.SeasonBpQuestData.serializeBinaryToWriter); } f = message.getRandommapList(); if (f.length > 0) { writer.writePackedUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * map SeasonMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonBpQuestList.prototype.getSeasonmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SeasonBpQuestData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonBpQuestList} returns this */ proto.SeasonBpQuestList.prototype.clearSeasonmapMap = function() { this.getSeasonmapMap().clear(); return this; }; /** * repeated uint32 RandomMap = 2; * @return {!Array} */ proto.SeasonBpQuestList.prototype.getRandommapList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.SeasonBpQuestList} returns this */ proto.SeasonBpQuestList.prototype.setRandommapList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.SeasonBpQuestList} returns this */ proto.SeasonBpQuestList.prototype.addRandommap = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SeasonBpQuestList} returns this */ proto.SeasonBpQuestList.prototype.clearRandommapList = function() { return this.setRandommapList([]); }; /** * optional int64 RefreshTimeStamp = 3; * @return {number} */ proto.SeasonBpQuestList.prototype.getRefreshtimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SeasonBpQuestList} returns this */ proto.SeasonBpQuestList.prototype.setRefreshtimestamp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonBpQuestList} returns this */ proto.SeasonBpQuestList.prototype.clearRefreshtimestamp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonBpQuestList.prototype.hasRefreshtimestamp = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonBpQuestData.prototype.toObject = function(opt_includeInstance) { return proto.SeasonBpQuestData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonBpQuestData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonBpQuestData.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetnum: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, award: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonBpQuestData} */ proto.SeasonBpQuestData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonBpQuestData; return proto.SeasonBpQuestData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonBpQuestData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonBpQuestData} */ proto.SeasonBpQuestData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetnum(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setAward(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonBpQuestData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonBpQuestData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonBpQuestData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonBpQuestData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.SeasonBpQuestData.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeasonBpQuestData} returns this */ proto.SeasonBpQuestData.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonBpQuestData} returns this */ proto.SeasonBpQuestData.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonBpQuestData.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TargetNum = 2; * @return {number} */ proto.SeasonBpQuestData.prototype.getTargetnum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SeasonBpQuestData} returns this */ proto.SeasonBpQuestData.prototype.setTargetnum = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonBpQuestData} returns this */ proto.SeasonBpQuestData.prototype.clearTargetnum = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonBpQuestData.prototype.hasTargetnum = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Award = 3; * @return {number} */ proto.SeasonBpQuestData.prototype.getAward = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SeasonBpQuestData} returns this */ proto.SeasonBpQuestData.prototype.setAward = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonBpQuestData} returns this */ proto.SeasonBpQuestData.prototype.clearAward = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonBpQuestData.prototype.hasAward = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonCenterHistory.prototype.toObject = function(opt_includeInstance) { return proto.SeasonCenterHistory.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonCenterHistory} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonCenterHistory.toObject = function(includeInstance, msg) { var f, obj = { battlepass: (f = msg.getBattlepass()) && proto.BattlePass.toObject(includeInstance, f), bpquestlist: (f = msg.getBpquestlist()) && proto.SeasonBpQuestList.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonCenterHistory} */ proto.SeasonCenterHistory.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonCenterHistory; return proto.SeasonCenterHistory.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonCenterHistory} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonCenterHistory} */ proto.SeasonCenterHistory.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BattlePass; reader.readMessage(value,proto.BattlePass.deserializeBinaryFromReader); msg.setBattlepass(value); break; case 2: var value = new proto.SeasonBpQuestList; reader.readMessage(value,proto.SeasonBpQuestList.deserializeBinaryFromReader); msg.setBpquestlist(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonCenterHistory.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonCenterHistory.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonCenterHistory} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonCenterHistory.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBattlepass(); if (f != null) { writer.writeMessage( 1, f, proto.BattlePass.serializeBinaryToWriter ); } f = message.getBpquestlist(); if (f != null) { writer.writeMessage( 2, f, proto.SeasonBpQuestList.serializeBinaryToWriter ); } }; /** * optional BattlePass BattlePass = 1; * @return {?proto.BattlePass} */ proto.SeasonCenterHistory.prototype.getBattlepass = function() { return /** @type{?proto.BattlePass} */ ( jspb.Message.getWrapperField(this, proto.BattlePass, 1)); }; /** * @param {?proto.BattlePass|undefined} value * @return {!proto.SeasonCenterHistory} returns this */ proto.SeasonCenterHistory.prototype.setBattlepass = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SeasonCenterHistory} returns this */ proto.SeasonCenterHistory.prototype.clearBattlepass = function() { return this.setBattlepass(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonCenterHistory.prototype.hasBattlepass = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional SeasonBpQuestList BpQuestList = 2; * @return {?proto.SeasonBpQuestList} */ proto.SeasonCenterHistory.prototype.getBpquestlist = function() { return /** @type{?proto.SeasonBpQuestList} */ ( jspb.Message.getWrapperField(this, proto.SeasonBpQuestList, 2)); }; /** * @param {?proto.SeasonBpQuestList|undefined} value * @return {!proto.SeasonCenterHistory} returns this */ proto.SeasonCenterHistory.prototype.setBpquestlist = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.SeasonCenterHistory} returns this */ proto.SeasonCenterHistory.prototype.clearBpquestlist = function() { return this.setBpquestlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonCenterHistory.prototype.hasBpquestlist = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.PersonalZone.repeatedFields_ = [2,3,10,15]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PersonalZone.prototype.toObject = function(opt_includeInstance) { return proto.PersonalZone.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PersonalZone} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalZone.toObject = function(includeInstance, msg) { var f, obj = { onlineperiodsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, tagsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, medalsMap: (f = msg.getMedalsMap()) ? f.toObject(includeInstance, undefined) : [], themeid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, businesscardstyleid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, avatarframeid: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, actioninfo: (f = msg.getActioninfo()) && proto.ActionInfo.toObject(includeInstance, f), uipositionList: jspb.Message.toObjectList(msg.getUipositionList(), proto.EditorUIPosition.toObject, includeInstance), titleid: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, fashionrefreshflag: (f = jspb.Message.getBooleanField(msg, 12)) == null ? undefined : f, fashioncollectpoint: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f, fashioncollectqualitycountMap: (f = msg.getFashioncollectqualitycountMap()) ? f.toObject(includeInstance, proto.FashionQualityCollectInfo.toObject) : [], photosList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f, unlocktargetrecordMap: (f = msg.getUnlocktargetrecordMap()) ? f.toObject(includeInstance, undefined) : [], unlockgetrewardrecordMap: (f = msg.getUnlockgetrewardrecordMap()) ? f.toObject(includeInstance, undefined) : [], ridecollectpoint: (f = jspb.Message.getField(msg, 18)) == null ? undefined : f, ridecollectqualitycountMap: (f = msg.getRidecollectqualitycountMap()) ? f.toObject(includeInstance, proto.RideQualityCollectInfo.toObject) : [], weaponskincollectpoint: (f = jspb.Message.getField(msg, 20)) == null ? undefined : f, photoswallMap: (f = msg.getPhotoswallMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PersonalZone} */ proto.PersonalZone.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PersonalZone; return proto.PersonalZone.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PersonalZone} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PersonalZone} */ proto.PersonalZone.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addOnlineperiods(values[i]); } break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addTags(values[i]); } break; case 5: var value = msg.getMedalsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setThemeid(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setBusinesscardstyleid(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setAvatarframeid(value); break; case 9: var value = new proto.ActionInfo; reader.readMessage(value,proto.ActionInfo.deserializeBinaryFromReader); msg.setActioninfo(value); break; case 10: var value = new proto.EditorUIPosition; reader.readMessage(value,proto.EditorUIPosition.deserializeBinaryFromReader); msg.addUiposition(value); break; case 11: var value = /** @type {number} */ (reader.readInt32()); msg.setTitleid(value); break; case 12: var value = /** @type {boolean} */ (reader.readBool()); msg.setFashionrefreshflag(value); break; case 13: var value = /** @type {number} */ (reader.readInt32()); msg.setFashioncollectpoint(value); break; case 14: var value = msg.getFashioncollectqualitycountMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.FashionQualityCollectInfo.deserializeBinaryFromReader, 0, new proto.FashionQualityCollectInfo()); }); break; case 15: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addPhotos(values[i]); } break; case 16: var value = msg.getUnlocktargetrecordMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 17: var value = msg.getUnlockgetrewardrecordMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 18: var value = /** @type {number} */ (reader.readInt32()); msg.setRidecollectpoint(value); break; case 19: var value = msg.getRidecollectqualitycountMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.RideQualityCollectInfo.deserializeBinaryFromReader, 0, new proto.RideQualityCollectInfo()); }); break; case 20: var value = /** @type {number} */ (reader.readInt32()); msg.setWeaponskincollectpoint(value); break; case 21: var value = msg.getPhotoswallMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PersonalZone.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PersonalZone.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PersonalZone} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalZone.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getOnlineperiodsList(); if (f.length > 0) { writer.writePackedInt32( 2, f ); } f = message.getTagsList(); if (f.length > 0) { writer.writePackedInt32( 3, f ); } f = message.getMedalsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = message.getActioninfo(); if (f != null) { writer.writeMessage( 9, f, proto.ActionInfo.serializeBinaryToWriter ); } f = message.getUipositionList(); if (f.length > 0) { writer.writeRepeatedMessage( 10, f, proto.EditorUIPosition.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt32( 11, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 12)); if (f != null) { writer.writeBool( 12, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeInt32( 13, f ); } f = message.getFashioncollectqualitycountMap(true); if (f && f.getLength() > 0) { f.serializeBinary(14, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.FashionQualityCollectInfo.serializeBinaryToWriter); } f = message.getPhotosList(); if (f.length > 0) { writer.writePackedInt32( 15, f ); } f = message.getUnlocktargetrecordMap(true); if (f && f.getLength() > 0) { f.serializeBinary(16, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getUnlockgetrewardrecordMap(true); if (f && f.getLength() > 0) { f.serializeBinary(17, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = /** @type {number} */ (jspb.Message.getField(message, 18)); if (f != null) { writer.writeInt32( 18, f ); } f = message.getRidecollectqualitycountMap(true); if (f && f.getLength() > 0) { f.serializeBinary(19, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.RideQualityCollectInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 20)); if (f != null) { writer.writeInt32( 20, f ); } f = message.getPhotoswallMap(true); if (f && f.getLength() > 0) { f.serializeBinary(21, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * repeated int32 OnlinePeriods = 2; * @return {!Array} */ proto.PersonalZone.prototype.getOnlineperiodsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setOnlineperiodsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.addOnlineperiods = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearOnlineperiodsList = function() { return this.setOnlineperiodsList([]); }; /** * repeated int32 Tags = 3; * @return {!Array} */ proto.PersonalZone.prototype.getTagsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setTagsList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.addTags = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearTagsList = function() { return this.setTagsList([]); }; /** * map Medals = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalZone.prototype.getMedalsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearMedalsMap = function() { this.getMedalsMap().clear(); return this; }; /** * optional int32 ThemeId = 6; * @return {number} */ proto.PersonalZone.prototype.getThemeid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setThemeid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearThemeid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalZone.prototype.hasThemeid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 BusinessCardStyleId = 7; * @return {number} */ proto.PersonalZone.prototype.getBusinesscardstyleid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setBusinesscardstyleid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearBusinesscardstyleid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalZone.prototype.hasBusinesscardstyleid = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 AvatarFrameId = 8; * @return {number} */ proto.PersonalZone.prototype.getAvatarframeid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setAvatarframeid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearAvatarframeid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalZone.prototype.hasAvatarframeid = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional ActionInfo ActionInfo = 9; * @return {?proto.ActionInfo} */ proto.PersonalZone.prototype.getActioninfo = function() { return /** @type{?proto.ActionInfo} */ ( jspb.Message.getWrapperField(this, proto.ActionInfo, 9)); }; /** * @param {?proto.ActionInfo|undefined} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setActioninfo = function(value) { return jspb.Message.setWrapperField(this, 9, value); }; /** * Clears the message field making it undefined. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearActioninfo = function() { return this.setActioninfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalZone.prototype.hasActioninfo = function() { return jspb.Message.getField(this, 9) != null; }; /** * repeated EditorUIPosition UiPosition = 10; * @return {!Array} */ proto.PersonalZone.prototype.getUipositionList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.EditorUIPosition, 10)); }; /** * @param {!Array} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setUipositionList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 10, value); }; /** * @param {!proto.EditorUIPosition=} opt_value * @param {number=} opt_index * @return {!proto.EditorUIPosition} */ proto.PersonalZone.prototype.addUiposition = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.EditorUIPosition, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearUipositionList = function() { return this.setUipositionList([]); }; /** * optional int32 TitleId = 11; * @return {number} */ proto.PersonalZone.prototype.getTitleid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setTitleid = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearTitleid = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalZone.prototype.hasTitleid = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional bool FashionRefreshFlag = 12; * @return {boolean} */ proto.PersonalZone.prototype.getFashionrefreshflag = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false)); }; /** * @param {boolean} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setFashionrefreshflag = function(value) { return jspb.Message.setField(this, 12, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearFashionrefreshflag = function() { return jspb.Message.setField(this, 12, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalZone.prototype.hasFashionrefreshflag = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional int32 FashionCollectPoint = 13; * @return {number} */ proto.PersonalZone.prototype.getFashioncollectpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0)); }; /** * @param {number} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setFashioncollectpoint = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearFashioncollectpoint = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalZone.prototype.hasFashioncollectpoint = function() { return jspb.Message.getField(this, 13) != null; }; /** * map FashionCollectQualityCount = 14; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalZone.prototype.getFashioncollectqualitycountMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 14, opt_noLazyCreate, proto.FashionQualityCollectInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearFashioncollectqualitycountMap = function() { this.getFashioncollectqualitycountMap().clear(); return this; }; /** * repeated int32 Photos = 15; * @return {!Array} */ proto.PersonalZone.prototype.getPhotosList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 15)); }; /** * @param {!Array} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setPhotosList = function(value) { return jspb.Message.setField(this, 15, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.addPhotos = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 15, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearPhotosList = function() { return this.setPhotosList([]); }; /** * map UnlockTargetRecord = 16; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalZone.prototype.getUnlocktargetrecordMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 16, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearUnlocktargetrecordMap = function() { this.getUnlocktargetrecordMap().clear(); return this; }; /** * map UnlockGetRewardRecord = 17; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalZone.prototype.getUnlockgetrewardrecordMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 17, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearUnlockgetrewardrecordMap = function() { this.getUnlockgetrewardrecordMap().clear(); return this; }; /** * optional int32 RideCollectPoint = 18; * @return {number} */ proto.PersonalZone.prototype.getRidecollectpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0)); }; /** * @param {number} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setRidecollectpoint = function(value) { return jspb.Message.setField(this, 18, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearRidecollectpoint = function() { return jspb.Message.setField(this, 18, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalZone.prototype.hasRidecollectpoint = function() { return jspb.Message.getField(this, 18) != null; }; /** * map RideCollectQualityCount = 19; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalZone.prototype.getRidecollectqualitycountMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 19, opt_noLazyCreate, proto.RideQualityCollectInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearRidecollectqualitycountMap = function() { this.getRidecollectqualitycountMap().clear(); return this; }; /** * optional int32 WeaponSkinCollectPoint = 20; * @return {number} */ proto.PersonalZone.prototype.getWeaponskincollectpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0)); }; /** * @param {number} value * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.setWeaponskincollectpoint = function(value) { return jspb.Message.setField(this, 20, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearWeaponskincollectpoint = function() { return jspb.Message.setField(this, 20, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalZone.prototype.hasWeaponskincollectpoint = function() { return jspb.Message.getField(this, 20) != null; }; /** * map PhotosWall = 21; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalZone.prototype.getPhotoswallMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 21, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalZone} returns this */ proto.PersonalZone.prototype.clearPhotoswallMap = function() { this.getPhotoswallMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EditorUIPosition.prototype.toObject = function(opt_includeInstance) { return proto.EditorUIPosition.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EditorUIPosition} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EditorUIPosition.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, x: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, y: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EditorUIPosition} */ proto.EditorUIPosition.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EditorUIPosition; return proto.EditorUIPosition.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EditorUIPosition} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EditorUIPosition} */ proto.EditorUIPosition.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setX(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setY(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EditorUIPosition.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EditorUIPosition.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EditorUIPosition} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EditorUIPosition.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeFloat( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.EditorUIPosition.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.EditorUIPosition} returns this */ proto.EditorUIPosition.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.EditorUIPosition} returns this */ proto.EditorUIPosition.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EditorUIPosition.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional float X = 2; * @return {number} */ proto.EditorUIPosition.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.EditorUIPosition} returns this */ proto.EditorUIPosition.prototype.setX = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.EditorUIPosition} returns this */ proto.EditorUIPosition.prototype.clearX = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EditorUIPosition.prototype.hasX = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float Y = 3; * @return {number} */ proto.EditorUIPosition.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.EditorUIPosition} returns this */ proto.EditorUIPosition.prototype.setY = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.EditorUIPosition} returns this */ proto.EditorUIPosition.prototype.clearY = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EditorUIPosition.prototype.hasY = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FashionQualityCollectInfo.prototype.toObject = function(opt_includeInstance) { return proto.FashionQualityCollectInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FashionQualityCollectInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionQualityCollectInfo.toObject = function(includeInstance, msg) { var f, obj = { qualitycountMap: (f = msg.getQualitycountMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FashionQualityCollectInfo} */ proto.FashionQualityCollectInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FashionQualityCollectInfo; return proto.FashionQualityCollectInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FashionQualityCollectInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FashionQualityCollectInfo} */ proto.FashionQualityCollectInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getQualitycountMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FashionQualityCollectInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FashionQualityCollectInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FashionQualityCollectInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionQualityCollectInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getQualitycountMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map QualityCount = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionQualityCollectInfo.prototype.getQualitycountMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionQualityCollectInfo} returns this */ proto.FashionQualityCollectInfo.prototype.clearQualitycountMap = function() { this.getQualitycountMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RideQualityCollectInfo.prototype.toObject = function(opt_includeInstance) { return proto.RideQualityCollectInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RideQualityCollectInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideQualityCollectInfo.toObject = function(includeInstance, msg) { var f, obj = { qualitycountMap: (f = msg.getQualitycountMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RideQualityCollectInfo} */ proto.RideQualityCollectInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RideQualityCollectInfo; return proto.RideQualityCollectInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RideQualityCollectInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RideQualityCollectInfo} */ proto.RideQualityCollectInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getQualitycountMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RideQualityCollectInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RideQualityCollectInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RideQualityCollectInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideQualityCollectInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getQualitycountMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map QualityCount = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RideQualityCollectInfo.prototype.getQualitycountMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RideQualityCollectInfo} returns this */ proto.RideQualityCollectInfo.prototype.clearQualitycountMap = function() { this.getQualitycountMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonMedalInfo.prototype.toObject = function(opt_includeInstance) { return proto.SeasonMedalInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonMedalInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonMedalInfo.toObject = function(includeInstance, msg) { var f, obj = { seasonid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, normalholeinfosMap: (f = msg.getNormalholeinfosMap()) ? f.toObject(includeInstance, proto.MedalHole.toObject) : [], coreholeinfo: (f = msg.getCoreholeinfo()) && proto.MedalHole.toObject(includeInstance, f), coreholenodeinfosMap: (f = msg.getCoreholenodeinfosMap()) ? f.toObject(includeInstance, proto.MedalNode.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonMedalInfo} */ proto.SeasonMedalInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonMedalInfo; return proto.SeasonMedalInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonMedalInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonMedalInfo} */ proto.SeasonMedalInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setSeasonid(value); break; case 2: var value = msg.getNormalholeinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.MedalHole.deserializeBinaryFromReader, 0, new proto.MedalHole()); }); break; case 3: var value = new proto.MedalHole; reader.readMessage(value,proto.MedalHole.deserializeBinaryFromReader); msg.setCoreholeinfo(value); break; case 4: var value = msg.getCoreholenodeinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.MedalNode.deserializeBinaryFromReader, 0, new proto.MedalNode()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonMedalInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonMedalInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonMedalInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonMedalInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getNormalholeinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.MedalHole.serializeBinaryToWriter); } f = message.getCoreholeinfo(); if (f != null) { writer.writeMessage( 3, f, proto.MedalHole.serializeBinaryToWriter ); } f = message.getCoreholenodeinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.MedalNode.serializeBinaryToWriter); } }; /** * optional uint32 SeasonId = 1; * @return {number} */ proto.SeasonMedalInfo.prototype.getSeasonid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeasonMedalInfo} returns this */ proto.SeasonMedalInfo.prototype.setSeasonid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonMedalInfo} returns this */ proto.SeasonMedalInfo.prototype.clearSeasonid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonMedalInfo.prototype.hasSeasonid = function() { return jspb.Message.getField(this, 1) != null; }; /** * map NormalHoleInfos = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonMedalInfo.prototype.getNormalholeinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.MedalHole)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonMedalInfo} returns this */ proto.SeasonMedalInfo.prototype.clearNormalholeinfosMap = function() { this.getNormalholeinfosMap().clear(); return this; }; /** * optional MedalHole CoreHoleInfo = 3; * @return {?proto.MedalHole} */ proto.SeasonMedalInfo.prototype.getCoreholeinfo = function() { return /** @type{?proto.MedalHole} */ ( jspb.Message.getWrapperField(this, proto.MedalHole, 3)); }; /** * @param {?proto.MedalHole|undefined} value * @return {!proto.SeasonMedalInfo} returns this */ proto.SeasonMedalInfo.prototype.setCoreholeinfo = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.SeasonMedalInfo} returns this */ proto.SeasonMedalInfo.prototype.clearCoreholeinfo = function() { return this.setCoreholeinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonMedalInfo.prototype.hasCoreholeinfo = function() { return jspb.Message.getField(this, 3) != null; }; /** * map CoreHoleNodeInfos = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonMedalInfo.prototype.getCoreholenodeinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.MedalNode)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonMedalInfo} returns this */ proto.SeasonMedalInfo.prototype.clearCoreholenodeinfosMap = function() { this.getCoreholenodeinfosMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MedalHole.prototype.toObject = function(opt_includeInstance) { return proto.MedalHole.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MedalHole} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MedalHole.toObject = function(includeInstance, msg) { var f, obj = { holeid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, holelevel: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, curexp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MedalHole} */ proto.MedalHole.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MedalHole; return proto.MedalHole.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MedalHole} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MedalHole} */ proto.MedalHole.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setHoleid(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setHolelevel(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setCurexp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MedalHole.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MedalHole.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MedalHole} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MedalHole.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } }; /** * optional uint32 HoleId = 1; * @return {number} */ proto.MedalHole.prototype.getHoleid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MedalHole} returns this */ proto.MedalHole.prototype.setHoleid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MedalHole} returns this */ proto.MedalHole.prototype.clearHoleid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MedalHole.prototype.hasHoleid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 HoleLevel = 2; * @return {number} */ proto.MedalHole.prototype.getHolelevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.MedalHole} returns this */ proto.MedalHole.prototype.setHolelevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MedalHole} returns this */ proto.MedalHole.prototype.clearHolelevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MedalHole.prototype.hasHolelevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 CurExp = 3; * @return {number} */ proto.MedalHole.prototype.getCurexp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MedalHole} returns this */ proto.MedalHole.prototype.setCurexp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MedalHole} returns this */ proto.MedalHole.prototype.clearCurexp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MedalHole.prototype.hasCurexp = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MedalNode.prototype.toObject = function(opt_includeInstance) { return proto.MedalNode.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MedalNode} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MedalNode.toObject = function(includeInstance, msg) { var f, obj = { nodeid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, nodelevel: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, choose: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, slot: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MedalNode} */ proto.MedalNode.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MedalNode; return proto.MedalNode.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MedalNode} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MedalNode} */ proto.MedalNode.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setNodeid(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setNodelevel(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setChoose(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setSlot(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MedalNode.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MedalNode.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MedalNode} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MedalNode.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional uint32 NodeId = 1; * @return {number} */ proto.MedalNode.prototype.getNodeid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MedalNode} returns this */ proto.MedalNode.prototype.setNodeid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MedalNode} returns this */ proto.MedalNode.prototype.clearNodeid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MedalNode.prototype.hasNodeid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 NodeLevel = 2; * @return {number} */ proto.MedalNode.prototype.getNodelevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.MedalNode} returns this */ proto.MedalNode.prototype.setNodelevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MedalNode} returns this */ proto.MedalNode.prototype.clearNodelevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MedalNode.prototype.hasNodelevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool Choose = 3; * @return {boolean} */ proto.MedalNode.prototype.getChoose = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.MedalNode} returns this */ proto.MedalNode.prototype.setChoose = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MedalNode} returns this */ proto.MedalNode.prototype.clearChoose = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MedalNode.prototype.hasChoose = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 Slot = 4; * @return {number} */ proto.MedalNode.prototype.getSlot = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.MedalNode} returns this */ proto.MedalNode.prototype.setSlot = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.MedalNode} returns this */ proto.MedalNode.prototype.clearSlot = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MedalNode.prototype.hasSlot = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityHomeData.prototype.toObject = function(opt_includeInstance) { return proto.CommunityHomeData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityHomeData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityHomeData.toObject = function(includeInstance, msg) { var f, obj = { communityid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, homelandid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, buycount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, unlockedrecipesMap: (f = msg.getUnlockedrecipesMap()) ? f.toObject(includeInstance, proto.CommunityHomelandRecipe.toObject) : [], level: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityHomeData} */ proto.CommunityHomeData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityHomeData; return proto.CommunityHomeData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityHomeData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityHomeData} */ proto.CommunityHomeData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCommunityid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setHomelandid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setBuycount(value); break; case 4: var value = msg.getUnlockedrecipesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.CommunityHomelandRecipe.deserializeBinaryFromReader, 0, new proto.CommunityHomelandRecipe()); }); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityHomeData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityHomeData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityHomeData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityHomeData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getUnlockedrecipesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.CommunityHomelandRecipe.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int64 CommunityId = 1; * @return {number} */ proto.CommunityHomeData.prototype.getCommunityid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CommunityHomeData} returns this */ proto.CommunityHomeData.prototype.setCommunityid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityHomeData} returns this */ proto.CommunityHomeData.prototype.clearCommunityid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityHomeData.prototype.hasCommunityid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 HomelandId = 2; * @return {number} */ proto.CommunityHomeData.prototype.getHomelandid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CommunityHomeData} returns this */ proto.CommunityHomeData.prototype.setHomelandid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityHomeData} returns this */ proto.CommunityHomeData.prototype.clearHomelandid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityHomeData.prototype.hasHomelandid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 BuyCount = 3; * @return {number} */ proto.CommunityHomeData.prototype.getBuycount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.CommunityHomeData} returns this */ proto.CommunityHomeData.prototype.setBuycount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityHomeData} returns this */ proto.CommunityHomeData.prototype.clearBuycount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityHomeData.prototype.hasBuycount = function() { return jspb.Message.getField(this, 3) != null; }; /** * map UnlockedRecipes = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CommunityHomeData.prototype.getUnlockedrecipesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.CommunityHomelandRecipe)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CommunityHomeData} returns this */ proto.CommunityHomeData.prototype.clearUnlockedrecipesMap = function() { this.getUnlockedrecipesMap().clear(); return this; }; /** * optional int32 Level = 5; * @return {number} */ proto.CommunityHomeData.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.CommunityHomeData} returns this */ proto.CommunityHomeData.prototype.setLevel = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityHomeData} returns this */ proto.CommunityHomeData.prototype.clearLevel = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityHomeData.prototype.hasLevel = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityHomelandRecipe.prototype.toObject = function(opt_includeInstance) { return proto.CommunityHomelandRecipe.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityHomelandRecipe} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityHomelandRecipe.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityHomelandRecipe} */ proto.CommunityHomelandRecipe.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityHomelandRecipe; return proto.CommunityHomelandRecipe.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityHomelandRecipe} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityHomelandRecipe} */ proto.CommunityHomelandRecipe.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityHomelandRecipe.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityHomelandRecipe.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityHomelandRecipe} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityHomelandRecipe.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.CommunityHomelandRecipe.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CommunityHomelandRecipe} returns this */ proto.CommunityHomelandRecipe.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityHomelandRecipe} returns this */ proto.CommunityHomelandRecipe.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityHomelandRecipe.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonActivation.prototype.toObject = function(opt_includeInstance) { return proto.SeasonActivation.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonActivation} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonActivation.toObject = function(includeInstance, msg) { var f, obj = { seasonid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, activationpoint: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, refreshtime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, activationtargetsMap: (f = msg.getActivationtargetsMap()) ? f.toObject(includeInstance, proto.SeasonActivationTarget.toObject) : [], stagerewardstatusMap: (f = msg.getStagerewardstatusMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonActivation} */ proto.SeasonActivation.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonActivation; return proto.SeasonActivation.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonActivation} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonActivation} */ proto.SeasonActivation.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSeasonid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setActivationpoint(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setRefreshtime(value); break; case 4: var value = msg.getActivationtargetsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.SeasonActivationTarget.deserializeBinaryFromReader, 0, new proto.SeasonActivationTarget()); }); break; case 5: var value = msg.getStagerewardstatusMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonActivation.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonActivation.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonActivation} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonActivation.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getActivationtargetsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.SeasonActivationTarget.serializeBinaryToWriter); } f = message.getStagerewardstatusMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * optional int32 SeasonId = 1; * @return {number} */ proto.SeasonActivation.prototype.getSeasonid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeasonActivation} returns this */ proto.SeasonActivation.prototype.setSeasonid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonActivation} returns this */ proto.SeasonActivation.prototype.clearSeasonid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonActivation.prototype.hasSeasonid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 ActivationPoint = 2; * @return {number} */ proto.SeasonActivation.prototype.getActivationpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SeasonActivation} returns this */ proto.SeasonActivation.prototype.setActivationpoint = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonActivation} returns this */ proto.SeasonActivation.prototype.clearActivationpoint = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonActivation.prototype.hasActivationpoint = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 RefreshTime = 3; * @return {number} */ proto.SeasonActivation.prototype.getRefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SeasonActivation} returns this */ proto.SeasonActivation.prototype.setRefreshtime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonActivation} returns this */ proto.SeasonActivation.prototype.clearRefreshtime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonActivation.prototype.hasRefreshtime = function() { return jspb.Message.getField(this, 3) != null; }; /** * map ActivationTargets = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonActivation.prototype.getActivationtargetsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.SeasonActivationTarget)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonActivation} returns this */ proto.SeasonActivation.prototype.clearActivationtargetsMap = function() { this.getActivationtargetsMap().clear(); return this; }; /** * map StageRewardStatus = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonActivation.prototype.getStagerewardstatusMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonActivation} returns this */ proto.SeasonActivation.prototype.clearStagerewardstatusMap = function() { this.getStagerewardstatusMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonActivationTarget.prototype.toObject = function(opt_includeInstance) { return proto.SeasonActivationTarget.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonActivationTarget} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonActivationTarget.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targettype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, targetuuid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, rewardrate: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, progress: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, completedtimes: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonActivationTarget} */ proto.SeasonActivationTarget.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonActivationTarget; return proto.SeasonActivationTarget.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonActivationTarget} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonActivationTarget} */ proto.SeasonActivationTarget.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTargettype(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetuuid(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setRewardrate(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setProgress(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setCompletedtimes(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonActivationTarget.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonActivationTarget.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonActivationTarget} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonActivationTarget.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.SeasonActivationTarget.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonActivationTarget.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TargetType = 2; * @return {number} */ proto.SeasonActivationTarget.prototype.getTargettype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.setTargettype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.clearTargettype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonActivationTarget.prototype.hasTargettype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 TargetUuid = 3; * @return {number} */ proto.SeasonActivationTarget.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonActivationTarget.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 RewardRate = 4; * @return {number} */ proto.SeasonActivationTarget.prototype.getRewardrate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.setRewardrate = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.clearRewardrate = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonActivationTarget.prototype.hasRewardrate = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 Progress = 5; * @return {number} */ proto.SeasonActivationTarget.prototype.getProgress = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.setProgress = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.clearProgress = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonActivationTarget.prototype.hasProgress = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 CompletedTimes = 6; * @return {number} */ proto.SeasonActivationTarget.prototype.getCompletedtimes = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.setCompletedtimes = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonActivationTarget} returns this */ proto.SeasonActivationTarget.prototype.clearCompletedtimes = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonActivationTarget.prototype.hasCompletedtimes = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Slot.prototype.toObject = function(opt_includeInstance) { return proto.Slot.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Slot} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Slot.toObject = function(includeInstance, msg) { var f, obj = { slotsMap: (f = msg.getSlotsMap()) ? f.toObject(includeInstance, proto.SlotInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Slot} */ proto.Slot.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Slot; return proto.Slot.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Slot} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Slot} */ proto.Slot.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSlotsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.SlotInfo.deserializeBinaryFromReader, 0, new proto.SlotInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Slot.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Slot.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Slot} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Slot.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSlotsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.SlotInfo.serializeBinaryToWriter); } }; /** * map Slots = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Slot.prototype.getSlotsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SlotInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Slot} returns this */ proto.Slot.prototype.clearSlotsMap = function() { this.getSlotsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SlotInfo.prototype.toObject = function(opt_includeInstance) { return proto.SlotInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SlotInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SlotInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skillid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, isautobattleclose: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SlotInfo} */ proto.SlotInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SlotInfo; return proto.SlotInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SlotInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SlotInfo} */ proto.SlotInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillid(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsautobattleclose(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SlotInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SlotInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SlotInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SlotInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.SlotInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SlotInfo} returns this */ proto.SlotInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SlotInfo} returns this */ proto.SlotInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SlotInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SkillId = 2; * @return {number} */ proto.SlotInfo.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SlotInfo} returns this */ proto.SlotInfo.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SlotInfo} returns this */ proto.SlotInfo.prototype.clearSkillid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SlotInfo.prototype.hasSkillid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsAutoBattleClose = 3; * @return {boolean} */ proto.SlotInfo.prototype.getIsautobattleclose = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.SlotInfo} returns this */ proto.SlotInfo.prototype.setIsautobattleclose = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SlotInfo} returns this */ proto.SlotInfo.prototype.clearIsautobattleclose = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SlotInfo.prototype.hasIsautobattleclose = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonsterHuntInfo.prototype.toObject = function(opt_includeInstance) { return proto.MonsterHuntInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonsterHuntInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterHuntInfo.toObject = function(includeInstance, msg) { var f, obj = { monsterhuntlistMap: (f = msg.getMonsterhuntlistMap()) ? f.toObject(includeInstance, proto.MonsterHuntTarget.toObject) : [], curlevel: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, curexp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, levelawardflagMap: (f = msg.getLevelawardflagMap()) ? f.toObject(includeInstance, undefined) : [], monsterhuntrefrshtimeMap: (f = msg.getMonsterhuntrefrshtimeMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonsterHuntInfo} */ proto.MonsterHuntInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonsterHuntInfo; return proto.MonsterHuntInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonsterHuntInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonsterHuntInfo} */ proto.MonsterHuntInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getMonsterhuntlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.MonsterHuntTarget.deserializeBinaryFromReader, 0, new proto.MonsterHuntTarget()); }); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCurlevel(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setCurexp(value); break; case 4: var value = msg.getLevelawardflagMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 5: var value = msg.getMonsterhuntrefrshtimeMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonsterHuntInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonsterHuntInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonsterHuntInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterHuntInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMonsterhuntlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.MonsterHuntTarget.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getLevelawardflagMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getMonsterhuntrefrshtimeMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt64); } }; /** * map MonsterHuntList = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MonsterHuntInfo.prototype.getMonsterhuntlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.MonsterHuntTarget)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MonsterHuntInfo} returns this */ proto.MonsterHuntInfo.prototype.clearMonsterhuntlistMap = function() { this.getMonsterhuntlistMap().clear(); return this; }; /** * optional int32 CurLevel = 2; * @return {number} */ proto.MonsterHuntInfo.prototype.getCurlevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.MonsterHuntInfo} returns this */ proto.MonsterHuntInfo.prototype.setCurlevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterHuntInfo} returns this */ proto.MonsterHuntInfo.prototype.clearCurlevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterHuntInfo.prototype.hasCurlevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 CurExp = 3; * @return {number} */ proto.MonsterHuntInfo.prototype.getCurexp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MonsterHuntInfo} returns this */ proto.MonsterHuntInfo.prototype.setCurexp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterHuntInfo} returns this */ proto.MonsterHuntInfo.prototype.clearCurexp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterHuntInfo.prototype.hasCurexp = function() { return jspb.Message.getField(this, 3) != null; }; /** * map LevelAwardFlag = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MonsterHuntInfo.prototype.getLevelawardflagMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MonsterHuntInfo} returns this */ proto.MonsterHuntInfo.prototype.clearLevelawardflagMap = function() { this.getLevelawardflagMap().clear(); return this; }; /** * map MonsterHuntRefrshTime = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MonsterHuntInfo.prototype.getMonsterhuntrefrshtimeMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MonsterHuntInfo} returns this */ proto.MonsterHuntInfo.prototype.clearMonsterhuntrefrshtimeMap = function() { this.getMonsterhuntrefrshtimeMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonsterHuntTarget.prototype.toObject = function(opt_includeInstance) { return proto.MonsterHuntTarget.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonsterHuntTarget} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterHuntTarget.toObject = function(includeInstance, msg) { var f, obj = { monsterid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetinfolistMap: (f = msg.getTargetinfolistMap()) ? f.toObject(includeInstance, proto.MonsterTargetInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonsterHuntTarget} */ proto.MonsterHuntTarget.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonsterHuntTarget; return proto.MonsterHuntTarget.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonsterHuntTarget} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonsterHuntTarget} */ proto.MonsterHuntTarget.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setMonsterid(value); break; case 2: var value = msg.getTargetinfolistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.MonsterTargetInfo.deserializeBinaryFromReader, 0, new proto.MonsterTargetInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonsterHuntTarget.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonsterHuntTarget.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonsterHuntTarget} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterHuntTarget.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getTargetinfolistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.MonsterTargetInfo.serializeBinaryToWriter); } }; /** * optional int32 MonsterId = 1; * @return {number} */ proto.MonsterHuntTarget.prototype.getMonsterid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MonsterHuntTarget} returns this */ proto.MonsterHuntTarget.prototype.setMonsterid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterHuntTarget} returns this */ proto.MonsterHuntTarget.prototype.clearMonsterid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterHuntTarget.prototype.hasMonsterid = function() { return jspb.Message.getField(this, 1) != null; }; /** * map TargetInfoList = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MonsterHuntTarget.prototype.getTargetinfolistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.MonsterTargetInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MonsterHuntTarget} returns this */ proto.MonsterHuntTarget.prototype.clearTargetinfolistMap = function() { this.getTargetinfolistMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonsterTargetInfo.prototype.toObject = function(opt_includeInstance) { return proto.MonsterTargetInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonsterTargetInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterTargetInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, targettype: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, targetnum: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, awardflag: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonsterTargetInfo} */ proto.MonsterTargetInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonsterTargetInfo; return proto.MonsterTargetInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonsterTargetInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonsterTargetInfo} */ proto.MonsterTargetInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetuuid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setTargettype(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetnum(value); break; case 5: var value = /** @type {!proto.MonsterTargetAward} */ (reader.readEnum()); msg.setAwardflag(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonsterTargetInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonsterTargetInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonsterTargetInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterTargetInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {!proto.MonsterTargetAward} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeEnum( 5, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.MonsterTargetInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterTargetInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TargetUuid = 2; * @return {number} */ proto.MonsterTargetInfo.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterTargetInfo.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 TargetType = 3; * @return {number} */ proto.MonsterTargetInfo.prototype.getTargettype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.setTargettype = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.clearTargettype = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterTargetInfo.prototype.hasTargettype = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 TargetNum = 4; * @return {number} */ proto.MonsterTargetInfo.prototype.getTargetnum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.setTargetnum = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.clearTargetnum = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterTargetInfo.prototype.hasTargetnum = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional MonsterTargetAward AwardFlag = 5; * @return {!proto.MonsterTargetAward} */ proto.MonsterTargetInfo.prototype.getAwardflag = function() { return /** @type {!proto.MonsterTargetAward} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {!proto.MonsterTargetAward} value * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.setAwardflag = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterTargetInfo} returns this */ proto.MonsterTargetInfo.prototype.clearAwardflag = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterTargetInfo.prototype.hasAwardflag = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Mod.prototype.toObject = function(opt_includeInstance) { return proto.Mod.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Mod} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Mod.toObject = function(includeInstance, msg) { var f, obj = { modslotsMap: (f = msg.getModslotsMap()) ? f.toObject(includeInstance, undefined) : [], modinfosMap: (f = msg.getModinfosMap()) ? f.toObject(includeInstance, proto.ModInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Mod} */ proto.Mod.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Mod; return proto.Mod.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Mod} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Mod} */ proto.Mod.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getModslotsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; case 2: var value = msg.getModinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.ModInfo.deserializeBinaryFromReader, 0, new proto.ModInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Mod.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Mod.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Mod} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Mod.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getModslotsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt64); } f = message.getModinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.ModInfo.serializeBinaryToWriter); } }; /** * map ModSlots = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Mod.prototype.getModslotsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Mod} returns this */ proto.Mod.prototype.clearModslotsMap = function() { this.getModslotsMap().clear(); return this; }; /** * map ModInfos = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Mod.prototype.getModinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.ModInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Mod} returns this */ proto.Mod.prototype.clearModinfosMap = function() { this.getModinfosMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ModInfo.repeatedFields_ = [1,2,4]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ModInfo.prototype.toObject = function(opt_includeInstance) { return proto.ModInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ModInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModInfo.toObject = function(includeInstance, msg) { var f, obj = { partidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, upgraderecordsList: jspb.Message.toObjectList(msg.getUpgraderecordsList(), proto.ModPartUpgradeRecord.toObject, includeInstance), successrate: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, initlinknumsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ModInfo} */ proto.ModInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ModInfo; return proto.ModInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ModInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ModInfo} */ proto.ModInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addPartids(values[i]); } break; case 2: var value = new proto.ModPartUpgradeRecord; reader.readMessage(value,proto.ModPartUpgradeRecord.deserializeBinaryFromReader); msg.addUpgraderecords(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSuccessrate(value); break; case 4: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addInitlinknums(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ModInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ModInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ModInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ModInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPartidsList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } f = message.getUpgraderecordsList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.ModPartUpgradeRecord.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getInitlinknumsList(); if (f.length > 0) { writer.writePackedInt32( 4, f ); } }; /** * repeated int32 PartIds = 1; * @return {!Array} */ proto.ModInfo.prototype.getPartidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.setPartidsList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.addPartids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.clearPartidsList = function() { return this.setPartidsList([]); }; /** * repeated ModPartUpgradeRecord UpgradeRecords = 2; * @return {!Array} */ proto.ModInfo.prototype.getUpgraderecordsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ModPartUpgradeRecord, 2)); }; /** * @param {!Array} value * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.setUpgraderecordsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.ModPartUpgradeRecord=} opt_value * @param {number=} opt_index * @return {!proto.ModPartUpgradeRecord} */ proto.ModInfo.prototype.addUpgraderecords = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ModPartUpgradeRecord, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.clearUpgraderecordsList = function() { return this.setUpgraderecordsList([]); }; /** * optional int32 SuccessRate = 3; * @return {number} */ proto.ModInfo.prototype.getSuccessrate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.setSuccessrate = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.clearSuccessrate = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ModInfo.prototype.hasSuccessrate = function() { return jspb.Message.getField(this, 3) != null; }; /** * repeated int32 InitLinkNums = 4; * @return {!Array} */ proto.ModInfo.prototype.getInitlinknumsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); }; /** * @param {!Array} value * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.setInitlinknumsList = function(value) { return jspb.Message.setField(this, 4, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.addInitlinknums = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 4, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ModInfo} returns this */ proto.ModInfo.prototype.clearInitlinknumsList = function() { return this.setInitlinknumsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.WorldEventMap.prototype.toObject = function(opt_includeInstance) { return proto.WorldEventMap.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.WorldEventMap} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WorldEventMap.toObject = function(includeInstance, msg) { var f, obj = { eventmapMap: (f = msg.getEventmapMap()) ? f.toObject(includeInstance, proto.worldEventData.toObject) : [], acceptcount: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, lastupdatetime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, refreshtime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.WorldEventMap} */ proto.WorldEventMap.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.WorldEventMap; return proto.WorldEventMap.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.WorldEventMap} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.WorldEventMap} */ proto.WorldEventMap.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getEventmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.worldEventData.deserializeBinaryFromReader, 0, new proto.worldEventData()); }); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setAcceptcount(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setLastupdatetime(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setRefreshtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.WorldEventMap.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.WorldEventMap.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.WorldEventMap} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WorldEventMap.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getEventmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.worldEventData.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } }; /** * map EventMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.WorldEventMap.prototype.getEventmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.worldEventData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.WorldEventMap} returns this */ proto.WorldEventMap.prototype.clearEventmapMap = function() { this.getEventmapMap().clear(); return this; }; /** * optional int32 AcceptCount = 2; * @return {number} */ proto.WorldEventMap.prototype.getAcceptcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.WorldEventMap} returns this */ proto.WorldEventMap.prototype.setAcceptcount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.WorldEventMap} returns this */ proto.WorldEventMap.prototype.clearAcceptcount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WorldEventMap.prototype.hasAcceptcount = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 LastUpdateTime = 3; * @return {number} */ proto.WorldEventMap.prototype.getLastupdatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.WorldEventMap} returns this */ proto.WorldEventMap.prototype.setLastupdatetime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.WorldEventMap} returns this */ proto.WorldEventMap.prototype.clearLastupdatetime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WorldEventMap.prototype.hasLastupdatetime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 RefreshTime = 4; * @return {number} */ proto.WorldEventMap.prototype.getRefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.WorldEventMap} returns this */ proto.WorldEventMap.prototype.setRefreshtime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.WorldEventMap} returns this */ proto.WorldEventMap.prototype.clearRefreshtime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WorldEventMap.prototype.hasRefreshtime = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.worldEventData.prototype.toObject = function(opt_includeInstance) { return proto.worldEventData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.worldEventData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.worldEventData.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetnum: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, award: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.worldEventData} */ proto.worldEventData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.worldEventData; return proto.worldEventData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.worldEventData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.worldEventData} */ proto.worldEventData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetnum(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setAward(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.worldEventData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.worldEventData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.worldEventData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.worldEventData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.worldEventData.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.worldEventData} returns this */ proto.worldEventData.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.worldEventData} returns this */ proto.worldEventData.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.worldEventData.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TargetNum = 2; * @return {number} */ proto.worldEventData.prototype.getTargetnum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.worldEventData} returns this */ proto.worldEventData.prototype.setTargetnum = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.worldEventData} returns this */ proto.worldEventData.prototype.clearTargetnum = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.worldEventData.prototype.hasTargetnum = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Award = 3; * @return {number} */ proto.worldEventData.prototype.getAward = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.worldEventData} returns this */ proto.worldEventData.prototype.setAward = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.worldEventData} returns this */ proto.worldEventData.prototype.clearAward = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.worldEventData.prototype.hasAward = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FishSetting.prototype.toObject = function(opt_includeInstance) { return proto.FishSetting.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FishSetting} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishSetting.toObject = function(includeInstance, msg) { var f, obj = { baitid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, experiences: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, researchfishid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, fishrecordsMap: (f = msg.getFishrecordsMap()) ? f.toObject(includeInstance, proto.FishRecord.toObject) : [], fishroddurabilityMap: (f = msg.getFishroddurabilityMap()) ? f.toObject(includeInstance, undefined) : [], roduuid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, levelrewardMap: (f = msg.getLevelrewardMap()) ? f.toObject(includeInstance, undefined) : [], zerofishtimesMap: (f = msg.getZerofishtimesMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FishSetting} */ proto.FishSetting.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FishSetting; return proto.FishSetting.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FishSetting} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FishSetting} */ proto.FishSetting.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setBaitid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setExperiences(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setResearchfishid(value); break; case 5: var value = msg.getFishrecordsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.FishRecord.deserializeBinaryFromReader, 0, new proto.FishRecord()); }); break; case 6: var value = msg.getFishroddurabilityMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint64, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 7: var value = /** @type {number} */ (reader.readUint64()); msg.setRoduuid(value); break; case 8: var value = msg.getLevelrewardMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 9: var value = msg.getZerofishtimesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FishSetting.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FishSetting.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FishSetting} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishSetting.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = message.getFishrecordsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.FishRecord.serializeBinaryToWriter); } f = message.getFishroddurabilityMap(true); if (f && f.getLength() > 0) { f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeUint64, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeUint64( 7, f ); } f = message.getLevelrewardMap(true); if (f && f.getLength() > 0) { f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getZerofishtimesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt64); } }; /** * optional int32 BaitId = 2; * @return {number} */ proto.FishSetting.prototype.getBaitid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.setBaitid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.clearBaitid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishSetting.prototype.hasBaitid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Experiences = 3; * @return {number} */ proto.FishSetting.prototype.getExperiences = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.setExperiences = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.clearExperiences = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishSetting.prototype.hasExperiences = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 ResearchFishId = 4; * @return {number} */ proto.FishSetting.prototype.getResearchfishid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.setResearchfishid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.clearResearchfishid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishSetting.prototype.hasResearchfishid = function() { return jspb.Message.getField(this, 4) != null; }; /** * map FishRecords = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FishSetting.prototype.getFishrecordsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, proto.FishRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.clearFishrecordsMap = function() { this.getFishrecordsMap().clear(); return this; }; /** * map FishRodDurability = 6; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FishSetting.prototype.getFishroddurabilityMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 6, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.clearFishroddurabilityMap = function() { this.getFishroddurabilityMap().clear(); return this; }; /** * optional uint64 RodUuid = 7; * @return {number} */ proto.FishSetting.prototype.getRoduuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.setRoduuid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.clearRoduuid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishSetting.prototype.hasRoduuid = function() { return jspb.Message.getField(this, 7) != null; }; /** * map LevelReward = 8; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FishSetting.prototype.getLevelrewardMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 8, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.clearLevelrewardMap = function() { this.getLevelrewardMap().clear(); return this; }; /** * map ZeroFishTimes = 9; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FishSetting.prototype.getZerofishtimesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 9, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FishSetting} returns this */ proto.FishSetting.prototype.clearZerofishtimesMap = function() { this.getZerofishtimesMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FishRecord.prototype.toObject = function(opt_includeInstance) { return proto.FishRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FishRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishRecord.toObject = function(includeInstance, msg) { var f, obj = { fishid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, firstflag: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, size: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, millisecond: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, research: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, count: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, minsize: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, minsizemillisecond: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, starcntsMap: (f = msg.getStarcntsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FishRecord} */ proto.FishRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FishRecord; return proto.FishRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FishRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FishRecord} */ proto.FishRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setFishid(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setFirstflag(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSize(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setMillisecond(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setResearch(value); break; case 6: var value = /** @type {number} */ (reader.readUint32()); msg.setCount(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setMinsize(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setMinsizemillisecond(value); break; case 9: var value = msg.getStarcntsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FishRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FishRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FishRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeUint32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } f = message.getStarcntsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt64); } }; /** * optional int32 FishId = 1; * @return {number} */ proto.FishRecord.prototype.getFishid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.setFishid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.clearFishid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishRecord.prototype.hasFishid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool FirstFlag = 2; * @return {boolean} */ proto.FishRecord.prototype.getFirstflag = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.setFirstflag = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.clearFirstflag = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishRecord.prototype.hasFirstflag = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Size = 3; * @return {number} */ proto.FishRecord.prototype.getSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.setSize = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.clearSize = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishRecord.prototype.hasSize = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 Millisecond = 4; * @return {number} */ proto.FishRecord.prototype.getMillisecond = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.setMillisecond = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.clearMillisecond = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishRecord.prototype.hasMillisecond = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 Research = 5; * @return {number} */ proto.FishRecord.prototype.getResearch = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.setResearch = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.clearResearch = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishRecord.prototype.hasResearch = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional uint32 Count = 6; * @return {number} */ proto.FishRecord.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.setCount = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.clearCount = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishRecord.prototype.hasCount = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 MinSize = 7; * @return {number} */ proto.FishRecord.prototype.getMinsize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.setMinsize = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.clearMinsize = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishRecord.prototype.hasMinsize = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int64 MinSizemillisecond = 8; * @return {number} */ proto.FishRecord.prototype.getMinsizemillisecond = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.setMinsizemillisecond = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.clearMinsizemillisecond = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishRecord.prototype.hasMinsizemillisecond = function() { return jspb.Message.getField(this, 8) != null; }; /** * map StarCnts = 9; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FishRecord.prototype.getStarcntsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 9, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FishRecord} returns this */ proto.FishRecord.prototype.clearStarcntsMap = function() { this.getStarcntsMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.FreightData.repeatedFields_ = [5,6,7]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FreightData.prototype.toObject = function(opt_includeInstance) { return proto.FreightData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FreightData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FreightData.toObject = function(includeInstance, msg) { var f, obj = { refreshtime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, goodsvalue: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, setoff: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, canreceive: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, upgoodslistList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, keepgoodslistList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, downgoodslistList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f, canrewardtime: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FreightData} */ proto.FreightData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FreightData; return proto.FreightData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FreightData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FreightData} */ proto.FreightData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setRefreshtime(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setGoodsvalue(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setSetoff(value); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setCanreceive(value); break; case 5: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addUpgoodslist(values[i]); } break; case 6: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addKeepgoodslist(values[i]); } break; case 7: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addDowngoodslist(values[i]); } break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setCanrewardtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FreightData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FreightData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FreightData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FreightData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } f = message.getUpgoodslistList(); if (f.length > 0) { writer.writePackedInt32( 5, f ); } f = message.getKeepgoodslistList(); if (f.length > 0) { writer.writePackedInt32( 6, f ); } f = message.getDowngoodslistList(); if (f.length > 0) { writer.writePackedInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } }; /** * optional int64 RefreshTime = 1; * @return {number} */ proto.FreightData.prototype.getRefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.setRefreshtime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.clearRefreshtime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FreightData.prototype.hasRefreshtime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 GoodsValue = 2; * @return {number} */ proto.FreightData.prototype.getGoodsvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.setGoodsvalue = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.clearGoodsvalue = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FreightData.prototype.hasGoodsvalue = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool SetOff = 3; * @return {boolean} */ proto.FreightData.prototype.getSetoff = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.setSetoff = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.clearSetoff = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FreightData.prototype.hasSetoff = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional bool CanReceive = 4; * @return {boolean} */ proto.FreightData.prototype.getCanreceive = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.setCanreceive = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.clearCanreceive = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FreightData.prototype.hasCanreceive = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated int32 UpGoodsList = 5; * @return {!Array} */ proto.FreightData.prototype.getUpgoodslistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); }; /** * @param {!Array} value * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.setUpgoodslistList = function(value) { return jspb.Message.setField(this, 5, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.addUpgoodslist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 5, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.clearUpgoodslistList = function() { return this.setUpgoodslistList([]); }; /** * repeated int32 KeepGoodsList = 6; * @return {!Array} */ proto.FreightData.prototype.getKeepgoodslistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); }; /** * @param {!Array} value * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.setKeepgoodslistList = function(value) { return jspb.Message.setField(this, 6, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.addKeepgoodslist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 6, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.clearKeepgoodslistList = function() { return this.setKeepgoodslistList([]); }; /** * repeated int32 DownGoodsList = 7; * @return {!Array} */ proto.FreightData.prototype.getDowngoodslistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 7)); }; /** * @param {!Array} value * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.setDowngoodslistList = function(value) { return jspb.Message.setField(this, 7, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.addDowngoodslist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 7, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.clearDowngoodslistList = function() { return this.setDowngoodslistList([]); }; /** * optional int64 CanRewardTime = 8; * @return {number} */ proto.FreightData.prototype.getCanrewardtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.setCanrewardtime = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.FreightData} returns this */ proto.FreightData.prototype.clearCanrewardtime = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FreightData.prototype.hasCanrewardtime = function() { return jspb.Message.getField(this, 8) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ProfessionList.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ProfessionList.prototype.toObject = function(opt_includeInstance) { return proto.ProfessionList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ProfessionList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionList.toObject = function(includeInstance, msg) { var f, obj = { curprofessionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, curassistprofessionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, professionlistMap: (f = msg.getProfessionlistMap()) ? f.toObject(includeInstance, proto.ProfessionInfo.toObject) : [], aoyiskillinfomapMap: (f = msg.getAoyiskillinfomapMap()) ? f.toObject(includeInstance, proto.ProfessionSkillInfo.toObject) : [], totaltalentpoints: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, totaltalentresetcount: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, talentlistMap: (f = msg.getTalentlistMap()) ? f.toObject(includeInstance, proto.ProfessionTalentInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ProfessionList} */ proto.ProfessionList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ProfessionList; return proto.ProfessionList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ProfessionList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ProfessionList} */ proto.ProfessionList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setCurprofessionid(value); break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addCurassistprofessions(values[i]); } break; case 4: var value = msg.getProfessionlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ProfessionInfo.deserializeBinaryFromReader, 0, new proto.ProfessionInfo()); }); break; case 7: var value = msg.getAoyiskillinfomapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ProfessionSkillInfo.deserializeBinaryFromReader, 0, new proto.ProfessionSkillInfo()); }); break; case 8: var value = /** @type {number} */ (reader.readUint32()); msg.setTotaltalentpoints(value); break; case 9: var value = /** @type {number} */ (reader.readUint32()); msg.setTotaltalentresetcount(value); break; case 10: var value = msg.getTalentlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ProfessionTalentInfo.deserializeBinaryFromReader, 0, new proto.ProfessionTalentInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ProfessionList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ProfessionList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ProfessionList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getCurassistprofessionsList(); if (f.length > 0) { writer.writePackedInt32( 3, f ); } f = message.getProfessionlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ProfessionInfo.serializeBinaryToWriter); } f = message.getAoyiskillinfomapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ProfessionSkillInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeUint32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeUint32( 9, f ); } f = message.getTalentlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ProfessionTalentInfo.serializeBinaryToWriter); } }; /** * optional int32 CurProfessionId = 1; * @return {number} */ proto.ProfessionList.prototype.getCurprofessionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.setCurprofessionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.clearCurprofessionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionList.prototype.hasCurprofessionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated int32 CurAssistProfessions = 3; * @return {!Array} */ proto.ProfessionList.prototype.getCurassistprofessionsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.setCurassistprofessionsList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.addCurassistprofessions = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.clearCurassistprofessionsList = function() { return this.setCurassistprofessionsList([]); }; /** * map ProfessionList_ = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ProfessionList.prototype.getProfessionlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.ProfessionInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.clearProfessionlistMap = function() { this.getProfessionlistMap().clear(); return this; }; /** * map AoyiSkillInfoMap = 7; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ProfessionList.prototype.getAoyiskillinfomapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 7, opt_noLazyCreate, proto.ProfessionSkillInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.clearAoyiskillinfomapMap = function() { this.getAoyiskillinfomapMap().clear(); return this; }; /** * optional uint32 TotalTalentPoints = 8; * @return {number} */ proto.ProfessionList.prototype.getTotaltalentpoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.setTotaltalentpoints = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.clearTotaltalentpoints = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionList.prototype.hasTotaltalentpoints = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional uint32 TotalTalentResetCount = 9; * @return {number} */ proto.ProfessionList.prototype.getTotaltalentresetcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.setTotaltalentresetcount = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.clearTotaltalentresetcount = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionList.prototype.hasTotaltalentresetcount = function() { return jspb.Message.getField(this, 9) != null; }; /** * map TalentList = 10; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ProfessionList.prototype.getTalentlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 10, opt_noLazyCreate, proto.ProfessionTalentInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ProfessionList} returns this */ proto.ProfessionList.prototype.clearTalentlistMap = function() { this.getTalentlistMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ProfessionInfo.repeatedFields_ = [6]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ProfessionInfo.prototype.toObject = function(opt_includeInstance) { return proto.ProfessionInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ProfessionInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionInfo.toObject = function(includeInstance, msg) { var f, obj = { professionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, experience: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, skillinfomapMap: (f = msg.getSkillinfomapMap()) ? f.toObject(includeInstance, proto.ProfessionSkillInfo.toObject) : [], activeskillidsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f, slotskillinfomapMap: (f = msg.getSlotskillinfomapMap()) ? f.toObject(includeInstance, undefined) : [], useskinid: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ProfessionInfo} */ proto.ProfessionInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ProfessionInfo; return proto.ProfessionInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ProfessionInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ProfessionInfo} */ proto.ProfessionInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setProfessionid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setExperience(value); break; case 4: var value = msg.getSkillinfomapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ProfessionSkillInfo.deserializeBinaryFromReader, 0, new proto.ProfessionSkillInfo()); }); break; case 6: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addActiveskillids(values[i]); } break; case 7: var value = msg.getSlotskillinfomapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setUseskinid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ProfessionInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ProfessionInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ProfessionInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = message.getSkillinfomapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ProfessionSkillInfo.serializeBinaryToWriter); } f = message.getActiveskillidsList(); if (f.length > 0) { writer.writePackedInt32( 6, f ); } f = message.getSlotskillinfomapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } }; /** * optional int32 ProfessionId = 1; * @return {number} */ proto.ProfessionInfo.prototype.getProfessionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.setProfessionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.clearProfessionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionInfo.prototype.hasProfessionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Level = 2; * @return {number} */ proto.ProfessionInfo.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.setLevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.clearLevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionInfo.prototype.hasLevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 Experience = 3; * @return {number} */ proto.ProfessionInfo.prototype.getExperience = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.setExperience = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.clearExperience = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionInfo.prototype.hasExperience = function() { return jspb.Message.getField(this, 3) != null; }; /** * map SkillInfoMap = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ProfessionInfo.prototype.getSkillinfomapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.ProfessionSkillInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.clearSkillinfomapMap = function() { this.getSkillinfomapMap().clear(); return this; }; /** * repeated int32 ActiveSkillIds = 6; * @return {!Array} */ proto.ProfessionInfo.prototype.getActiveskillidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 6)); }; /** * @param {!Array} value * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.setActiveskillidsList = function(value) { return jspb.Message.setField(this, 6, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.addActiveskillids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 6, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.clearActiveskillidsList = function() { return this.setActiveskillidsList([]); }; /** * map SlotSkillInfoMap = 7; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ProfessionInfo.prototype.getSlotskillinfomapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 7, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.clearSlotskillinfomapMap = function() { this.getSlotskillinfomapMap().clear(); return this; }; /** * optional int32 UseSkinId = 8; * @return {number} */ proto.ProfessionInfo.prototype.getUseskinid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.setUseskinid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionInfo} returns this */ proto.ProfessionInfo.prototype.clearUseskinid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionInfo.prototype.hasUseskinid = function() { return jspb.Message.getField(this, 8) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ProfessionSkillInfo.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ProfessionSkillInfo.prototype.toObject = function(opt_includeInstance) { return proto.ProfessionSkillInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ProfessionSkillInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionSkillInfo.toObject = function(includeInstance, msg) { var f, obj = { skillid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, replaceskillidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, remodellevel: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, curskillskin: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, activeskillskinsMap: (f = msg.getActiveskillskinsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ProfessionSkillInfo} */ proto.ProfessionSkillInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ProfessionSkillInfo; return proto.ProfessionSkillInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ProfessionSkillInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ProfessionSkillInfo} */ proto.ProfessionSkillInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addReplaceskillids(values[i]); } break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setRemodellevel(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setCurskillskin(value); break; case 6: var value = msg.getActiveskillskinsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ProfessionSkillInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ProfessionSkillInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ProfessionSkillInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionSkillInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getReplaceskillidsList(); if (f.length > 0) { writer.writePackedInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = message.getActiveskillskinsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * optional int32 SkillId = 1; * @return {number} */ proto.ProfessionSkillInfo.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.clearSkillid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionSkillInfo.prototype.hasSkillid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Level = 2; * @return {number} */ proto.ProfessionSkillInfo.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.setLevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.clearLevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionSkillInfo.prototype.hasLevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * repeated int32 ReplaceSkillIds = 3; * @return {!Array} */ proto.ProfessionSkillInfo.prototype.getReplaceskillidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.setReplaceskillidsList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.addReplaceskillids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.clearReplaceskillidsList = function() { return this.setReplaceskillidsList([]); }; /** * optional int32 RemodelLevel = 4; * @return {number} */ proto.ProfessionSkillInfo.prototype.getRemodellevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.setRemodellevel = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.clearRemodellevel = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionSkillInfo.prototype.hasRemodellevel = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 CurSkillSkin = 5; * @return {number} */ proto.ProfessionSkillInfo.prototype.getCurskillskin = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.setCurskillskin = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.clearCurskillskin = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionSkillInfo.prototype.hasCurskillskin = function() { return jspb.Message.getField(this, 5) != null; }; /** * map ActiveSkillSkins = 6; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ProfessionSkillInfo.prototype.getActiveskillskinsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 6, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ProfessionSkillInfo} returns this */ proto.ProfessionSkillInfo.prototype.clearActiveskillskinsMap = function() { this.getActiveskillskinsMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ProfessionTalentInfo.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ProfessionTalentInfo.prototype.toObject = function(opt_includeInstance) { return proto.ProfessionTalentInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ProfessionTalentInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionTalentInfo.toObject = function(includeInstance, msg) { var f, obj = { usedtalentpoints: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, talentnodeidsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, talentstagecfgid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ProfessionTalentInfo} */ proto.ProfessionTalentInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ProfessionTalentInfo; return proto.ProfessionTalentInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ProfessionTalentInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ProfessionTalentInfo} */ proto.ProfessionTalentInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setUsedtalentpoints(value); break; case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addTalentnodeids(values[i]); } break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setTalentstagecfgid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ProfessionTalentInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ProfessionTalentInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ProfessionTalentInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ProfessionTalentInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getTalentnodeidsList(); if (f.length > 0) { writer.writePackedUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional uint32 UsedTalentPoints = 1; * @return {number} */ proto.ProfessionTalentInfo.prototype.getUsedtalentpoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ProfessionTalentInfo} returns this */ proto.ProfessionTalentInfo.prototype.setUsedtalentpoints = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionTalentInfo} returns this */ proto.ProfessionTalentInfo.prototype.clearUsedtalentpoints = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionTalentInfo.prototype.hasUsedtalentpoints = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated uint32 TalentNodeIds = 2; * @return {!Array} */ proto.ProfessionTalentInfo.prototype.getTalentnodeidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.ProfessionTalentInfo} returns this */ proto.ProfessionTalentInfo.prototype.setTalentnodeidsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.ProfessionTalentInfo} returns this */ proto.ProfessionTalentInfo.prototype.addTalentnodeids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ProfessionTalentInfo} returns this */ proto.ProfessionTalentInfo.prototype.clearTalentnodeidsList = function() { return this.setTalentnodeidsList([]); }; /** * optional int32 TalentStageCfgId = 3; * @return {number} */ proto.ProfessionTalentInfo.prototype.getTalentstagecfgid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ProfessionTalentInfo} returns this */ proto.ProfessionTalentInfo.prototype.setTalentstagecfgid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ProfessionTalentInfo} returns this */ proto.ProfessionTalentInfo.prototype.clearTalentstagecfgid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ProfessionTalentInfo.prototype.hasTalentstagecfgid = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.TrialRoad.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TrialRoad.prototype.toObject = function(opt_includeInstance) { return proto.TrialRoad.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TrialRoad} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TrialRoad.toObject = function(includeInstance, msg) { var f, obj = { passroomList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, roomtargetawardMap: (f = msg.getRoomtargetawardMap()) ? f.toObject(includeInstance, proto.TrialRoadRoomTargetAward.toObject) : [], targetaward: (f = msg.getTargetaward()) && proto.TrialRoadTargetAward.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TrialRoad} */ proto.TrialRoad.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TrialRoad; return proto.TrialRoad.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TrialRoad} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TrialRoad} */ proto.TrialRoad.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addPassroom(values[i]); } break; case 2: var value = msg.getRoomtargetawardMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.TrialRoadRoomTargetAward.deserializeBinaryFromReader, 0, new proto.TrialRoadRoomTargetAward()); }); break; case 3: var value = new proto.TrialRoadTargetAward; reader.readMessage(value,proto.TrialRoadTargetAward.deserializeBinaryFromReader); msg.setTargetaward(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TrialRoad.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TrialRoad.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TrialRoad} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TrialRoad.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPassroomList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } f = message.getRoomtargetawardMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.TrialRoadRoomTargetAward.serializeBinaryToWriter); } f = message.getTargetaward(); if (f != null) { writer.writeMessage( 3, f, proto.TrialRoadTargetAward.serializeBinaryToWriter ); } }; /** * repeated int32 PassRoom = 1; * @return {!Array} */ proto.TrialRoad.prototype.getPassroomList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.TrialRoad} returns this */ proto.TrialRoad.prototype.setPassroomList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.TrialRoad} returns this */ proto.TrialRoad.prototype.addPassroom = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.TrialRoad} returns this */ proto.TrialRoad.prototype.clearPassroomList = function() { return this.setPassroomList([]); }; /** * map RoomTargetAward = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.TrialRoad.prototype.getRoomtargetawardMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.TrialRoadRoomTargetAward)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.TrialRoad} returns this */ proto.TrialRoad.prototype.clearRoomtargetawardMap = function() { this.getRoomtargetawardMap().clear(); return this; }; /** * optional TrialRoadTargetAward TargetAward = 3; * @return {?proto.TrialRoadTargetAward} */ proto.TrialRoad.prototype.getTargetaward = function() { return /** @type{?proto.TrialRoadTargetAward} */ ( jspb.Message.getWrapperField(this, proto.TrialRoadTargetAward, 3)); }; /** * @param {?proto.TrialRoadTargetAward|undefined} value * @return {!proto.TrialRoad} returns this */ proto.TrialRoad.prototype.setTargetaward = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.TrialRoad} returns this */ proto.TrialRoad.prototype.clearTargetaward = function() { return this.setTargetaward(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TrialRoad.prototype.hasTargetaward = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TrialRoadRoomTargetAward.prototype.toObject = function(opt_includeInstance) { return proto.TrialRoadRoomTargetAward.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TrialRoadRoomTargetAward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TrialRoadRoomTargetAward.toObject = function(includeInstance, msg) { var f, obj = { targetprogressMap: (f = msg.getTargetprogressMap()) ? f.toObject(includeInstance, proto.TrialRoadTargetProgress.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TrialRoadRoomTargetAward} */ proto.TrialRoadRoomTargetAward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TrialRoadRoomTargetAward; return proto.TrialRoadRoomTargetAward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TrialRoadRoomTargetAward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TrialRoadRoomTargetAward} */ proto.TrialRoadRoomTargetAward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getTargetprogressMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.TrialRoadTargetProgress.deserializeBinaryFromReader, 0, new proto.TrialRoadTargetProgress()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TrialRoadRoomTargetAward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TrialRoadRoomTargetAward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TrialRoadRoomTargetAward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TrialRoadRoomTargetAward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTargetprogressMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.TrialRoadTargetProgress.serializeBinaryToWriter); } }; /** * map TargetProgress = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.TrialRoadRoomTargetAward.prototype.getTargetprogressMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.TrialRoadTargetProgress)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.TrialRoadRoomTargetAward} returns this */ proto.TrialRoadRoomTargetAward.prototype.clearTargetprogressMap = function() { this.getTargetprogressMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TrialRoadTargetProgress.prototype.toObject = function(opt_includeInstance) { return proto.TrialRoadTargetProgress.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TrialRoadTargetProgress} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TrialRoadTargetProgress.toObject = function(includeInstance, msg) { var f, obj = { targetid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetprogress: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, awardstate: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TrialRoadTargetProgress} */ proto.TrialRoadTargetProgress.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TrialRoadTargetProgress; return proto.TrialRoadTargetProgress.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TrialRoadTargetProgress} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TrialRoadTargetProgress} */ proto.TrialRoadTargetProgress.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetprogress(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setAwardstate(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TrialRoadTargetProgress.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TrialRoadTargetProgress.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TrialRoadTargetProgress} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TrialRoadTargetProgress.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 TargetId = 1; * @return {number} */ proto.TrialRoadTargetProgress.prototype.getTargetid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TrialRoadTargetProgress} returns this */ proto.TrialRoadTargetProgress.prototype.setTargetid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TrialRoadTargetProgress} returns this */ proto.TrialRoadTargetProgress.prototype.clearTargetid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TrialRoadTargetProgress.prototype.hasTargetid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TargetProgress = 2; * @return {number} */ proto.TrialRoadTargetProgress.prototype.getTargetprogress = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.TrialRoadTargetProgress} returns this */ proto.TrialRoadTargetProgress.prototype.setTargetprogress = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TrialRoadTargetProgress} returns this */ proto.TrialRoadTargetProgress.prototype.clearTargetprogress = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TrialRoadTargetProgress.prototype.hasTargetprogress = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 AwardState = 3; * @return {number} */ proto.TrialRoadTargetProgress.prototype.getAwardstate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.TrialRoadTargetProgress} returns this */ proto.TrialRoadTargetProgress.prototype.setAwardstate = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.TrialRoadTargetProgress} returns this */ proto.TrialRoadTargetProgress.prototype.clearAwardstate = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TrialRoadTargetProgress.prototype.hasAwardstate = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TrialRoadTargetAward.prototype.toObject = function(opt_includeInstance) { return proto.TrialRoadTargetAward.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TrialRoadTargetAward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TrialRoadTargetAward.toObject = function(includeInstance, msg) { var f, obj = { targetprogressMap: (f = msg.getTargetprogressMap()) ? f.toObject(includeInstance, proto.TrialRoadTargetProgress.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TrialRoadTargetAward} */ proto.TrialRoadTargetAward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TrialRoadTargetAward; return proto.TrialRoadTargetAward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TrialRoadTargetAward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TrialRoadTargetAward} */ proto.TrialRoadTargetAward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getTargetprogressMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.TrialRoadTargetProgress.deserializeBinaryFromReader, 0, new proto.TrialRoadTargetProgress()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TrialRoadTargetAward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TrialRoadTargetAward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TrialRoadTargetAward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TrialRoadTargetAward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTargetprogressMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.TrialRoadTargetProgress.serializeBinaryToWriter); } }; /** * map TargetProgress = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.TrialRoadTargetAward.prototype.getTargetprogressMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.TrialRoadTargetProgress)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.TrialRoadTargetAward} returns this */ proto.TrialRoadTargetAward.prototype.clearTargetprogressMap = function() { this.getTargetprogressMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GashaData.prototype.toObject = function(opt_includeInstance) { return proto.GashaData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GashaData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GashaData.toObject = function(includeInstance, msg) { var f, obj = { gashainfosMap: (f = msg.getGashainfosMap()) ? f.toObject(includeInstance, proto.GashaInfo.toObject) : [], gashaguaranteeinfosMap: (f = msg.getGashaguaranteeinfosMap()) ? f.toObject(includeInstance, proto.GashaGuaranteeInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GashaData} */ proto.GashaData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GashaData; return proto.GashaData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GashaData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GashaData} */ proto.GashaData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getGashainfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.GashaInfo.deserializeBinaryFromReader, 0, new proto.GashaInfo()); }); break; case 2: var value = msg.getGashaguaranteeinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.GashaGuaranteeInfo.deserializeBinaryFromReader, 0, new proto.GashaGuaranteeInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GashaData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GashaData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GashaData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GashaData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getGashainfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.GashaInfo.serializeBinaryToWriter); } f = message.getGashaguaranteeinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.GashaGuaranteeInfo.serializeBinaryToWriter); } }; /** * map GashaInfos = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.GashaData.prototype.getGashainfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.GashaInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.GashaData} returns this */ proto.GashaData.prototype.clearGashainfosMap = function() { this.getGashainfosMap().clear(); return this; }; /** * map GashaGuaranteeInfos = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.GashaData.prototype.getGashaguaranteeinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.GashaGuaranteeInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.GashaData} returns this */ proto.GashaData.prototype.clearGashaguaranteeinfosMap = function() { this.getGashaguaranteeinfosMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GashaInfo.prototype.toObject = function(opt_includeInstance) { return proto.GashaInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GashaInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GashaInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, drawcount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, refreshtime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, wishid: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, wishvalue: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, wishfinishcount: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, wishresettime: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, wishlimit: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GashaInfo} */ proto.GashaInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GashaInfo; return proto.GashaInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GashaInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GashaInfo} */ proto.GashaInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setDrawcount(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setRefreshtime(value); break; case 8: var value = /** @type {number} */ (reader.readUint32()); msg.setWishid(value); break; case 9: var value = /** @type {number} */ (reader.readUint32()); msg.setWishvalue(value); break; case 10: var value = /** @type {number} */ (reader.readUint32()); msg.setWishfinishcount(value); break; case 11: var value = /** @type {number} */ (reader.readInt64()); msg.setWishresettime(value); break; case 12: var value = /** @type {number} */ (reader.readUint32()); msg.setWishlimit(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GashaInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GashaInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GashaInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GashaInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeUint32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeUint32( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeUint32( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt64( 11, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 12)); if (f != null) { writer.writeUint32( 12, f ); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.GashaInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 DrawCount = 4; * @return {number} */ proto.GashaInfo.prototype.getDrawcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.setDrawcount = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.clearDrawcount = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaInfo.prototype.hasDrawcount = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 RefreshTime = 5; * @return {number} */ proto.GashaInfo.prototype.getRefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.setRefreshtime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.clearRefreshtime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaInfo.prototype.hasRefreshtime = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional uint32 WishId = 8; * @return {number} */ proto.GashaInfo.prototype.getWishid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.setWishid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.clearWishid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaInfo.prototype.hasWishid = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional uint32 WishValue = 9; * @return {number} */ proto.GashaInfo.prototype.getWishvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.setWishvalue = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.clearWishvalue = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaInfo.prototype.hasWishvalue = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional uint32 WishFinishCount = 10; * @return {number} */ proto.GashaInfo.prototype.getWishfinishcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.setWishfinishcount = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.clearWishfinishcount = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaInfo.prototype.hasWishfinishcount = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional int64 WishResetTime = 11; * @return {number} */ proto.GashaInfo.prototype.getWishresettime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.setWishresettime = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.clearWishresettime = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaInfo.prototype.hasWishresettime = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional uint32 WishLimit = 12; * @return {number} */ proto.GashaInfo.prototype.getWishlimit = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); }; /** * @param {number} value * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.setWishlimit = function(value) { return jspb.Message.setField(this, 12, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaInfo} returns this */ proto.GashaInfo.prototype.clearWishlimit = function() { return jspb.Message.setField(this, 12, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaInfo.prototype.hasWishlimit = function() { return jspb.Message.getField(this, 12) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GashaGuaranteeInfo.prototype.toObject = function(opt_includeInstance) { return proto.GashaGuaranteeInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GashaGuaranteeInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GashaGuaranteeInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, guaranteex: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, guaranteey: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, residueguaranteetimex: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, residueguaranteetimey: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, residueguaranteetimez: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, guaranteez: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GashaGuaranteeInfo} */ proto.GashaGuaranteeInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GashaGuaranteeInfo; return proto.GashaGuaranteeInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GashaGuaranteeInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GashaGuaranteeInfo} */ proto.GashaGuaranteeInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setGuaranteex(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setGuaranteey(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setResidueguaranteetimex(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setResidueguaranteetimey(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setResidueguaranteetimez(value); break; case 7: var value = /** @type {number} */ (reader.readUint32()); msg.setGuaranteez(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GashaGuaranteeInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GashaGuaranteeInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GashaGuaranteeInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GashaGuaranteeInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeUint32( 7, f ); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.GashaGuaranteeInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaGuaranteeInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 GuaranteeX = 2; * @return {number} */ proto.GashaGuaranteeInfo.prototype.getGuaranteex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.setGuaranteex = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.clearGuaranteex = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaGuaranteeInfo.prototype.hasGuaranteex = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 GuaranteeY = 3; * @return {number} */ proto.GashaGuaranteeInfo.prototype.getGuaranteey = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.setGuaranteey = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.clearGuaranteey = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaGuaranteeInfo.prototype.hasGuaranteey = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 ResidueGuaranteeTimeX = 4; * @return {number} */ proto.GashaGuaranteeInfo.prototype.getResidueguaranteetimex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.setResidueguaranteetimex = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.clearResidueguaranteetimex = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaGuaranteeInfo.prototype.hasResidueguaranteetimex = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 ResidueGuaranteeTimeY = 5; * @return {number} */ proto.GashaGuaranteeInfo.prototype.getResidueguaranteetimey = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.setResidueguaranteetimey = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.clearResidueguaranteetimey = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaGuaranteeInfo.prototype.hasResidueguaranteetimey = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 ResidueGuaranteeTimeZ = 6; * @return {number} */ proto.GashaGuaranteeInfo.prototype.getResidueguaranteetimez = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.setResidueguaranteetimez = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.clearResidueguaranteetimez = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaGuaranteeInfo.prototype.hasResidueguaranteetimez = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional uint32 GuaranteeZ = 7; * @return {number} */ proto.GashaGuaranteeInfo.prototype.getGuaranteez = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.setGuaranteez = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.GashaGuaranteeInfo} returns this */ proto.GashaGuaranteeInfo.prototype.clearGuaranteez = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GashaGuaranteeInfo.prototype.hasGuaranteez = function() { return jspb.Message.getField(this, 7) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ShopData.prototype.toObject = function(opt_includeInstance) { return proto.ShopData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ShopData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShopData.toObject = function(includeInstance, msg) { var f, obj = { refreshlistMap: (f = msg.getRefreshlistMap()) ? f.toObject(includeInstance, proto.ShopRefreshRecord.toObject) : [], normalshoprecordsMap: (f = msg.getNormalshoprecordsMap()) ? f.toObject(includeInstance, proto.PlayerBuyRecord.toObject) : [], seasonshoprecordsMap: (f = msg.getSeasonshoprecordsMap()) ? f.toObject(includeInstance, proto.PlayerBuyRecord.toObject) : [], compensationitemdata: (f = msg.getCompensationitemdata()) && proto.ShopCompensationData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ShopData} */ proto.ShopData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ShopData; return proto.ShopData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ShopData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ShopData} */ proto.ShopData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getRefreshlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ShopRefreshRecord.deserializeBinaryFromReader, 0, new proto.ShopRefreshRecord()); }); break; case 2: var value = msg.getNormalshoprecordsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.PlayerBuyRecord.deserializeBinaryFromReader, 0, new proto.PlayerBuyRecord()); }); break; case 3: var value = msg.getSeasonshoprecordsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.PlayerBuyRecord.deserializeBinaryFromReader, 0, new proto.PlayerBuyRecord()); }); break; case 4: var value = new proto.ShopCompensationData; reader.readMessage(value,proto.ShopCompensationData.deserializeBinaryFromReader); msg.setCompensationitemdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ShopData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ShopData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ShopData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShopData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRefreshlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ShopRefreshRecord.serializeBinaryToWriter); } f = message.getNormalshoprecordsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.PlayerBuyRecord.serializeBinaryToWriter); } f = message.getSeasonshoprecordsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.PlayerBuyRecord.serializeBinaryToWriter); } f = message.getCompensationitemdata(); if (f != null) { writer.writeMessage( 4, f, proto.ShopCompensationData.serializeBinaryToWriter ); } }; /** * map RefreshList = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ShopData.prototype.getRefreshlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.ShopRefreshRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ShopData} returns this */ proto.ShopData.prototype.clearRefreshlistMap = function() { this.getRefreshlistMap().clear(); return this; }; /** * map NormalShopRecords = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ShopData.prototype.getNormalshoprecordsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.PlayerBuyRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ShopData} returns this */ proto.ShopData.prototype.clearNormalshoprecordsMap = function() { this.getNormalshoprecordsMap().clear(); return this; }; /** * map SeasonShopRecords = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ShopData.prototype.getSeasonshoprecordsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.PlayerBuyRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ShopData} returns this */ proto.ShopData.prototype.clearSeasonshoprecordsMap = function() { this.getSeasonshoprecordsMap().clear(); return this; }; /** * optional ShopCompensationData CompensationItemData = 4; * @return {?proto.ShopCompensationData} */ proto.ShopData.prototype.getCompensationitemdata = function() { return /** @type{?proto.ShopCompensationData} */ ( jspb.Message.getWrapperField(this, proto.ShopCompensationData, 4)); }; /** * @param {?proto.ShopCompensationData|undefined} value * @return {!proto.ShopData} returns this */ proto.ShopData.prototype.setCompensationitemdata = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.ShopData} returns this */ proto.ShopData.prototype.clearCompensationitemdata = function() { return this.setCompensationitemdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShopData.prototype.hasCompensationitemdata = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ShopRefreshRecord.prototype.toObject = function(opt_includeInstance) { return proto.ShopRefreshRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ShopRefreshRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShopRefreshRecord.toObject = function(includeInstance, msg) { var f, obj = { refreshtimestamp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, refreshcount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, shoprefreshrecordsMap: (f = msg.getShoprefreshrecordsMap()) ? f.toObject(includeInstance, proto.PlayerRefreshShopRecord.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ShopRefreshRecord} */ proto.ShopRefreshRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ShopRefreshRecord; return proto.ShopRefreshRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ShopRefreshRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ShopRefreshRecord} */ proto.ShopRefreshRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setRefreshtimestamp(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setRefreshcount(value); break; case 5: var value = msg.getShoprefreshrecordsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.PlayerRefreshShopRecord.deserializeBinaryFromReader, 0, new proto.PlayerRefreshShopRecord()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ShopRefreshRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ShopRefreshRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ShopRefreshRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShopRefreshRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = message.getShoprefreshrecordsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.PlayerRefreshShopRecord.serializeBinaryToWriter); } }; /** * optional int64 RefreshTimestamp = 3; * @return {number} */ proto.ShopRefreshRecord.prototype.getRefreshtimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ShopRefreshRecord} returns this */ proto.ShopRefreshRecord.prototype.setRefreshtimestamp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ShopRefreshRecord} returns this */ proto.ShopRefreshRecord.prototype.clearRefreshtimestamp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShopRefreshRecord.prototype.hasRefreshtimestamp = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 RefreshCount = 4; * @return {number} */ proto.ShopRefreshRecord.prototype.getRefreshcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.ShopRefreshRecord} returns this */ proto.ShopRefreshRecord.prototype.setRefreshcount = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ShopRefreshRecord} returns this */ proto.ShopRefreshRecord.prototype.clearRefreshcount = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShopRefreshRecord.prototype.hasRefreshcount = function() { return jspb.Message.getField(this, 4) != null; }; /** * map ShopRefreshRecords = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ShopRefreshRecord.prototype.getShoprefreshrecordsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, proto.PlayerRefreshShopRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ShopRefreshRecord} returns this */ proto.ShopRefreshRecord.prototype.clearShoprefreshrecordsMap = function() { this.getShoprefreshrecordsMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.PlayerRefreshShopRecord.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayerRefreshShopRecord.prototype.toObject = function(opt_includeInstance) { return proto.PlayerRefreshShopRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayerRefreshShopRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerRefreshShopRecord.toObject = function(includeInstance, msg) { var f, obj = { itemsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayerRefreshShopRecord} */ proto.PlayerRefreshShopRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayerRefreshShopRecord; return proto.PlayerRefreshShopRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayerRefreshShopRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayerRefreshShopRecord} */ proto.PlayerRefreshShopRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 2: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addItems(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayerRefreshShopRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayerRefreshShopRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayerRefreshShopRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerRefreshShopRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getItemsList(); if (f.length > 0) { writer.writePackedInt32( 2, f ); } }; /** * repeated int32 Items = 2; * @return {!Array} */ proto.PlayerRefreshShopRecord.prototype.getItemsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.PlayerRefreshShopRecord} returns this */ proto.PlayerRefreshShopRecord.prototype.setItemsList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.PlayerRefreshShopRecord} returns this */ proto.PlayerRefreshShopRecord.prototype.addItems = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PlayerRefreshShopRecord} returns this */ proto.PlayerRefreshShopRecord.prototype.clearItemsList = function() { return this.setItemsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayerBuyRecord.prototype.toObject = function(opt_includeInstance) { return proto.PlayerBuyRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayerBuyRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerBuyRecord.toObject = function(includeInstance, msg) { var f, obj = { count: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, buytimestamp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayerBuyRecord} */ proto.PlayerBuyRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayerBuyRecord; return proto.PlayerBuyRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayerBuyRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayerBuyRecord} */ proto.PlayerBuyRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCount(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setBuytimestamp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayerBuyRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayerBuyRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayerBuyRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerBuyRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional int32 Count = 2; * @return {number} */ proto.PlayerBuyRecord.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PlayerBuyRecord} returns this */ proto.PlayerBuyRecord.prototype.setCount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayerBuyRecord} returns this */ proto.PlayerBuyRecord.prototype.clearCount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayerBuyRecord.prototype.hasCount = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 BuyTimestamp = 3; * @return {number} */ proto.PlayerBuyRecord.prototype.getBuytimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PlayerBuyRecord} returns this */ proto.PlayerBuyRecord.prototype.setBuytimestamp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayerBuyRecord} returns this */ proto.PlayerBuyRecord.prototype.clearBuytimestamp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayerBuyRecord.prototype.hasBuytimestamp = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ShopCompensationData.prototype.toObject = function(opt_includeInstance) { return proto.ShopCompensationData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ShopCompensationData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShopCompensationData.toObject = function(includeInstance, msg) { var f, obj = { itemsMap: (f = msg.getItemsMap()) ? f.toObject(includeInstance, proto.ShopCompensationInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ShopCompensationData} */ proto.ShopCompensationData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ShopCompensationData; return proto.ShopCompensationData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ShopCompensationData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ShopCompensationData} */ proto.ShopCompensationData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getItemsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.ShopCompensationInfo.deserializeBinaryFromReader, 0, new proto.ShopCompensationInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ShopCompensationData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ShopCompensationData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ShopCompensationData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShopCompensationData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getItemsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.ShopCompensationInfo.serializeBinaryToWriter); } }; /** * map Items = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ShopCompensationData.prototype.getItemsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.ShopCompensationInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ShopCompensationData} returns this */ proto.ShopCompensationData.prototype.clearItemsMap = function() { this.getItemsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ShopCompensationInfo.prototype.toObject = function(opt_includeInstance) { return proto.ShopCompensationInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ShopCompensationInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShopCompensationInfo.toObject = function(includeInstance, msg) { var f, obj = { entorstorenum: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, buynum: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ShopCompensationInfo} */ proto.ShopCompensationInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ShopCompensationInfo; return proto.ShopCompensationInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ShopCompensationInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ShopCompensationInfo} */ proto.ShopCompensationInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setEntorstorenum(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setBuynum(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ShopCompensationInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ShopCompensationInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ShopCompensationInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShopCompensationInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int64 EntorStoreNum = 1; * @return {number} */ proto.ShopCompensationInfo.prototype.getEntorstorenum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ShopCompensationInfo} returns this */ proto.ShopCompensationInfo.prototype.setEntorstorenum = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ShopCompensationInfo} returns this */ proto.ShopCompensationInfo.prototype.clearEntorstorenum = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShopCompensationInfo.prototype.hasEntorstorenum = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 BuyNum = 2; * @return {number} */ proto.ShopCompensationInfo.prototype.getBuynum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ShopCompensationInfo} returns this */ proto.ShopCompensationInfo.prototype.setBuynum = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ShopCompensationInfo} returns this */ proto.ShopCompensationInfo.prototype.clearBuynum = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShopCompensationInfo.prototype.hasBuynum = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PersonalWorldBossInfo.prototype.toObject = function(opt_includeInstance) { return proto.PersonalWorldBossInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PersonalWorldBossInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalWorldBossInfo.toObject = function(includeInstance, msg) { var f, obj = { score: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, scoreawardinfoMap: (f = msg.getScoreawardinfoMap()) ? f.toObject(includeInstance, proto.CommonAwardInfo.toObject) : [], bossawardinfoMap: (f = msg.getBossawardinfoMap()) ? f.toObject(includeInstance, proto.CommonAwardInfo.toObject) : [], uuid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PersonalWorldBossInfo} */ proto.PersonalWorldBossInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PersonalWorldBossInfo; return proto.PersonalWorldBossInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PersonalWorldBossInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PersonalWorldBossInfo} */ proto.PersonalWorldBossInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setScore(value); break; case 2: var value = msg.getScoreawardinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.CommonAwardInfo.deserializeBinaryFromReader, 0, new proto.CommonAwardInfo()); }); break; case 3: var value = msg.getBossawardinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.CommonAwardInfo.deserializeBinaryFromReader, 0, new proto.CommonAwardInfo()); }); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setUuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PersonalWorldBossInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PersonalWorldBossInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PersonalWorldBossInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalWorldBossInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getScoreawardinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.CommonAwardInfo.serializeBinaryToWriter); } f = message.getBossawardinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.CommonAwardInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int32 Score = 1; * @return {number} */ proto.PersonalWorldBossInfo.prototype.getScore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PersonalWorldBossInfo} returns this */ proto.PersonalWorldBossInfo.prototype.setScore = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalWorldBossInfo} returns this */ proto.PersonalWorldBossInfo.prototype.clearScore = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalWorldBossInfo.prototype.hasScore = function() { return jspb.Message.getField(this, 1) != null; }; /** * map ScoreAwardInfo = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalWorldBossInfo.prototype.getScoreawardinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.CommonAwardInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalWorldBossInfo} returns this */ proto.PersonalWorldBossInfo.prototype.clearScoreawardinfoMap = function() { this.getScoreawardinfoMap().clear(); return this; }; /** * map BossAwardInfo = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PersonalWorldBossInfo.prototype.getBossawardinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.CommonAwardInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PersonalWorldBossInfo} returns this */ proto.PersonalWorldBossInfo.prototype.clearBossawardinfoMap = function() { this.getBossawardinfoMap().clear(); return this; }; /** * optional int32 Uuid = 4; * @return {number} */ proto.PersonalWorldBossInfo.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.PersonalWorldBossInfo} returns this */ proto.PersonalWorldBossInfo.prototype.setUuid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalWorldBossInfo} returns this */ proto.PersonalWorldBossInfo.prototype.clearUuid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalWorldBossInfo.prototype.hasUuid = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommonAwardInfo.prototype.toObject = function(opt_includeInstance) { return proto.CommonAwardInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommonAwardInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommonAwardInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, awardstatus: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommonAwardInfo} */ proto.CommonAwardInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommonAwardInfo; return proto.CommonAwardInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommonAwardInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommonAwardInfo} */ proto.CommonAwardInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {!proto.EReceiveRewardStatus} */ (reader.readEnum()); msg.setAwardstatus(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommonAwardInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommonAwardInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommonAwardInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommonAwardInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {!proto.EReceiveRewardStatus} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.CommonAwardInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CommonAwardInfo} returns this */ proto.CommonAwardInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommonAwardInfo} returns this */ proto.CommonAwardInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommonAwardInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EReceiveRewardStatus AwardStatus = 2; * @return {!proto.EReceiveRewardStatus} */ proto.CommonAwardInfo.prototype.getAwardstatus = function() { return /** @type {!proto.EReceiveRewardStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EReceiveRewardStatus} value * @return {!proto.CommonAwardInfo} returns this */ proto.CommonAwardInfo.prototype.setAwardstatus = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CommonAwardInfo} returns this */ proto.CommonAwardInfo.prototype.clearAwardstatus = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommonAwardInfo.prototype.hasAwardstatus = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CraftEnergyRecord.prototype.toObject = function(opt_includeInstance) { return proto.CraftEnergyRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CraftEnergyRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CraftEnergyRecord.toObject = function(includeInstance, msg) { var f, obj = { recordsMap: (f = msg.getRecordsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CraftEnergyRecord} */ proto.CraftEnergyRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CraftEnergyRecord; return proto.CraftEnergyRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CraftEnergyRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CraftEnergyRecord} */ proto.CraftEnergyRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getRecordsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CraftEnergyRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CraftEnergyRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CraftEnergyRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CraftEnergyRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRecordsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map Records = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CraftEnergyRecord.prototype.getRecordsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CraftEnergyRecord} returns this */ proto.CraftEnergyRecord.prototype.clearRecordsMap = function() { this.getRecordsMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.WeeklyTowerRecord.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.WeeklyTowerRecord.prototype.toObject = function(opt_includeInstance) { return proto.WeeklyTowerRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.WeeklyTowerRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WeeklyTowerRecord.toObject = function(includeInstance, msg) { var f, obj = { begintime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, maxclimbupid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, awardclimbupidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, ruleid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.WeeklyTowerRecord} */ proto.WeeklyTowerRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.WeeklyTowerRecord; return proto.WeeklyTowerRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.WeeklyTowerRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.WeeklyTowerRecord} */ proto.WeeklyTowerRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setMaxclimbupid(value); break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addAwardclimbupids(values[i]); } break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setRuleid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.WeeklyTowerRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.WeeklyTowerRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.WeeklyTowerRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WeeklyTowerRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getAwardclimbupidsList(); if (f.length > 0) { writer.writePackedInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int64 BeginTime = 1; * @return {number} */ proto.WeeklyTowerRecord.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.WeeklyTowerRecord} returns this */ proto.WeeklyTowerRecord.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.WeeklyTowerRecord} returns this */ proto.WeeklyTowerRecord.prototype.clearBegintime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WeeklyTowerRecord.prototype.hasBegintime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 MaxClimbUpId = 2; * @return {number} */ proto.WeeklyTowerRecord.prototype.getMaxclimbupid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.WeeklyTowerRecord} returns this */ proto.WeeklyTowerRecord.prototype.setMaxclimbupid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.WeeklyTowerRecord} returns this */ proto.WeeklyTowerRecord.prototype.clearMaxclimbupid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WeeklyTowerRecord.prototype.hasMaxclimbupid = function() { return jspb.Message.getField(this, 2) != null; }; /** * repeated int32 AwardClimbUpIds = 3; * @return {!Array} */ proto.WeeklyTowerRecord.prototype.getAwardclimbupidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.WeeklyTowerRecord} returns this */ proto.WeeklyTowerRecord.prototype.setAwardclimbupidsList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.WeeklyTowerRecord} returns this */ proto.WeeklyTowerRecord.prototype.addAwardclimbupids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.WeeklyTowerRecord} returns this */ proto.WeeklyTowerRecord.prototype.clearAwardclimbupidsList = function() { return this.setAwardclimbupidsList([]); }; /** * optional int32 RuleId = 4; * @return {number} */ proto.WeeklyTowerRecord.prototype.getRuleid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.WeeklyTowerRecord} returns this */ proto.WeeklyTowerRecord.prototype.setRuleid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.WeeklyTowerRecord} returns this */ proto.WeeklyTowerRecord.prototype.clearRuleid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WeeklyTowerRecord.prototype.hasRuleid = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CutSceneInfos.prototype.toObject = function(opt_includeInstance) { return proto.CutSceneInfos.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CutSceneInfos} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutSceneInfos.toObject = function(includeInstance, msg) { var f, obj = { cutsceneinfosMap: (f = msg.getCutsceneinfosMap()) ? f.toObject(includeInstance, proto.CutSceneInfo.toObject) : [], finishedcutscenesMap: (f = msg.getFinishedcutscenesMap()) ? f.toObject(includeInstance, undefined) : [], finishedinfosMap: (f = msg.getFinishedinfosMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CutSceneInfos} */ proto.CutSceneInfos.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CutSceneInfos; return proto.CutSceneInfos.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CutSceneInfos} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CutSceneInfos} */ proto.CutSceneInfos.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getCutsceneinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.CutSceneInfo.deserializeBinaryFromReader, 0, new proto.CutSceneInfo()); }); break; case 2: var value = msg.getFinishedcutscenesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 3: var value = msg.getFinishedinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CutSceneInfos.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CutSceneInfos.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CutSceneInfos} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutSceneInfos.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCutsceneinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.CutSceneInfo.serializeBinaryToWriter); } f = message.getFinishedcutscenesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getFinishedinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeBool); } }; /** * map CutSceneInfos_ = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CutSceneInfos.prototype.getCutsceneinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.CutSceneInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CutSceneInfos} returns this */ proto.CutSceneInfos.prototype.clearCutsceneinfosMap = function() { this.getCutsceneinfosMap().clear(); return this; }; /** * map FinishedCutScenes = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CutSceneInfos.prototype.getFinishedcutscenesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CutSceneInfos} returns this */ proto.CutSceneInfos.prototype.clearFinishedcutscenesMap = function() { this.getFinishedcutscenesMap().clear(); return this; }; /** * map FinishedInfos = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CutSceneInfos.prototype.getFinishedinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CutSceneInfos} returns this */ proto.CutSceneInfos.prototype.clearFinishedinfosMap = function() { this.getFinishedinfosMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CutSceneInfo.prototype.toObject = function(opt_includeInstance) { return proto.CutSceneInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CutSceneInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutSceneInfo.toObject = function(includeInstance, msg) { var f, obj = { cutsceneid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, flag: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, sceneid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, eventdata: (f = msg.getEventdata()) && proto.EventData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CutSceneInfo} */ proto.CutSceneInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CutSceneInfo; return proto.CutSceneInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CutSceneInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CutSceneInfo} */ proto.CutSceneInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setCutsceneid(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setFlag(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setSceneid(value); break; case 4: var value = new proto.EventData; reader.readMessage(value,proto.EventData.deserializeBinaryFromReader); msg.setEventdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CutSceneInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CutSceneInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CutSceneInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutSceneInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = message.getEventdata(); if (f != null) { writer.writeMessage( 4, f, proto.EventData.serializeBinaryToWriter ); } }; /** * optional int32 CutSceneId = 1; * @return {number} */ proto.CutSceneInfo.prototype.getCutsceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CutSceneInfo} returns this */ proto.CutSceneInfo.prototype.setCutsceneid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CutSceneInfo} returns this */ proto.CutSceneInfo.prototype.clearCutsceneid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CutSceneInfo.prototype.hasCutsceneid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 Flag = 2; * @return {number} */ proto.CutSceneInfo.prototype.getFlag = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CutSceneInfo} returns this */ proto.CutSceneInfo.prototype.setFlag = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CutSceneInfo} returns this */ proto.CutSceneInfo.prototype.clearFlag = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CutSceneInfo.prototype.hasFlag = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 SceneId = 3; * @return {number} */ proto.CutSceneInfo.prototype.getSceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.CutSceneInfo} returns this */ proto.CutSceneInfo.prototype.setSceneid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.CutSceneInfo} returns this */ proto.CutSceneInfo.prototype.clearSceneid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CutSceneInfo.prototype.hasSceneid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional EventData EventData = 4; * @return {?proto.EventData} */ proto.CutSceneInfo.prototype.getEventdata = function() { return /** @type{?proto.EventData} */ ( jspb.Message.getWrapperField(this, proto.EventData, 4)); }; /** * @param {?proto.EventData|undefined} value * @return {!proto.CutSceneInfo} returns this */ proto.CutSceneInfo.prototype.setEventdata = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.CutSceneInfo} returns this */ proto.CutSceneInfo.prototype.clearEventdata = function() { return this.setEventdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CutSceneInfo.prototype.hasEventdata = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserRecommendPlayData.prototype.toObject = function(opt_includeInstance) { return proto.UserRecommendPlayData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserRecommendPlayData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserRecommendPlayData.toObject = function(includeInstance, msg) { var f, obj = { playmailMap: (f = msg.getPlaymailMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserRecommendPlayData} */ proto.UserRecommendPlayData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserRecommendPlayData; return proto.UserRecommendPlayData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserRecommendPlayData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserRecommendPlayData} */ proto.UserRecommendPlayData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPlaymailMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserRecommendPlayData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserRecommendPlayData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserRecommendPlayData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserRecommendPlayData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPlaymailMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt64); } }; /** * map PlayMail = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.UserRecommendPlayData.prototype.getPlaymailMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.UserRecommendPlayData} returns this */ proto.UserRecommendPlayData.prototype.clearPlaymailMap = function() { this.getPlaymailMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RideList.prototype.toObject = function(opt_includeInstance) { return proto.RideList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RideList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideList.toObject = function(includeInstance, msg) { var f, obj = { ridesMap: (f = msg.getRidesMap()) ? f.toObject(includeInstance, proto.RideData.toObject) : [], type: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, skindataMap: (f = msg.getSkindataMap()) ? f.toObject(includeInstance, proto.RideSkinContainer.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RideList} */ proto.RideList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RideList; return proto.RideList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RideList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RideList} */ proto.RideList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getRidesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.RideData.deserializeBinaryFromReader, 0, new proto.RideData()); }); break; case 2: var value = /** @type {!proto.ERidePropertyType} */ (reader.readEnum()); msg.setType(value); break; case 3: var value = msg.getSkindataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.RideSkinContainer.deserializeBinaryFromReader, 0, new proto.RideSkinContainer()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RideList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RideList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RideList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRidesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.RideData.serializeBinaryToWriter); } f = /** @type {!proto.ERidePropertyType} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = message.getSkindataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.RideSkinContainer.serializeBinaryToWriter); } }; /** * map Rides = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RideList.prototype.getRidesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.RideData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RideList} returns this */ proto.RideList.prototype.clearRidesMap = function() { this.getRidesMap().clear(); return this; }; /** * optional ERidePropertyType Type = 2; * @return {!proto.ERidePropertyType} */ proto.RideList.prototype.getType = function() { return /** @type {!proto.ERidePropertyType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.ERidePropertyType} value * @return {!proto.RideList} returns this */ proto.RideList.prototype.setType = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.RideList} returns this */ proto.RideList.prototype.clearType = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RideList.prototype.hasType = function() { return jspb.Message.getField(this, 2) != null; }; /** * map SkinData = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RideList.prototype.getSkindataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.RideSkinContainer)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RideList} returns this */ proto.RideList.prototype.clearSkindataMap = function() { this.getSkindataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RideData.prototype.toObject = function(opt_includeInstance) { return proto.RideData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RideData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideData.toObject = function(includeInstance, msg) { var f, obj = { rideid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RideData} */ proto.RideData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RideData; return proto.RideData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RideData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RideData} */ proto.RideData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setRideid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RideData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RideData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RideData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 RideId = 1; * @return {number} */ proto.RideData.prototype.getRideid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.RideData} returns this */ proto.RideData.prototype.setRideid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.RideData} returns this */ proto.RideData.prototype.clearRideid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RideData.prototype.hasRideid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RideSkinContainer.prototype.toObject = function(opt_includeInstance) { return proto.RideSkinContainer.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RideSkinContainer} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideSkinContainer.toObject = function(includeInstance, msg) { var f, obj = { rideskinid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, sinksMap: (f = msg.getSinksMap()) ? f.toObject(includeInstance, proto.RideSkinData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RideSkinContainer} */ proto.RideSkinContainer.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RideSkinContainer; return proto.RideSkinContainer.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RideSkinContainer} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RideSkinContainer} */ proto.RideSkinContainer.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setRideskinid(value); break; case 2: var value = msg.getSinksMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.RideSkinData.deserializeBinaryFromReader, 0, new proto.RideSkinData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RideSkinContainer.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RideSkinContainer.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RideSkinContainer} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideSkinContainer.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getSinksMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.RideSkinData.serializeBinaryToWriter); } }; /** * optional int32 RideSkinId = 1; * @return {number} */ proto.RideSkinContainer.prototype.getRideskinid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.RideSkinContainer} returns this */ proto.RideSkinContainer.prototype.setRideskinid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.RideSkinContainer} returns this */ proto.RideSkinContainer.prototype.clearRideskinid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RideSkinContainer.prototype.hasRideskinid = function() { return jspb.Message.getField(this, 1) != null; }; /** * map Sinks = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.RideSkinContainer.prototype.getSinksMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.RideSkinData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.RideSkinContainer} returns this */ proto.RideSkinContainer.prototype.clearSinksMap = function() { this.getSinksMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RideSkinData.prototype.toObject = function(opt_includeInstance) { return proto.RideSkinData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RideSkinData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideSkinData.toObject = function(includeInstance, msg) { var f, obj = { activatetime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RideSkinData} */ proto.RideSkinData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RideSkinData; return proto.RideSkinData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RideSkinData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RideSkinData} */ proto.RideSkinData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setActivatetime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RideSkinData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RideSkinData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RideSkinData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideSkinData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 ActivateTime = 1; * @return {number} */ proto.RideSkinData.prototype.getActivatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.RideSkinData} returns this */ proto.RideSkinData.prototype.setActivatetime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.RideSkinData} returns this */ proto.RideSkinData.prototype.clearActivatetime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RideSkinData.prototype.hasActivatetime = function() { return jspb.Message.getField(this, 1) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.PayOrderList.repeatedFields_ = [1,2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PayOrderList.prototype.toObject = function(opt_includeInstance) { return proto.PayOrderList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PayOrderList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PayOrderList.toObject = function(includeInstance, msg) { var f, obj = { payorderlistList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, payrefundlistList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, firstpay: (f = msg.getFirstpay()) && proto.PayData.toObject(includeInstance, f), orderlistMap: (f = msg.getOrderlistMap()) ? f.toObject(includeInstance, undefined) : [], orderindexlistMap: (f = msg.getOrderindexlistMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PayOrderList} */ proto.PayOrderList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PayOrderList; return proto.PayOrderList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PayOrderList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PayOrderList} */ proto.PayOrderList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.addPayorderlist(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.addPayrefundlist(value); break; case 3: var value = new proto.PayData; reader.readMessage(value,proto.PayData.deserializeBinaryFromReader); msg.setFirstpay(value); break; case 4: var value = msg.getOrderlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readInt32, null, "", 0); }); break; case 5: var value = msg.getOrderindexlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PayOrderList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PayOrderList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PayOrderList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PayOrderList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPayorderlistList(); if (f.length > 0) { writer.writeRepeatedString( 1, f ); } f = message.getPayrefundlistList(); if (f.length > 0) { writer.writeRepeatedString( 2, f ); } f = message.getFirstpay(); if (f != null) { writer.writeMessage( 3, f, proto.PayData.serializeBinaryToWriter ); } f = message.getOrderlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeInt32); } f = message.getOrderindexlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeInt32); } }; /** * repeated string PayOrderList_ = 1; * @return {!Array} */ proto.PayOrderList.prototype.getPayorderlistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.setPayorderlistList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.addPayorderlist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.clearPayorderlistList = function() { return this.setPayorderlistList([]); }; /** * repeated string PayRefundList = 2; * @return {!Array} */ proto.PayOrderList.prototype.getPayrefundlistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); }; /** * @param {!Array} value * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.setPayrefundlistList = function(value) { return jspb.Message.setField(this, 2, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.addPayrefundlist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 2, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.clearPayrefundlistList = function() { return this.setPayrefundlistList([]); }; /** * optional PayData FirstPay = 3; * @return {?proto.PayData} */ proto.PayOrderList.prototype.getFirstpay = function() { return /** @type{?proto.PayData} */ ( jspb.Message.getWrapperField(this, proto.PayData, 3)); }; /** * @param {?proto.PayData|undefined} value * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.setFirstpay = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.clearFirstpay = function() { return this.setFirstpay(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PayOrderList.prototype.hasFirstpay = function() { return jspb.Message.getField(this, 3) != null; }; /** * map OrderList = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PayOrderList.prototype.getOrderlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.clearOrderlistMap = function() { this.getOrderlistMap().clear(); return this; }; /** * map OrderIndexList = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PayOrderList.prototype.getOrderindexlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PayOrderList} returns this */ proto.PayOrderList.prototype.clearOrderindexlistMap = function() { this.getOrderindexlistMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PayData.prototype.toObject = function(opt_includeInstance) { return proto.PayData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PayData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PayData.toObject = function(includeInstance, msg) { var f, obj = { paydataMap: (f = msg.getPaydataMap()) ? f.toObject(includeInstance, proto.FirstPayInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PayData} */ proto.PayData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PayData; return proto.PayData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PayData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PayData} */ proto.PayData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPaydataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.FirstPayInfo.deserializeBinaryFromReader, 0, new proto.FirstPayInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PayData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PayData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PayData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PayData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPaydataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.FirstPayInfo.serializeBinaryToWriter); } }; /** * map PayData_ = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PayData.prototype.getPaydataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.FirstPayInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PayData} returns this */ proto.PayData.prototype.clearPaydataMap = function() { this.getPaydataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FirstPayInfo.prototype.toObject = function(opt_includeInstance) { return proto.FirstPayInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FirstPayInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FirstPayInfo.toObject = function(includeInstance, msg) { var f, obj = { firstpaytype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, timestamp: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FirstPayInfo} */ proto.FirstPayInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FirstPayInfo; return proto.FirstPayInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FirstPayInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FirstPayInfo} */ proto.FirstPayInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setFirstpaytype(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setTimestamp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FirstPayInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FirstPayInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FirstPayInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FirstPayInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 FirstPayType = 1; * @return {number} */ proto.FirstPayInfo.prototype.getFirstpaytype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FirstPayInfo} returns this */ proto.FirstPayInfo.prototype.setFirstpaytype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FirstPayInfo} returns this */ proto.FirstPayInfo.prototype.clearFirstpaytype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FirstPayInfo.prototype.hasFirstpaytype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Timestamp = 2; * @return {number} */ proto.FirstPayInfo.prototype.getTimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FirstPayInfo} returns this */ proto.FirstPayInfo.prototype.setTimestamp = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FirstPayInfo} returns this */ proto.FirstPayInfo.prototype.clearTimestamp = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FirstPayInfo.prototype.hasTimestamp = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LifeProfession.prototype.toObject = function(opt_includeInstance) { return proto.LifeProfession.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LifeProfession} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfession.toObject = function(includeInstance, msg) { var f, obj = { professioninfoMap: (f = msg.getProfessioninfoMap()) ? f.toObject(includeInstance, proto.LifeProfessionBasic.toObject) : [], lifetargetinfoMap: (f = msg.getLifetargetinfoMap()) ? f.toObject(includeInstance, proto.LifeProfessionTargetInfo.toObject) : [], lifeprofessionrecipeMap: (f = msg.getLifeprofessionrecipeMap()) ? f.toObject(includeInstance, proto.LifeProfessionRecipe.toObject) : [], lifeprofessionalchemyinfo: (f = msg.getLifeprofessionalchemyinfo()) && proto.LifeProfessionAlchemyInfo.toObject(includeInstance, f), spareenergyMap: (f = msg.getSpareenergyMap()) ? f.toObject(includeInstance, undefined) : [], point: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LifeProfession} */ proto.LifeProfession.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LifeProfession; return proto.LifeProfession.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LifeProfession} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LifeProfession} */ proto.LifeProfession.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getProfessioninfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.LifeProfessionBasic.deserializeBinaryFromReader, 0, new proto.LifeProfessionBasic()); }); break; case 2: var value = msg.getLifetargetinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.LifeProfessionTargetInfo.deserializeBinaryFromReader, 0, new proto.LifeProfessionTargetInfo()); }); break; case 3: var value = msg.getLifeprofessionrecipeMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.LifeProfessionRecipe.deserializeBinaryFromReader, 0, new proto.LifeProfessionRecipe()); }); break; case 4: var value = new proto.LifeProfessionAlchemyInfo; reader.readMessage(value,proto.LifeProfessionAlchemyInfo.deserializeBinaryFromReader); msg.setLifeprofessionalchemyinfo(value); break; case 5: var value = msg.getSpareenergyMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setPoint(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LifeProfession.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LifeProfession.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LifeProfession} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfession.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getProfessioninfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.LifeProfessionBasic.serializeBinaryToWriter); } f = message.getLifetargetinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.LifeProfessionTargetInfo.serializeBinaryToWriter); } f = message.getLifeprofessionrecipeMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.LifeProfessionRecipe.serializeBinaryToWriter); } f = message.getLifeprofessionalchemyinfo(); if (f != null) { writer.writeMessage( 4, f, proto.LifeProfessionAlchemyInfo.serializeBinaryToWriter ); } f = message.getSpareenergyMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } }; /** * map ProfessionInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.LifeProfession.prototype.getProfessioninfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.LifeProfessionBasic)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.LifeProfession} returns this */ proto.LifeProfession.prototype.clearProfessioninfoMap = function() { this.getProfessioninfoMap().clear(); return this; }; /** * map LifeTargetInfo = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.LifeProfession.prototype.getLifetargetinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.LifeProfessionTargetInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.LifeProfession} returns this */ proto.LifeProfession.prototype.clearLifetargetinfoMap = function() { this.getLifetargetinfoMap().clear(); return this; }; /** * map LifeProfessionRecipe = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.LifeProfession.prototype.getLifeprofessionrecipeMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.LifeProfessionRecipe)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.LifeProfession} returns this */ proto.LifeProfession.prototype.clearLifeprofessionrecipeMap = function() { this.getLifeprofessionrecipeMap().clear(); return this; }; /** * optional LifeProfessionAlchemyInfo LifeProfessionAlchemyInfo = 4; * @return {?proto.LifeProfessionAlchemyInfo} */ proto.LifeProfession.prototype.getLifeprofessionalchemyinfo = function() { return /** @type{?proto.LifeProfessionAlchemyInfo} */ ( jspb.Message.getWrapperField(this, proto.LifeProfessionAlchemyInfo, 4)); }; /** * @param {?proto.LifeProfessionAlchemyInfo|undefined} value * @return {!proto.LifeProfession} returns this */ proto.LifeProfession.prototype.setLifeprofessionalchemyinfo = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.LifeProfession} returns this */ proto.LifeProfession.prototype.clearLifeprofessionalchemyinfo = function() { return this.setLifeprofessionalchemyinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfession.prototype.hasLifeprofessionalchemyinfo = function() { return jspb.Message.getField(this, 4) != null; }; /** * map SpareEnergy = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.LifeProfession.prototype.getSpareenergyMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.LifeProfession} returns this */ proto.LifeProfession.prototype.clearSpareenergyMap = function() { this.getSpareenergyMap().clear(); return this; }; /** * optional int32 Point = 6; * @return {number} */ proto.LifeProfession.prototype.getPoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.LifeProfession} returns this */ proto.LifeProfession.prototype.setPoint = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfession} returns this */ proto.LifeProfession.prototype.clearPoint = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfession.prototype.hasPoint = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LifeProfessionBasic.prototype.toObject = function(opt_includeInstance) { return proto.LifeProfessionBasic.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LifeProfessionBasic} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionBasic.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, exp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, specializationMap: (f = msg.getSpecializationMap()) ? f.toObject(includeInstance, proto.LiftProfessionSpecialization.toObject) : [], currentspecializationpoint: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LifeProfessionBasic} */ proto.LifeProfessionBasic.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LifeProfessionBasic; return proto.LifeProfessionBasic.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LifeProfessionBasic} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LifeProfessionBasic} */ proto.LifeProfessionBasic.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setExp(value); break; case 5: var value = msg.getSpecializationMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.LiftProfessionSpecialization.deserializeBinaryFromReader, 0, new proto.LiftProfessionSpecialization()); }); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setCurrentspecializationpoint(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LifeProfessionBasic.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LifeProfessionBasic.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LifeProfessionBasic} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionBasic.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getSpecializationMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.LiftProfessionSpecialization.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.LifeProfessionBasic.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionBasic} returns this */ proto.LifeProfessionBasic.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionBasic} returns this */ proto.LifeProfessionBasic.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionBasic.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Level = 2; * @return {number} */ proto.LifeProfessionBasic.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionBasic} returns this */ proto.LifeProfessionBasic.prototype.setLevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionBasic} returns this */ proto.LifeProfessionBasic.prototype.clearLevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionBasic.prototype.hasLevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Exp = 3; * @return {number} */ proto.LifeProfessionBasic.prototype.getExp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionBasic} returns this */ proto.LifeProfessionBasic.prototype.setExp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionBasic} returns this */ proto.LifeProfessionBasic.prototype.clearExp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionBasic.prototype.hasExp = function() { return jspb.Message.getField(this, 3) != null; }; /** * map Specialization = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.LifeProfessionBasic.prototype.getSpecializationMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.LiftProfessionSpecialization)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.LifeProfessionBasic} returns this */ proto.LifeProfessionBasic.prototype.clearSpecializationMap = function() { this.getSpecializationMap().clear(); return this; }; /** * optional int32 CurrentSpecializationPoint = 5; * @return {number} */ proto.LifeProfessionBasic.prototype.getCurrentspecializationpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionBasic} returns this */ proto.LifeProfessionBasic.prototype.setCurrentspecializationpoint = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionBasic} returns this */ proto.LifeProfessionBasic.prototype.clearCurrentspecializationpoint = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionBasic.prototype.hasCurrentspecializationpoint = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LiftProfessionSpecialization.prototype.toObject = function(opt_includeInstance) { return proto.LiftProfessionSpecialization.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LiftProfessionSpecialization} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LiftProfessionSpecialization.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LiftProfessionSpecialization} */ proto.LiftProfessionSpecialization.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LiftProfessionSpecialization; return proto.LiftProfessionSpecialization.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LiftProfessionSpecialization} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LiftProfessionSpecialization} */ proto.LiftProfessionSpecialization.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LiftProfessionSpecialization.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LiftProfessionSpecialization.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LiftProfessionSpecialization} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LiftProfessionSpecialization.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.LiftProfessionSpecialization.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LiftProfessionSpecialization} returns this */ proto.LiftProfessionSpecialization.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LiftProfessionSpecialization} returns this */ proto.LiftProfessionSpecialization.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LiftProfessionSpecialization.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Level = 2; * @return {number} */ proto.LiftProfessionSpecialization.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LiftProfessionSpecialization} returns this */ proto.LiftProfessionSpecialization.prototype.setLevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LiftProfessionSpecialization} returns this */ proto.LiftProfessionSpecialization.prototype.clearLevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LiftProfessionSpecialization.prototype.hasLevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.LifeProfessionTargetInfo.repeatedFields_ = [4]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LifeProfessionTargetInfo.prototype.toObject = function(opt_includeInstance) { return proto.LifeProfessionTargetInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LifeProfessionTargetInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionTargetInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, value: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, lifetargetrewardstatesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LifeProfessionTargetInfo} */ proto.LifeProfessionTargetInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LifeProfessionTargetInfo; return proto.LifeProfessionTargetInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LifeProfessionTargetInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LifeProfessionTargetInfo} */ proto.LifeProfessionTargetInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setValue(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 4: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addLifetargetrewardstates(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LifeProfessionTargetInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LifeProfessionTargetInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LifeProfessionTargetInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionTargetInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getLifetargetrewardstatesList(); if (f.length > 0) { writer.writePackedUint32( 4, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.LifeProfessionTargetInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionTargetInfo} returns this */ proto.LifeProfessionTargetInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionTargetInfo} returns this */ proto.LifeProfessionTargetInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionTargetInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Value = 2; * @return {number} */ proto.LifeProfessionTargetInfo.prototype.getValue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionTargetInfo} returns this */ proto.LifeProfessionTargetInfo.prototype.setValue = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionTargetInfo} returns this */ proto.LifeProfessionTargetInfo.prototype.clearValue = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionTargetInfo.prototype.hasValue = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Level = 3; * @return {number} */ proto.LifeProfessionTargetInfo.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionTargetInfo} returns this */ proto.LifeProfessionTargetInfo.prototype.setLevel = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionTargetInfo} returns this */ proto.LifeProfessionTargetInfo.prototype.clearLevel = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionTargetInfo.prototype.hasLevel = function() { return jspb.Message.getField(this, 3) != null; }; /** * repeated uint32 LifeTargetRewardStates = 4; * @return {!Array} */ proto.LifeProfessionTargetInfo.prototype.getLifetargetrewardstatesList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); }; /** * @param {!Array} value * @return {!proto.LifeProfessionTargetInfo} returns this */ proto.LifeProfessionTargetInfo.prototype.setLifetargetrewardstatesList = function(value) { return jspb.Message.setField(this, 4, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.LifeProfessionTargetInfo} returns this */ proto.LifeProfessionTargetInfo.prototype.addLifetargetrewardstates = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 4, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.LifeProfessionTargetInfo} returns this */ proto.LifeProfessionTargetInfo.prototype.clearLifetargetrewardstatesList = function() { return this.setLifetargetrewardstatesList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LifeProfessionRecipe.prototype.toObject = function(opt_includeInstance) { return proto.LifeProfessionRecipe.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LifeProfessionRecipe} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionRecipe.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, unlocktime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LifeProfessionRecipe} */ proto.LifeProfessionRecipe.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LifeProfessionRecipe; return proto.LifeProfessionRecipe.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LifeProfessionRecipe} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LifeProfessionRecipe} */ proto.LifeProfessionRecipe.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setUnlocktime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LifeProfessionRecipe.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LifeProfessionRecipe.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LifeProfessionRecipe} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionRecipe.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.LifeProfessionRecipe.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionRecipe} returns this */ proto.LifeProfessionRecipe.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionRecipe} returns this */ proto.LifeProfessionRecipe.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionRecipe.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 UnlockTime = 2; * @return {number} */ proto.LifeProfessionRecipe.prototype.getUnlocktime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionRecipe} returns this */ proto.LifeProfessionRecipe.prototype.setUnlocktime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionRecipe} returns this */ proto.LifeProfessionRecipe.prototype.clearUnlocktime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionRecipe.prototype.hasUnlocktime = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LifeProfessionAlchemyInfo.prototype.toObject = function(opt_includeInstance) { return proto.LifeProfessionAlchemyInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LifeProfessionAlchemyInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionAlchemyInfo.toObject = function(includeInstance, msg) { var f, obj = { failurecount: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, rdcount: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, lastresettime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LifeProfessionAlchemyInfo} */ proto.LifeProfessionAlchemyInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LifeProfessionAlchemyInfo; return proto.LifeProfessionAlchemyInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LifeProfessionAlchemyInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LifeProfessionAlchemyInfo} */ proto.LifeProfessionAlchemyInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setFailurecount(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setRdcount(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setLastresettime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LifeProfessionAlchemyInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LifeProfessionAlchemyInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LifeProfessionAlchemyInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionAlchemyInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional uint32 FailureCount = 1; * @return {number} */ proto.LifeProfessionAlchemyInfo.prototype.getFailurecount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionAlchemyInfo} returns this */ proto.LifeProfessionAlchemyInfo.prototype.setFailurecount = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionAlchemyInfo} returns this */ proto.LifeProfessionAlchemyInfo.prototype.clearFailurecount = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionAlchemyInfo.prototype.hasFailurecount = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 RdCount = 2; * @return {number} */ proto.LifeProfessionAlchemyInfo.prototype.getRdcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionAlchemyInfo} returns this */ proto.LifeProfessionAlchemyInfo.prototype.setRdcount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionAlchemyInfo} returns this */ proto.LifeProfessionAlchemyInfo.prototype.clearRdcount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionAlchemyInfo.prototype.hasRdcount = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 LastResetTime = 3; * @return {number} */ proto.LifeProfessionAlchemyInfo.prototype.getLastresettime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionAlchemyInfo} returns this */ proto.LifeProfessionAlchemyInfo.prototype.setLastresettime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionAlchemyInfo} returns this */ proto.LifeProfessionAlchemyInfo.prototype.clearLastresettime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionAlchemyInfo.prototype.hasLastresettime = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.LifeProfessionWork.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LifeProfessionWork.prototype.toObject = function(opt_includeInstance) { return proto.LifeProfessionWork.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LifeProfessionWork} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionWork.toObject = function(includeInstance, msg) { var f, obj = { lifeprofessionworkinfo: (f = msg.getLifeprofessionworkinfo()) && proto.LifeProfessionWorkInfo.toObject(includeInstance, f), lifeprofessionworkhistoryinfoList: jspb.Message.toObjectList(msg.getLifeprofessionworkhistoryinfoList(), proto.LifeProfessionWorkInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LifeProfessionWork} */ proto.LifeProfessionWork.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LifeProfessionWork; return proto.LifeProfessionWork.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LifeProfessionWork} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LifeProfessionWork} */ proto.LifeProfessionWork.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.LifeProfessionWorkInfo; reader.readMessage(value,proto.LifeProfessionWorkInfo.deserializeBinaryFromReader); msg.setLifeprofessionworkinfo(value); break; case 2: var value = new proto.LifeProfessionWorkInfo; reader.readMessage(value,proto.LifeProfessionWorkInfo.deserializeBinaryFromReader); msg.addLifeprofessionworkhistoryinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LifeProfessionWork.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LifeProfessionWork.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LifeProfessionWork} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionWork.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getLifeprofessionworkinfo(); if (f != null) { writer.writeMessage( 1, f, proto.LifeProfessionWorkInfo.serializeBinaryToWriter ); } f = message.getLifeprofessionworkhistoryinfoList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.LifeProfessionWorkInfo.serializeBinaryToWriter ); } }; /** * optional LifeProfessionWorkInfo LifeProfessionWorkInfo = 1; * @return {?proto.LifeProfessionWorkInfo} */ proto.LifeProfessionWork.prototype.getLifeprofessionworkinfo = function() { return /** @type{?proto.LifeProfessionWorkInfo} */ ( jspb.Message.getWrapperField(this, proto.LifeProfessionWorkInfo, 1)); }; /** * @param {?proto.LifeProfessionWorkInfo|undefined} value * @return {!proto.LifeProfessionWork} returns this */ proto.LifeProfessionWork.prototype.setLifeprofessionworkinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.LifeProfessionWork} returns this */ proto.LifeProfessionWork.prototype.clearLifeprofessionworkinfo = function() { return this.setLifeprofessionworkinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionWork.prototype.hasLifeprofessionworkinfo = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated LifeProfessionWorkInfo LifeProfessionWorkHistoryInfo = 2; * @return {!Array} */ proto.LifeProfessionWork.prototype.getLifeprofessionworkhistoryinfoList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.LifeProfessionWorkInfo, 2)); }; /** * @param {!Array} value * @return {!proto.LifeProfessionWork} returns this */ proto.LifeProfessionWork.prototype.setLifeprofessionworkhistoryinfoList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.LifeProfessionWorkInfo=} opt_value * @param {number=} opt_index * @return {!proto.LifeProfessionWorkInfo} */ proto.LifeProfessionWork.prototype.addLifeprofessionworkhistoryinfo = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.LifeProfessionWorkInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.LifeProfessionWork} returns this */ proto.LifeProfessionWork.prototype.clearLifeprofessionworkhistoryinfoList = function() { return this.setLifeprofessionworkhistoryinfoList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.LifeProfessionWorkInfo.repeatedFields_ = [6]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LifeProfessionWorkInfo.prototype.toObject = function(opt_includeInstance) { return proto.LifeProfessionWorkInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LifeProfessionWorkInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionWorkInfo.toObject = function(includeInstance, msg) { var f, obj = { lifeprofessionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, begintime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, endtime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, count: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, cost: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, rewardList: jspb.Message.toObjectList(msg.getRewardList(), proto.Item.toObject, includeInstance), costid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LifeProfessionWorkInfo} */ proto.LifeProfessionWorkInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LifeProfessionWorkInfo; return proto.LifeProfessionWorkInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LifeProfessionWorkInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LifeProfessionWorkInfo} */ proto.LifeProfessionWorkInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setLifeprofessionid(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setBegintime(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setEndtime(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setCount(value); break; case 5: var value = /** @type {number} */ (reader.readUint32()); msg.setCost(value); break; case 6: var value = new proto.Item; reader.readMessage(value,proto.Item.deserializeBinaryFromReader); msg.addReward(value); break; case 7: var value = /** @type {number} */ (reader.readUint32()); msg.setCostid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LifeProfessionWorkInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LifeProfessionWorkInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LifeProfessionWorkInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LifeProfessionWorkInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeUint32( 5, f ); } f = message.getRewardList(); if (f.length > 0) { writer.writeRepeatedMessage( 6, f, proto.Item.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeUint32( 7, f ); } }; /** * optional uint32 LifeProfessionId = 1; * @return {number} */ proto.LifeProfessionWorkInfo.prototype.getLifeprofessionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.setLifeprofessionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.clearLifeprofessionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionWorkInfo.prototype.hasLifeprofessionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 BeginTime = 2; * @return {number} */ proto.LifeProfessionWorkInfo.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.clearBegintime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionWorkInfo.prototype.hasBegintime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 EndTime = 3; * @return {number} */ proto.LifeProfessionWorkInfo.prototype.getEndtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.setEndtime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.clearEndtime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionWorkInfo.prototype.hasEndtime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 Count = 4; * @return {number} */ proto.LifeProfessionWorkInfo.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.setCount = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.clearCount = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionWorkInfo.prototype.hasCount = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional uint32 Cost = 5; * @return {number} */ proto.LifeProfessionWorkInfo.prototype.getCost = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.setCost = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.clearCost = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionWorkInfo.prototype.hasCost = function() { return jspb.Message.getField(this, 5) != null; }; /** * repeated Item Reward = 6; * @return {!Array} */ proto.LifeProfessionWorkInfo.prototype.getRewardList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.Item, 6)); }; /** * @param {!Array} value * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.setRewardList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 6, value); }; /** * @param {!proto.Item=} opt_value * @param {number=} opt_index * @return {!proto.Item} */ proto.LifeProfessionWorkInfo.prototype.addReward = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.Item, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.clearRewardList = function() { return this.setRewardList([]); }; /** * optional uint32 CostId = 7; * @return {number} */ proto.LifeProfessionWorkInfo.prototype.getCostid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.setCostid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.LifeProfessionWorkInfo} returns this */ proto.LifeProfessionWorkInfo.prototype.clearCostid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LifeProfessionWorkInfo.prototype.hasCostid = function() { return jspb.Message.getField(this, 7) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserActivityList.prototype.toObject = function(opt_includeInstance) { return proto.UserActivityList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserActivityList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserActivityList.toObject = function(includeInstance, msg) { var f, obj = { activitiesMap: (f = msg.getActivitiesMap()) ? f.toObject(includeInstance, proto.UserActivityInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserActivityList} */ proto.UserActivityList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserActivityList; return proto.UserActivityList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserActivityList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserActivityList} */ proto.UserActivityList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getActivitiesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.UserActivityInfo.deserializeBinaryFromReader, 0, new proto.UserActivityInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserActivityList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserActivityList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserActivityList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserActivityList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getActivitiesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.UserActivityInfo.serializeBinaryToWriter); } }; /** * map Activities = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.UserActivityList.prototype.getActivitiesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.UserActivityInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.UserActivityList} returns this */ proto.UserActivityList.prototype.clearActivitiesMap = function() { this.getActivitiesMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserActivityInfo.prototype.toObject = function(opt_includeInstance) { return proto.UserActivityInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserActivityInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserActivityInfo.toObject = function(includeInstance, msg) { var f, obj = { starttime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, endtime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, rewardsMap: (f = msg.getRewardsMap()) ? f.toObject(includeInstance, proto.UserActivityRewardInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserActivityInfo} */ proto.UserActivityInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserActivityInfo; return proto.UserActivityInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserActivityInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserActivityInfo} */ proto.UserActivityInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 2: var value = /** @type {number} */ (reader.readUint64()); msg.setStarttime(value); break; case 3: var value = /** @type {number} */ (reader.readUint64()); msg.setEndtime(value); break; case 4: var value = msg.getRewardsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.UserActivityRewardInfo.deserializeBinaryFromReader, 0, new proto.UserActivityRewardInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserActivityInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserActivityInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserActivityInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserActivityInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint64( 2, f ); } f = message.getRewardsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.UserActivityRewardInfo.serializeBinaryToWriter); } }; /** * optional uint64 StartTime = 1; * @return {number} */ proto.UserActivityInfo.prototype.getStarttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UserActivityInfo} returns this */ proto.UserActivityInfo.prototype.setStarttime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserActivityInfo} returns this */ proto.UserActivityInfo.prototype.clearStarttime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserActivityInfo.prototype.hasStarttime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint64 EndTime = 2; * @return {number} */ proto.UserActivityInfo.prototype.getEndtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UserActivityInfo} returns this */ proto.UserActivityInfo.prototype.setEndtime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UserActivityInfo} returns this */ proto.UserActivityInfo.prototype.clearEndtime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserActivityInfo.prototype.hasEndtime = function() { return jspb.Message.getField(this, 2) != null; }; /** * map Rewards = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.UserActivityInfo.prototype.getRewardsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.UserActivityRewardInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.UserActivityInfo} returns this */ proto.UserActivityInfo.prototype.clearRewardsMap = function() { this.getRewardsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserActivityRewardInfo.prototype.toObject = function(opt_includeInstance) { return proto.UserActivityRewardInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserActivityRewardInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserActivityRewardInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, status: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, functionsMap: (f = msg.getFunctionsMap()) ? f.toObject(includeInstance, proto.GameFunctionData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserActivityRewardInfo} */ proto.UserActivityRewardInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserActivityRewardInfo; return proto.UserActivityRewardInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserActivityRewardInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserActivityRewardInfo} */ proto.UserActivityRewardInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setStatus(value); break; case 3: var value = msg.getFunctionsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.GameFunctionData.deserializeBinaryFromReader, 0, new proto.GameFunctionData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserActivityRewardInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserActivityRewardInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserActivityRewardInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserActivityRewardInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = message.getFunctionsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.GameFunctionData.serializeBinaryToWriter); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.UserActivityRewardInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UserActivityRewardInfo} returns this */ proto.UserActivityRewardInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserActivityRewardInfo} returns this */ proto.UserActivityRewardInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserActivityRewardInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 Status = 2; * @return {number} */ proto.UserActivityRewardInfo.prototype.getStatus = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UserActivityRewardInfo} returns this */ proto.UserActivityRewardInfo.prototype.setStatus = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UserActivityRewardInfo} returns this */ proto.UserActivityRewardInfo.prototype.clearStatus = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserActivityRewardInfo.prototype.hasStatus = function() { return jspb.Message.getField(this, 2) != null; }; /** * map Functions = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.UserActivityRewardInfo.prototype.getFunctionsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.GameFunctionData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.UserActivityRewardInfo} returns this */ proto.UserActivityRewardInfo.prototype.clearFunctionsMap = function() { this.getFunctionsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GameFunctionData.prototype.toObject = function(opt_includeInstance) { return proto.GameFunctionData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GameFunctionData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GameFunctionData.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, state: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, productid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, functiontimesMap: (f = msg.getFunctiontimesMap()) ? f.toObject(includeInstance, proto.FunctionTimeData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GameFunctionData} */ proto.GameFunctionData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GameFunctionData; return proto.GameFunctionData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GameFunctionData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GameFunctionData} */ proto.GameFunctionData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setId(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setState(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setProductid(value); break; case 4: var value = msg.getFunctiontimesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.FunctionTimeData.deserializeBinaryFromReader, 0, new proto.FunctionTimeData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GameFunctionData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GameFunctionData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GameFunctionData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GameFunctionData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = message.getFunctiontimesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.FunctionTimeData.serializeBinaryToWriter); } }; /** * optional uint32 Id = 1; * @return {number} */ proto.GameFunctionData.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.GameFunctionData} returns this */ proto.GameFunctionData.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GameFunctionData} returns this */ proto.GameFunctionData.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GameFunctionData.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool State = 2; * @return {boolean} */ proto.GameFunctionData.prototype.getState = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.GameFunctionData} returns this */ proto.GameFunctionData.prototype.setState = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.GameFunctionData} returns this */ proto.GameFunctionData.prototype.clearState = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GameFunctionData.prototype.hasState = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 ProductId = 3; * @return {number} */ proto.GameFunctionData.prototype.getProductid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.GameFunctionData} returns this */ proto.GameFunctionData.prototype.setProductid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.GameFunctionData} returns this */ proto.GameFunctionData.prototype.clearProductid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GameFunctionData.prototype.hasProductid = function() { return jspb.Message.getField(this, 3) != null; }; /** * map FunctionTimes = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.GameFunctionData.prototype.getFunctiontimesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.FunctionTimeData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.GameFunctionData} returns this */ proto.GameFunctionData.prototype.clearFunctiontimesMap = function() { this.getFunctiontimesMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FunctionTimeData.prototype.toObject = function(opt_includeInstance) { return proto.FunctionTimeData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FunctionTimeData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FunctionTimeData.toObject = function(includeInstance, msg) { var f, obj = { times: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, timestamp: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FunctionTimeData} */ proto.FunctionTimeData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FunctionTimeData; return proto.FunctionTimeData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FunctionTimeData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FunctionTimeData} */ proto.FunctionTimeData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setTimes(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setTimestamp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FunctionTimeData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FunctionTimeData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FunctionTimeData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FunctionTimeData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } }; /** * optional uint32 Times = 1; * @return {number} */ proto.FunctionTimeData.prototype.getTimes = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FunctionTimeData} returns this */ proto.FunctionTimeData.prototype.setTimes = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FunctionTimeData} returns this */ proto.FunctionTimeData.prototype.clearTimes = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FunctionTimeData.prototype.hasTimes = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 Timestamp = 2; * @return {number} */ proto.FunctionTimeData.prototype.getTimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FunctionTimeData} returns this */ proto.FunctionTimeData.prototype.setTimestamp = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FunctionTimeData} returns this */ proto.FunctionTimeData.prototype.clearTimestamp = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FunctionTimeData.prototype.hasTimestamp = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayerRecord.prototype.toObject = function(opt_includeInstance) { return proto.PlayerRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayerRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerRecord.toObject = function(includeInstance, msg) { var f, obj = { playerrecordinfosMap: (f = msg.getPlayerrecordinfosMap()) ? f.toObject(includeInstance, proto.PlayerRecordInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayerRecord} */ proto.PlayerRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayerRecord; return proto.PlayerRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayerRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayerRecord} */ proto.PlayerRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPlayerrecordinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.PlayerRecordInfo.deserializeBinaryFromReader, 0, new proto.PlayerRecordInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayerRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayerRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayerRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPlayerrecordinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.PlayerRecordInfo.serializeBinaryToWriter); } }; /** * map PlayerRecordInfos = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PlayerRecord.prototype.getPlayerrecordinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.PlayerRecordInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PlayerRecord} returns this */ proto.PlayerRecord.prototype.clearPlayerrecordinfosMap = function() { this.getPlayerrecordinfosMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayerRecordInfo.prototype.toObject = function(opt_includeInstance) { return proto.PlayerRecordInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayerRecordInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerRecordInfo.toObject = function(includeInstance, msg) { var f, obj = { playerrecordsMap: (f = msg.getPlayerrecordsMap()) ? f.toObject(includeInstance, proto.PlayerRecordSingle.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayerRecordInfo} */ proto.PlayerRecordInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayerRecordInfo; return proto.PlayerRecordInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayerRecordInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayerRecordInfo} */ proto.PlayerRecordInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPlayerrecordsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.PlayerRecordSingle.deserializeBinaryFromReader, 0, new proto.PlayerRecordSingle()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayerRecordInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayerRecordInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayerRecordInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerRecordInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPlayerrecordsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.PlayerRecordSingle.serializeBinaryToWriter); } }; /** * map PlayerRecords = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PlayerRecordInfo.prototype.getPlayerrecordsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.PlayerRecordSingle)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PlayerRecordInfo} returns this */ proto.PlayerRecordInfo.prototype.clearPlayerrecordsMap = function() { this.getPlayerrecordsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayerRecordSingle.prototype.toObject = function(opt_includeInstance) { return proto.PlayerRecordSingle.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayerRecordSingle} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerRecordSingle.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, totalcount: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, cyclecount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, cycletime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayerRecordSingle} */ proto.PlayerRecordSingle.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayerRecordSingle; return proto.PlayerRecordSingle.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayerRecordSingle} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayerRecordSingle} */ proto.PlayerRecordSingle.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTotalcount(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setCyclecount(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setCycletime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayerRecordSingle.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayerRecordSingle.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayerRecordSingle} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerRecordSingle.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.PlayerRecordSingle.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlayerRecordSingle} returns this */ proto.PlayerRecordSingle.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayerRecordSingle} returns this */ proto.PlayerRecordSingle.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayerRecordSingle.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TotalCount = 2; * @return {number} */ proto.PlayerRecordSingle.prototype.getTotalcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PlayerRecordSingle} returns this */ proto.PlayerRecordSingle.prototype.setTotalcount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayerRecordSingle} returns this */ proto.PlayerRecordSingle.prototype.clearTotalcount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayerRecordSingle.prototype.hasTotalcount = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 CycleCount = 3; * @return {number} */ proto.PlayerRecordSingle.prototype.getCyclecount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PlayerRecordSingle} returns this */ proto.PlayerRecordSingle.prototype.setCyclecount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayerRecordSingle} returns this */ proto.PlayerRecordSingle.prototype.clearCyclecount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayerRecordSingle.prototype.hasCyclecount = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 CycleTime = 4; * @return {number} */ proto.PlayerRecordSingle.prototype.getCycletime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.PlayerRecordSingle} returns this */ proto.PlayerRecordSingle.prototype.setCycletime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayerRecordSingle} returns this */ proto.PlayerRecordSingle.prototype.clearCycletime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayerRecordSingle.prototype.hasCycletime = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DropContainerInfo.prototype.toObject = function(opt_includeInstance) { return proto.DropContainerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DropContainerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DropContainerInfo.toObject = function(includeInstance, msg) { var f, obj = { dropcontainersMap: (f = msg.getDropcontainersMap()) ? f.toObject(includeInstance, proto.DropContainerSingle.toObject) : [], dropawardhistoriesMap: (f = msg.getDropawardhistoriesMap()) ? f.toObject(includeInstance, proto.DropAwardHistory.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DropContainerInfo} */ proto.DropContainerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DropContainerInfo; return proto.DropContainerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DropContainerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DropContainerInfo} */ proto.DropContainerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getDropcontainersMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DropContainerSingle.deserializeBinaryFromReader, 0, new proto.DropContainerSingle()); }); break; case 2: var value = msg.getDropawardhistoriesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DropAwardHistory.deserializeBinaryFromReader, 0, new proto.DropAwardHistory()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DropContainerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DropContainerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DropContainerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DropContainerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDropcontainersMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DropContainerSingle.serializeBinaryToWriter); } f = message.getDropawardhistoriesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DropAwardHistory.serializeBinaryToWriter); } }; /** * map DropContainers = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DropContainerInfo.prototype.getDropcontainersMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DropContainerSingle)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DropContainerInfo} returns this */ proto.DropContainerInfo.prototype.clearDropcontainersMap = function() { this.getDropcontainersMap().clear(); return this; }; /** * map DropAwardHistories = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DropContainerInfo.prototype.getDropawardhistoriesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.DropAwardHistory)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DropContainerInfo} returns this */ proto.DropContainerInfo.prototype.clearDropawardhistoriesMap = function() { this.getDropawardhistoriesMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DropContainerSingle.prototype.toObject = function(opt_includeInstance) { return proto.DropContainerSingle.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DropContainerSingle} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DropContainerSingle.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, count: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, cycletime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, historycount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DropContainerSingle} */ proto.DropContainerSingle.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DropContainerSingle; return proto.DropContainerSingle.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DropContainerSingle} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DropContainerSingle} */ proto.DropContainerSingle.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCount(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setCycletime(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setHistorycount(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DropContainerSingle.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DropContainerSingle.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DropContainerSingle} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DropContainerSingle.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.DropContainerSingle.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DropContainerSingle} returns this */ proto.DropContainerSingle.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DropContainerSingle} returns this */ proto.DropContainerSingle.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DropContainerSingle.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Count = 2; * @return {number} */ proto.DropContainerSingle.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DropContainerSingle} returns this */ proto.DropContainerSingle.prototype.setCount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DropContainerSingle} returns this */ proto.DropContainerSingle.prototype.clearCount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DropContainerSingle.prototype.hasCount = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 CycleTime = 3; * @return {number} */ proto.DropContainerSingle.prototype.getCycletime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DropContainerSingle} returns this */ proto.DropContainerSingle.prototype.setCycletime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DropContainerSingle} returns this */ proto.DropContainerSingle.prototype.clearCycletime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DropContainerSingle.prototype.hasCycletime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 HistoryCount = 4; * @return {number} */ proto.DropContainerSingle.prototype.getHistorycount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.DropContainerSingle} returns this */ proto.DropContainerSingle.prototype.setHistorycount = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.DropContainerSingle} returns this */ proto.DropContainerSingle.prototype.clearHistorycount = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DropContainerSingle.prototype.hasHistorycount = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DropAwardHistory.prototype.toObject = function(opt_includeInstance) { return proto.DropAwardHistory.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DropAwardHistory} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DropAwardHistory.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, count: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, cycletime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DropAwardHistory} */ proto.DropAwardHistory.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DropAwardHistory; return proto.DropAwardHistory.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DropAwardHistory} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DropAwardHistory} */ proto.DropAwardHistory.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCount(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setCycletime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DropAwardHistory.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DropAwardHistory.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DropAwardHistory} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DropAwardHistory.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.DropAwardHistory.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DropAwardHistory} returns this */ proto.DropAwardHistory.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DropAwardHistory} returns this */ proto.DropAwardHistory.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DropAwardHistory.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Count = 2; * @return {number} */ proto.DropAwardHistory.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DropAwardHistory} returns this */ proto.DropAwardHistory.prototype.setCount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DropAwardHistory} returns this */ proto.DropAwardHistory.prototype.clearCount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DropAwardHistory.prototype.hasCount = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 CycleTime = 3; * @return {number} */ proto.DropAwardHistory.prototype.getCycletime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DropAwardHistory} returns this */ proto.DropAwardHistory.prototype.setCycletime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DropAwardHistory} returns this */ proto.DropAwardHistory.prototype.clearCycletime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DropAwardHistory.prototype.hasCycletime = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.MonthlyCard.repeatedFields_ = [6]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonthlyCard.prototype.toObject = function(opt_includeInstance) { return proto.MonthlyCard.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonthlyCard} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonthlyCard.toObject = function(includeInstance, msg) { var f, obj = { expiretime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, monthlycardinfoMap: (f = msg.getMonthlycardinfoMap()) ? f.toObject(includeInstance, proto.MonthlyCardInfo.toObject) : [], lastawardmonthlycardtime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, tipsclicked: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, tipsday: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, itemsList: jspb.Message.toObjectList(msg.getItemsList(), proto.Item.toObject, includeInstance), monthlycardbuylistMap: (f = msg.getMonthlycardbuylistMap()) ? f.toObject(includeInstance, proto.MonthlyCardBuyList.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonthlyCard} */ proto.MonthlyCard.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonthlyCard; return proto.MonthlyCard.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonthlyCard} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonthlyCard} */ proto.MonthlyCard.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setExpiretime(value); break; case 2: var value = msg.getMonthlycardinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.MonthlyCardInfo.deserializeBinaryFromReader, 0, new proto.MonthlyCardInfo()); }); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setLastawardmonthlycardtime(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setTipsclicked(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setTipsday(value); break; case 6: var value = new proto.Item; reader.readMessage(value,proto.Item.deserializeBinaryFromReader); msg.addItems(value); break; case 7: var value = msg.getMonthlycardbuylistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.MonthlyCardBuyList.deserializeBinaryFromReader, 0, new proto.MonthlyCardBuyList()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonthlyCard.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonthlyCard.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonthlyCard} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonthlyCard.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getMonthlycardinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.MonthlyCardInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = message.getItemsList(); if (f.length > 0) { writer.writeRepeatedMessage( 6, f, proto.Item.serializeBinaryToWriter ); } f = message.getMonthlycardbuylistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.MonthlyCardBuyList.serializeBinaryToWriter); } }; /** * optional int64 ExpireTime = 1; * @return {number} */ proto.MonthlyCard.prototype.getExpiretime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.setExpiretime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.clearExpiretime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCard.prototype.hasExpiretime = function() { return jspb.Message.getField(this, 1) != null; }; /** * map MonthlyCardInfo = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MonthlyCard.prototype.getMonthlycardinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.MonthlyCardInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.clearMonthlycardinfoMap = function() { this.getMonthlycardinfoMap().clear(); return this; }; /** * optional int32 LastAwardMonthlyCardTime = 3; * @return {number} */ proto.MonthlyCard.prototype.getLastawardmonthlycardtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.setLastawardmonthlycardtime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.clearLastawardmonthlycardtime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCard.prototype.hasLastawardmonthlycardtime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 TipsClicked = 4; * @return {number} */ proto.MonthlyCard.prototype.getTipsclicked = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.setTipsclicked = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.clearTipsclicked = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCard.prototype.hasTipsclicked = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 TipsDay = 5; * @return {number} */ proto.MonthlyCard.prototype.getTipsday = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.setTipsday = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.clearTipsday = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCard.prototype.hasTipsday = function() { return jspb.Message.getField(this, 5) != null; }; /** * repeated Item Items = 6; * @return {!Array} */ proto.MonthlyCard.prototype.getItemsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.Item, 6)); }; /** * @param {!Array} value * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.setItemsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 6, value); }; /** * @param {!proto.Item=} opt_value * @param {number=} opt_index * @return {!proto.Item} */ proto.MonthlyCard.prototype.addItems = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.Item, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.clearItemsList = function() { return this.setItemsList([]); }; /** * map MonthlyCardBuyList = 7; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MonthlyCard.prototype.getMonthlycardbuylistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 7, opt_noLazyCreate, proto.MonthlyCardBuyList)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MonthlyCard} returns this */ proto.MonthlyCard.prototype.clearMonthlycardbuylistMap = function() { this.getMonthlycardbuylistMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonthlyCardInfo.prototype.toObject = function(opt_includeInstance) { return proto.MonthlyCardInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonthlyCardInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonthlyCardInfo.toObject = function(includeInstance, msg) { var f, obj = { limitawardstatus: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, awardstatus: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, monthcarditem: (f = msg.getMonthcarditem()) && proto.MonthCardItem.toObject(includeInstance, f), begintime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, endtime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonthlyCardInfo} */ proto.MonthlyCardInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonthlyCardInfo; return proto.MonthlyCardInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonthlyCardInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonthlyCardInfo} */ proto.MonthlyCardInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EReceiveRewardStatus} */ (reader.readEnum()); msg.setLimitawardstatus(value); break; case 2: var value = /** @type {!proto.EReceiveRewardStatus} */ (reader.readEnum()); msg.setAwardstatus(value); break; case 3: var value = new proto.MonthCardItem; reader.readMessage(value,proto.MonthCardItem.deserializeBinaryFromReader); msg.setMonthcarditem(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setEndtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonthlyCardInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonthlyCardInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonthlyCardInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonthlyCardInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EReceiveRewardStatus} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {!proto.EReceiveRewardStatus} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = message.getMonthcarditem(); if (f != null) { writer.writeMessage( 3, f, proto.MonthCardItem.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } }; /** * optional EReceiveRewardStatus LimitAwardStatus = 1; * @return {!proto.EReceiveRewardStatus} */ proto.MonthlyCardInfo.prototype.getLimitawardstatus = function() { return /** @type {!proto.EReceiveRewardStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EReceiveRewardStatus} value * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.setLimitawardstatus = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.clearLimitawardstatus = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCardInfo.prototype.hasLimitawardstatus = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EReceiveRewardStatus AwardStatus = 2; * @return {!proto.EReceiveRewardStatus} */ proto.MonthlyCardInfo.prototype.getAwardstatus = function() { return /** @type {!proto.EReceiveRewardStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EReceiveRewardStatus} value * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.setAwardstatus = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.clearAwardstatus = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCardInfo.prototype.hasAwardstatus = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional MonthCardItem MonthCardItem = 3; * @return {?proto.MonthCardItem} */ proto.MonthlyCardInfo.prototype.getMonthcarditem = function() { return /** @type{?proto.MonthCardItem} */ ( jspb.Message.getWrapperField(this, proto.MonthCardItem, 3)); }; /** * @param {?proto.MonthCardItem|undefined} value * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.setMonthcarditem = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.clearMonthcarditem = function() { return this.setMonthcarditem(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCardInfo.prototype.hasMonthcarditem = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 BeginTime = 4; * @return {number} */ proto.MonthlyCardInfo.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.clearBegintime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCardInfo.prototype.hasBegintime = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 EndTime = 5; * @return {number} */ proto.MonthlyCardInfo.prototype.getEndtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.setEndtime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCardInfo} returns this */ proto.MonthlyCardInfo.prototype.clearEndtime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCardInfo.prototype.hasEndtime = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonthCardItem.prototype.toObject = function(opt_includeInstance) { return proto.MonthCardItem.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonthCardItem} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonthCardItem.toObject = function(includeInstance, msg) { var f, obj = { itemid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, createtime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonthCardItem} */ proto.MonthCardItem.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonthCardItem; return proto.MonthCardItem.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonthCardItem} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonthCardItem} */ proto.MonthCardItem.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setItemid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCreatetime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonthCardItem.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonthCardItem.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonthCardItem} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonthCardItem.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 ItemId = 1; * @return {number} */ proto.MonthCardItem.prototype.getItemid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MonthCardItem} returns this */ proto.MonthCardItem.prototype.setItemid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthCardItem} returns this */ proto.MonthCardItem.prototype.clearItemid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthCardItem.prototype.hasItemid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 CreateTime = 2; * @return {number} */ proto.MonthCardItem.prototype.getCreatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.MonthCardItem} returns this */ proto.MonthCardItem.prototype.setCreatetime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthCardItem} returns this */ proto.MonthCardItem.prototype.clearCreatetime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthCardItem.prototype.hasCreatetime = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonthlyCardBuyList.prototype.toObject = function(opt_includeInstance) { return proto.MonthlyCardBuyList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonthlyCardBuyList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonthlyCardBuyList.toObject = function(includeInstance, msg) { var f, obj = { begintime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, endtime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, lastawarddaytime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonthlyCardBuyList} */ proto.MonthlyCardBuyList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonthlyCardBuyList; return proto.MonthlyCardBuyList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonthlyCardBuyList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonthlyCardBuyList} */ proto.MonthlyCardBuyList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setEndtime(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setLastawarddaytime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonthlyCardBuyList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonthlyCardBuyList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonthlyCardBuyList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonthlyCardBuyList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional int64 BeginTime = 1; * @return {number} */ proto.MonthlyCardBuyList.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MonthlyCardBuyList} returns this */ proto.MonthlyCardBuyList.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCardBuyList} returns this */ proto.MonthlyCardBuyList.prototype.clearBegintime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCardBuyList.prototype.hasBegintime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 EndTime = 2; * @return {number} */ proto.MonthlyCardBuyList.prototype.getEndtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.MonthlyCardBuyList} returns this */ proto.MonthlyCardBuyList.prototype.setEndtime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCardBuyList} returns this */ proto.MonthlyCardBuyList.prototype.clearEndtime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCardBuyList.prototype.hasEndtime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 LastAwardDayTime = 3; * @return {number} */ proto.MonthlyCardBuyList.prototype.getLastawarddaytime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MonthlyCardBuyList} returns this */ proto.MonthlyCardBuyList.prototype.setLastawarddaytime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MonthlyCardBuyList} returns this */ proto.MonthlyCardBuyList.prototype.clearLastawarddaytime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonthlyCardBuyList.prototype.hasLastawarddaytime = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.FashionBenefit.repeatedFields_ = [7,15]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FashionBenefit.prototype.toObject = function(opt_includeInstance) { return proto.FashionBenefit.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FashionBenefit} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionBenefit.toObject = function(includeInstance, msg) { var f, obj = { lastrewardid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, pointstask: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, pointscycle: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, pointscollection: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, tasklistMap: (f = msg.getTasklistMap()) ? f.toObject(includeInstance, proto.FashionBenefitTaskInfo.toObject) : [], collectionhistoryList: jspb.Message.toObjectList(msg.getCollectionhistoryList(), proto.FashionBenefitCollectionHistory.toObject, includeInstance), nextrefreshtime: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, maxpoints: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, lastaddtime: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, curdaymaxpoints: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, expirecycle: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f, lastlevel: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f, firtexpiretime: (f = jspb.Message.getField(msg, 14)) == null ? undefined : f, lastrewardidsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FashionBenefit} */ proto.FashionBenefit.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FashionBenefit; return proto.FashionBenefit.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FashionBenefit} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FashionBenefit} */ proto.FashionBenefit.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setLastrewardid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setPointstask(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setPointscycle(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setPointscollection(value); break; case 6: var value = msg.getTasklistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.FashionBenefitTaskInfo.deserializeBinaryFromReader, 0, new proto.FashionBenefitTaskInfo()); }); break; case 7: var value = new proto.FashionBenefitCollectionHistory; reader.readMessage(value,proto.FashionBenefitCollectionHistory.deserializeBinaryFromReader); msg.addCollectionhistory(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setNextrefreshtime(value); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setMaxpoints(value); break; case 10: var value = /** @type {number} */ (reader.readInt64()); msg.setLastaddtime(value); break; case 11: var value = /** @type {number} */ (reader.readInt32()); msg.setCurdaymaxpoints(value); break; case 12: var value = /** @type {number} */ (reader.readInt32()); msg.setExpirecycle(value); break; case 13: var value = /** @type {number} */ (reader.readInt32()); msg.setLastlevel(value); break; case 14: var value = /** @type {number} */ (reader.readInt64()); msg.setFirtexpiretime(value); break; case 15: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addLastrewardids(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FashionBenefit.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FashionBenefit.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FashionBenefit} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionBenefit.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = message.getTasklistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.FashionBenefitTaskInfo.serializeBinaryToWriter); } f = message.getCollectionhistoryList(); if (f.length > 0) { writer.writeRepeatedMessage( 7, f, proto.FashionBenefitCollectionHistory.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt32( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeInt64( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt32( 11, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 12)); if (f != null) { writer.writeInt32( 12, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeInt32( 13, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 14)); if (f != null) { writer.writeInt64( 14, f ); } f = message.getLastrewardidsList(); if (f.length > 0) { writer.writePackedInt32( 15, f ); } }; /** * optional int32 LastRewardId = 1; * @return {number} */ proto.FashionBenefit.prototype.getLastrewardid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setLastrewardid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearLastrewardid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasLastrewardid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Level = 2; * @return {number} */ proto.FashionBenefit.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setLevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearLevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasLevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 PointsTask = 3; * @return {number} */ proto.FashionBenefit.prototype.getPointstask = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setPointstask = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearPointstask = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasPointstask = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 PointsCycle = 4; * @return {number} */ proto.FashionBenefit.prototype.getPointscycle = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setPointscycle = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearPointscycle = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasPointscycle = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 PointsCollection = 5; * @return {number} */ proto.FashionBenefit.prototype.getPointscollection = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setPointscollection = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearPointscollection = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasPointscollection = function() { return jspb.Message.getField(this, 5) != null; }; /** * map TaskList = 6; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FashionBenefit.prototype.getTasklistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 6, opt_noLazyCreate, proto.FashionBenefitTaskInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearTasklistMap = function() { this.getTasklistMap().clear(); return this; }; /** * repeated FashionBenefitCollectionHistory CollectionHistory = 7; * @return {!Array} */ proto.FashionBenefit.prototype.getCollectionhistoryList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.FashionBenefitCollectionHistory, 7)); }; /** * @param {!Array} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setCollectionhistoryList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 7, value); }; /** * @param {!proto.FashionBenefitCollectionHistory=} opt_value * @param {number=} opt_index * @return {!proto.FashionBenefitCollectionHistory} */ proto.FashionBenefit.prototype.addCollectionhistory = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.FashionBenefitCollectionHistory, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearCollectionhistoryList = function() { return this.setCollectionhistoryList([]); }; /** * optional int64 NextRefreshTime = 8; * @return {number} */ proto.FashionBenefit.prototype.getNextrefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setNextrefreshtime = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearNextrefreshtime = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasNextrefreshtime = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int32 MaxPoints = 9; * @return {number} */ proto.FashionBenefit.prototype.getMaxpoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setMaxpoints = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearMaxpoints = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasMaxpoints = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional int64 LastAddTime = 10; * @return {number} */ proto.FashionBenefit.prototype.getLastaddtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setLastaddtime = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearLastaddtime = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasLastaddtime = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional int32 CurDayMaxPoints = 11; * @return {number} */ proto.FashionBenefit.prototype.getCurdaymaxpoints = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setCurdaymaxpoints = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearCurdaymaxpoints = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasCurdaymaxpoints = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional int32 ExpireCycle = 12; * @return {number} */ proto.FashionBenefit.prototype.getExpirecycle = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setExpirecycle = function(value) { return jspb.Message.setField(this, 12, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearExpirecycle = function() { return jspb.Message.setField(this, 12, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasExpirecycle = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional int32 LastLevel = 13; * @return {number} */ proto.FashionBenefit.prototype.getLastlevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setLastlevel = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearLastlevel = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasLastlevel = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional int64 FirtExpireTime = 14; * @return {number} */ proto.FashionBenefit.prototype.getFirtexpiretime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setFirtexpiretime = function(value) { return jspb.Message.setField(this, 14, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearFirtexpiretime = function() { return jspb.Message.setField(this, 14, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefit.prototype.hasFirtexpiretime = function() { return jspb.Message.getField(this, 14) != null; }; /** * repeated int32 LastRewardIds = 15; * @return {!Array} */ proto.FashionBenefit.prototype.getLastrewardidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 15)); }; /** * @param {!Array} value * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.setLastrewardidsList = function(value) { return jspb.Message.setField(this, 15, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.addLastrewardids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 15, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.FashionBenefit} returns this */ proto.FashionBenefit.prototype.clearLastrewardidsList = function() { return this.setLastrewardidsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FashionBenefitTaskInfo.prototype.toObject = function(opt_includeInstance) { return proto.FashionBenefitTaskInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FashionBenefitTaskInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionBenefitTaskInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, count: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, progress: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FashionBenefitTaskInfo} */ proto.FashionBenefitTaskInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FashionBenefitTaskInfo; return proto.FashionBenefitTaskInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FashionBenefitTaskInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FashionBenefitTaskInfo} */ proto.FashionBenefitTaskInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCount(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setProgress(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FashionBenefitTaskInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FashionBenefitTaskInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FashionBenefitTaskInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionBenefitTaskInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.FashionBenefitTaskInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefitTaskInfo} returns this */ proto.FashionBenefitTaskInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefitTaskInfo} returns this */ proto.FashionBenefitTaskInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefitTaskInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Count = 2; * @return {number} */ proto.FashionBenefitTaskInfo.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefitTaskInfo} returns this */ proto.FashionBenefitTaskInfo.prototype.setCount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefitTaskInfo} returns this */ proto.FashionBenefitTaskInfo.prototype.clearCount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefitTaskInfo.prototype.hasCount = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Progress = 3; * @return {number} */ proto.FashionBenefitTaskInfo.prototype.getProgress = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefitTaskInfo} returns this */ proto.FashionBenefitTaskInfo.prototype.setProgress = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefitTaskInfo} returns this */ proto.FashionBenefitTaskInfo.prototype.clearProgress = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefitTaskInfo.prototype.hasProgress = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FashionBenefitCollectionHistory.prototype.toObject = function(opt_includeInstance) { return proto.FashionBenefitCollectionHistory.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FashionBenefitCollectionHistory} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionBenefitCollectionHistory.toObject = function(includeInstance, msg) { var f, obj = { fashionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, time: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, type: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, parameter: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FashionBenefitCollectionHistory} */ proto.FashionBenefitCollectionHistory.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FashionBenefitCollectionHistory; return proto.FashionBenefitCollectionHistory.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FashionBenefitCollectionHistory} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FashionBenefitCollectionHistory} */ proto.FashionBenefitCollectionHistory.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setFashionid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setTime(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setType(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setParameter(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FashionBenefitCollectionHistory.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FashionBenefitCollectionHistory.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FashionBenefitCollectionHistory} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FashionBenefitCollectionHistory.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int32 FashionId = 1; * @return {number} */ proto.FashionBenefitCollectionHistory.prototype.getFashionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefitCollectionHistory} returns this */ proto.FashionBenefitCollectionHistory.prototype.setFashionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefitCollectionHistory} returns this */ proto.FashionBenefitCollectionHistory.prototype.clearFashionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefitCollectionHistory.prototype.hasFashionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Time = 2; * @return {number} */ proto.FashionBenefitCollectionHistory.prototype.getTime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefitCollectionHistory} returns this */ proto.FashionBenefitCollectionHistory.prototype.setTime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefitCollectionHistory} returns this */ proto.FashionBenefitCollectionHistory.prototype.clearTime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefitCollectionHistory.prototype.hasTime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Type = 3; * @return {number} */ proto.FashionBenefitCollectionHistory.prototype.getType = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefitCollectionHistory} returns this */ proto.FashionBenefitCollectionHistory.prototype.setType = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefitCollectionHistory} returns this */ proto.FashionBenefitCollectionHistory.prototype.clearType = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefitCollectionHistory.prototype.hasType = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 Parameter = 4; * @return {number} */ proto.FashionBenefitCollectionHistory.prototype.getParameter = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.FashionBenefitCollectionHistory} returns this */ proto.FashionBenefitCollectionHistory.prototype.setParameter = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.FashionBenefitCollectionHistory} returns this */ proto.FashionBenefitCollectionHistory.prototype.clearParameter = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FashionBenefitCollectionHistory.prototype.hasParameter = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ItemCurrency.prototype.toObject = function(opt_includeInstance) { return proto.ItemCurrency.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ItemCurrency} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ItemCurrency.toObject = function(includeInstance, msg) { var f, obj = { isinit: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, currencydatasMap: (f = msg.getCurrencydatasMap()) ? f.toObject(includeInstance, proto.CurrencyData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ItemCurrency} */ proto.ItemCurrency.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ItemCurrency; return proto.ItemCurrency.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ItemCurrency} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ItemCurrency} */ proto.ItemCurrency.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsinit(value); break; case 2: var value = msg.getCurrencydatasMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.CurrencyData.deserializeBinaryFromReader, 0, new proto.CurrencyData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ItemCurrency.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ItemCurrency.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ItemCurrency} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ItemCurrency.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = message.getCurrencydatasMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.CurrencyData.serializeBinaryToWriter); } }; /** * optional bool IsInit = 1; * @return {boolean} */ proto.ItemCurrency.prototype.getIsinit = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.ItemCurrency} returns this */ proto.ItemCurrency.prototype.setIsinit = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ItemCurrency} returns this */ proto.ItemCurrency.prototype.clearIsinit = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ItemCurrency.prototype.hasIsinit = function() { return jspb.Message.getField(this, 1) != null; }; /** * map CurrencyDatas = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ItemCurrency.prototype.getCurrencydatasMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.CurrencyData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ItemCurrency} returns this */ proto.ItemCurrency.prototype.clearCurrencydatasMap = function() { this.getCurrencydatasMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CurrencyData.prototype.toObject = function(opt_includeInstance) { return proto.CurrencyData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CurrencyData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CurrencyData.toObject = function(includeInstance, msg) { var f, obj = { configid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, count: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CurrencyData} */ proto.CurrencyData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CurrencyData; return proto.CurrencyData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CurrencyData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CurrencyData} */ proto.CurrencyData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setConfigid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCount(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CurrencyData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CurrencyData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CurrencyData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CurrencyData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 ConfigId = 1; * @return {number} */ proto.CurrencyData.prototype.getConfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CurrencyData} returns this */ proto.CurrencyData.prototype.setConfigid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CurrencyData} returns this */ proto.CurrencyData.prototype.clearConfigid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CurrencyData.prototype.hasConfigid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Count = 2; * @return {number} */ proto.CurrencyData.prototype.getCount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CurrencyData} returns this */ proto.CurrencyData.prototype.setCount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CurrencyData} returns this */ proto.CurrencyData.prototype.clearCount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CurrencyData.prototype.hasCount = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PrivilegeEffectData.prototype.toObject = function(opt_includeInstance) { return proto.PrivilegeEffectData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PrivilegeEffectData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PrivilegeEffectData.toObject = function(includeInstance, msg) { var f, obj = { normalpassid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, primepassid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, normalpassidmapMap: (f = msg.getNormalpassidmapMap()) ? f.toObject(includeInstance, undefined) : [], primepassidmapMap: (f = msg.getPrimepassidmapMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PrivilegeEffectData} */ proto.PrivilegeEffectData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PrivilegeEffectData; return proto.PrivilegeEffectData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PrivilegeEffectData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PrivilegeEffectData} */ proto.PrivilegeEffectData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setNormalpassid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setPrimepassid(value); break; case 3: var value = msg.getNormalpassidmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; case 4: var value = msg.getPrimepassidmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PrivilegeEffectData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PrivilegeEffectData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PrivilegeEffectData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PrivilegeEffectData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getNormalpassidmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } f = message.getPrimepassidmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * optional int32 NormalPassId = 1; * @return {number} */ proto.PrivilegeEffectData.prototype.getNormalpassid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PrivilegeEffectData} returns this */ proto.PrivilegeEffectData.prototype.setNormalpassid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PrivilegeEffectData} returns this */ proto.PrivilegeEffectData.prototype.clearNormalpassid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PrivilegeEffectData.prototype.hasNormalpassid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 PrimePassId = 2; * @return {number} */ proto.PrivilegeEffectData.prototype.getPrimepassid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PrivilegeEffectData} returns this */ proto.PrivilegeEffectData.prototype.setPrimepassid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PrivilegeEffectData} returns this */ proto.PrivilegeEffectData.prototype.clearPrimepassid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PrivilegeEffectData.prototype.hasPrimepassid = function() { return jspb.Message.getField(this, 2) != null; }; /** * map NormalPassIdMap = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PrivilegeEffectData.prototype.getNormalpassidmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PrivilegeEffectData} returns this */ proto.PrivilegeEffectData.prototype.clearNormalpassidmapMap = function() { this.getNormalpassidmapMap().clear(); return this; }; /** * map PrimePassIdMap = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PrivilegeEffectData.prototype.getPrimepassidmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PrivilegeEffectData} returns this */ proto.PrivilegeEffectData.prototype.clearPrimepassidmapMap = function() { this.getPrimepassidmapMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.Treasure.repeatedFields_ = [5]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Treasure.prototype.toObject = function(opt_includeInstance) { return proto.Treasure.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Treasure} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Treasure.toObject = function(includeInstance, msg) { var f, obj = { rowsMap: (f = msg.getRowsMap()) ? f.toObject(includeInstance, proto.TreasureItemRow.toObject) : [], historyrowsMap: (f = msg.getHistoryrowsMap()) ? f.toObject(includeInstance, proto.TreasureItemRow.toObject) : [], flag: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, refreshtime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, selectedrewardList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, seasonid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, lastseasonid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, lastrefreshtime: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Treasure} */ proto.Treasure.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Treasure; return proto.Treasure.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Treasure} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Treasure} */ proto.Treasure.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getRowsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.TreasureItemRow.deserializeBinaryFromReader, 0, new proto.TreasureItemRow()); }); break; case 2: var value = msg.getHistoryrowsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.TreasureItemRow.deserializeBinaryFromReader, 0, new proto.TreasureItemRow()); }); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setFlag(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setRefreshtime(value); break; case 5: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addSelectedreward(values[i]); } break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setSeasonid(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setLastseasonid(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setLastrefreshtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Treasure.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Treasure.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Treasure} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Treasure.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRowsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.TreasureItemRow.serializeBinaryToWriter); } f = message.getHistoryrowsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.TreasureItemRow.serializeBinaryToWriter); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = message.getSelectedrewardList(); if (f.length > 0) { writer.writePackedInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } }; /** * map Rows = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Treasure.prototype.getRowsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.TreasureItemRow)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.clearRowsMap = function() { this.getRowsMap().clear(); return this; }; /** * map HistoryRows = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Treasure.prototype.getHistoryrowsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.TreasureItemRow)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.clearHistoryrowsMap = function() { this.getHistoryrowsMap().clear(); return this; }; /** * optional bool Flag = 3; * @return {boolean} */ proto.Treasure.prototype.getFlag = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.setFlag = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.clearFlag = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Treasure.prototype.hasFlag = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 RefreshTime = 4; * @return {number} */ proto.Treasure.prototype.getRefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.setRefreshtime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.clearRefreshtime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Treasure.prototype.hasRefreshtime = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated int32 SelectedReward = 5; * @return {!Array} */ proto.Treasure.prototype.getSelectedrewardList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 5)); }; /** * @param {!Array} value * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.setSelectedrewardList = function(value) { return jspb.Message.setField(this, 5, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.addSelectedreward = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 5, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.clearSelectedrewardList = function() { return this.setSelectedrewardList([]); }; /** * optional int32 SeasonId = 6; * @return {number} */ proto.Treasure.prototype.getSeasonid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.setSeasonid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.clearSeasonid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Treasure.prototype.hasSeasonid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 LastSeasonId = 7; * @return {number} */ proto.Treasure.prototype.getLastseasonid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.setLastseasonid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.clearLastseasonid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Treasure.prototype.hasLastseasonid = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int64 LastRefreshTime = 8; * @return {number} */ proto.Treasure.prototype.getLastrefreshtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.setLastrefreshtime = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.Treasure} returns this */ proto.Treasure.prototype.clearLastrefreshtime = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Treasure.prototype.hasLastrefreshtime = function() { return jspb.Message.getField(this, 8) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TreasureItemRow.prototype.toObject = function(opt_includeInstance) { return proto.TreasureItemRow.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TreasureItemRow} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TreasureItemRow.toObject = function(includeInstance, msg) { var f, obj = { configid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, maintargetsMap: (f = msg.getMaintargetsMap()) ? f.toObject(includeInstance, proto.TreasureItemTarget.toObject) : [], subtargetsMap: (f = msg.getSubtargetsMap()) ? f.toObject(includeInstance, proto.TreasureItemTarget.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TreasureItemRow} */ proto.TreasureItemRow.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TreasureItemRow; return proto.TreasureItemRow.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TreasureItemRow} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TreasureItemRow} */ proto.TreasureItemRow.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setConfigid(value); break; case 2: var value = msg.getMaintargetsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.TreasureItemTarget.deserializeBinaryFromReader, 0, new proto.TreasureItemTarget()); }); break; case 3: var value = msg.getSubtargetsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.TreasureItemTarget.deserializeBinaryFromReader, 0, new proto.TreasureItemTarget()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TreasureItemRow.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TreasureItemRow.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TreasureItemRow} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TreasureItemRow.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getMaintargetsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.TreasureItemTarget.serializeBinaryToWriter); } f = message.getSubtargetsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.TreasureItemTarget.serializeBinaryToWriter); } }; /** * optional int32 ConfigId = 1; * @return {number} */ proto.TreasureItemRow.prototype.getConfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TreasureItemRow} returns this */ proto.TreasureItemRow.prototype.setConfigid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TreasureItemRow} returns this */ proto.TreasureItemRow.prototype.clearConfigid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TreasureItemRow.prototype.hasConfigid = function() { return jspb.Message.getField(this, 1) != null; }; /** * map MainTargets = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.TreasureItemRow.prototype.getMaintargetsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.TreasureItemTarget)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.TreasureItemRow} returns this */ proto.TreasureItemRow.prototype.clearMaintargetsMap = function() { this.getMaintargetsMap().clear(); return this; }; /** * map SubTargets = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.TreasureItemRow.prototype.getSubtargetsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.TreasureItemTarget)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.TreasureItemRow} returns this */ proto.TreasureItemRow.prototype.clearSubtargetsMap = function() { this.getSubtargetsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TreasureItemTarget.prototype.toObject = function(opt_includeInstance) { return proto.TreasureItemTarget.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TreasureItemTarget} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TreasureItemTarget.toObject = function(includeInstance, msg) { var f, obj = { targetid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetnum: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, reward: (f = msg.getReward()) && proto.TreasureItem.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TreasureItemTarget} */ proto.TreasureItemTarget.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TreasureItemTarget; return proto.TreasureItemTarget.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TreasureItemTarget} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TreasureItemTarget} */ proto.TreasureItemTarget.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetnum(value); break; case 3: var value = new proto.TreasureItem; reader.readMessage(value,proto.TreasureItem.deserializeBinaryFromReader); msg.setReward(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TreasureItemTarget.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TreasureItemTarget.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TreasureItemTarget} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TreasureItemTarget.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getReward(); if (f != null) { writer.writeMessage( 3, f, proto.TreasureItem.serializeBinaryToWriter ); } }; /** * optional int32 TargetId = 1; * @return {number} */ proto.TreasureItemTarget.prototype.getTargetid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TreasureItemTarget} returns this */ proto.TreasureItemTarget.prototype.setTargetid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TreasureItemTarget} returns this */ proto.TreasureItemTarget.prototype.clearTargetid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TreasureItemTarget.prototype.hasTargetid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TargetNum = 2; * @return {number} */ proto.TreasureItemTarget.prototype.getTargetnum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.TreasureItemTarget} returns this */ proto.TreasureItemTarget.prototype.setTargetnum = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TreasureItemTarget} returns this */ proto.TreasureItemTarget.prototype.clearTargetnum = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TreasureItemTarget.prototype.hasTargetnum = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional TreasureItem Reward = 3; * @return {?proto.TreasureItem} */ proto.TreasureItemTarget.prototype.getReward = function() { return /** @type{?proto.TreasureItem} */ ( jspb.Message.getWrapperField(this, proto.TreasureItem, 3)); }; /** * @param {?proto.TreasureItem|undefined} value * @return {!proto.TreasureItemTarget} returns this */ proto.TreasureItemTarget.prototype.setReward = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.TreasureItemTarget} returns this */ proto.TreasureItemTarget.prototype.clearReward = function() { return this.setReward(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TreasureItemTarget.prototype.hasReward = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.TreasureItem.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TreasureItem.prototype.toObject = function(opt_includeInstance) { return proto.TreasureItem.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TreasureItem} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TreasureItem.toObject = function(includeInstance, msg) { var f, obj = { itemsList: jspb.Message.toObjectList(msg.getItemsList(), proto.Item.toObject, includeInstance), type: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TreasureItem} */ proto.TreasureItem.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TreasureItem; return proto.TreasureItem.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TreasureItem} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TreasureItem} */ proto.TreasureItem.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Item; reader.readMessage(value,proto.Item.deserializeBinaryFromReader); msg.addItems(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setType(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TreasureItem.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TreasureItem.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TreasureItem} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TreasureItem.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getItemsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.Item.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * repeated Item Items = 1; * @return {!Array} */ proto.TreasureItem.prototype.getItemsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.Item, 1)); }; /** * @param {!Array} value * @return {!proto.TreasureItem} returns this */ proto.TreasureItem.prototype.setItemsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.Item=} opt_value * @param {number=} opt_index * @return {!proto.Item} */ proto.TreasureItem.prototype.addItems = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Item, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.TreasureItem} returns this */ proto.TreasureItem.prototype.clearItemsList = function() { return this.setItemsList([]); }; /** * optional int32 Type = 2; * @return {number} */ proto.TreasureItem.prototype.getType = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.TreasureItem} returns this */ proto.TreasureItem.prototype.setType = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TreasureItem} returns this */ proto.TreasureItem.prototype.clearType = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TreasureItem.prototype.hasType = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UnlockEmojiData.prototype.toObject = function(opt_includeInstance) { return proto.UnlockEmojiData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UnlockEmojiData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnlockEmojiData.toObject = function(includeInstance, msg) { var f, obj = { unlockmapMap: (f = msg.getUnlockmapMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UnlockEmojiData} */ proto.UnlockEmojiData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UnlockEmojiData; return proto.UnlockEmojiData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UnlockEmojiData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UnlockEmojiData} */ proto.UnlockEmojiData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getUnlockmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UnlockEmojiData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UnlockEmojiData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UnlockEmojiData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnlockEmojiData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUnlockmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * map UnlockMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.UnlockEmojiData.prototype.getUnlockmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.UnlockEmojiData} returns this */ proto.UnlockEmojiData.prototype.clearUnlockmapMap = function() { this.getUnlockmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayerOrderComtainerInfo.prototype.toObject = function(opt_includeInstance) { return proto.PlayerOrderComtainerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayerOrderComtainerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerOrderComtainerInfo.toObject = function(includeInstance, msg) { var f, obj = { index: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayerOrderComtainerInfo} */ proto.PlayerOrderComtainerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayerOrderComtainerInfo; return proto.PlayerOrderComtainerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayerOrderComtainerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayerOrderComtainerInfo} */ proto.PlayerOrderComtainerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setIndex(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayerOrderComtainerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayerOrderComtainerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayerOrderComtainerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerOrderComtainerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 Index = 1; * @return {number} */ proto.PlayerOrderComtainerInfo.prototype.getIndex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlayerOrderComtainerInfo} returns this */ proto.PlayerOrderComtainerInfo.prototype.setIndex = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayerOrderComtainerInfo} returns this */ proto.PlayerOrderComtainerInfo.prototype.clearIndex = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayerOrderComtainerInfo.prototype.hasIndex = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayerBox.prototype.toObject = function(opt_includeInstance) { return proto.PlayerBox.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayerBox} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerBox.toObject = function(includeInstance, msg) { var f, obj = { scenesMap: (f = msg.getScenesMap()) ? f.toObject(includeInstance, proto.PlayerBoxData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayerBox} */ proto.PlayerBox.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayerBox; return proto.PlayerBox.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayerBox} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayerBox} */ proto.PlayerBox.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getScenesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint64, jspb.BinaryReader.prototype.readMessage, proto.PlayerBoxData.deserializeBinaryFromReader, 0, new proto.PlayerBoxData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayerBox.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayerBox.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayerBox} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerBox.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getScenesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint64, jspb.BinaryWriter.prototype.writeMessage, proto.PlayerBoxData.serializeBinaryToWriter); } }; /** * map Scenes = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PlayerBox.prototype.getScenesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.PlayerBoxData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PlayerBox} returns this */ proto.PlayerBox.prototype.clearScenesMap = function() { this.getScenesMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayerBoxData.prototype.toObject = function(opt_includeInstance) { return proto.PlayerBoxData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayerBoxData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerBoxData.toObject = function(includeInstance, msg) { var f, obj = { sceneuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, boxsMap: (f = msg.getBoxsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayerBoxData} */ proto.PlayerBoxData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayerBoxData; return proto.PlayerBoxData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayerBoxData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayerBoxData} */ proto.PlayerBoxData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); msg.setSceneuuid(value); break; case 2: var value = msg.getBoxsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayerBoxData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayerBoxData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayerBoxData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayerBoxData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint64( 1, f ); } f = message.getBoxsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeInt64); } }; /** * optional uint64 SceneUUID = 1; * @return {number} */ proto.PlayerBoxData.prototype.getSceneuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlayerBoxData} returns this */ proto.PlayerBoxData.prototype.setSceneuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayerBoxData} returns this */ proto.PlayerBoxData.prototype.clearSceneuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayerBoxData.prototype.hasSceneuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * map Boxs = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PlayerBoxData.prototype.getBoxsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PlayerBoxData} returns this */ proto.PlayerBoxData.prototype.clearBoxsMap = function() { this.getBoxsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LaunchPrivilegeData.prototype.toObject = function(opt_includeInstance) { return proto.LaunchPrivilegeData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LaunchPrivilegeData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LaunchPrivilegeData.toObject = function(includeInstance, msg) { var f, obj = { launchplatform: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, isprivilege: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, baklaunchplatform: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, bakprivilege: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LaunchPrivilegeData} */ proto.LaunchPrivilegeData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LaunchPrivilegeData; return proto.LaunchPrivilegeData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LaunchPrivilegeData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LaunchPrivilegeData} */ proto.LaunchPrivilegeData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.LaunchPlatform} */ (reader.readEnum()); msg.setLaunchplatform(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsprivilege(value); break; case 3: var value = /** @type {!proto.LaunchPlatform} */ (reader.readEnum()); msg.setBaklaunchplatform(value); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setBakprivilege(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LaunchPrivilegeData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LaunchPrivilegeData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LaunchPrivilegeData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LaunchPrivilegeData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.LaunchPlatform} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {!proto.LaunchPlatform} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } }; /** * optional LaunchPlatform LaunchPlatform = 1; * @return {!proto.LaunchPlatform} */ proto.LaunchPrivilegeData.prototype.getLaunchplatform = function() { return /** @type {!proto.LaunchPlatform} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.LaunchPlatform} value * @return {!proto.LaunchPrivilegeData} returns this */ proto.LaunchPrivilegeData.prototype.setLaunchplatform = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LaunchPrivilegeData} returns this */ proto.LaunchPrivilegeData.prototype.clearLaunchplatform = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LaunchPrivilegeData.prototype.hasLaunchplatform = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsPrivilege = 2; * @return {boolean} */ proto.LaunchPrivilegeData.prototype.getIsprivilege = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.LaunchPrivilegeData} returns this */ proto.LaunchPrivilegeData.prototype.setIsprivilege = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LaunchPrivilegeData} returns this */ proto.LaunchPrivilegeData.prototype.clearIsprivilege = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LaunchPrivilegeData.prototype.hasIsprivilege = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional LaunchPlatform BakLaunchPlatform = 3; * @return {!proto.LaunchPlatform} */ proto.LaunchPrivilegeData.prototype.getBaklaunchplatform = function() { return /** @type {!proto.LaunchPlatform} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {!proto.LaunchPlatform} value * @return {!proto.LaunchPrivilegeData} returns this */ proto.LaunchPrivilegeData.prototype.setBaklaunchplatform = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.LaunchPrivilegeData} returns this */ proto.LaunchPrivilegeData.prototype.clearBaklaunchplatform = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LaunchPrivilegeData.prototype.hasBaklaunchplatform = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional bool BakPrivilege = 4; * @return {boolean} */ proto.LaunchPrivilegeData.prototype.getBakprivilege = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.LaunchPrivilegeData} returns this */ proto.LaunchPrivilegeData.prototype.setBakprivilege = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.LaunchPrivilegeData} returns this */ proto.LaunchPrivilegeData.prototype.clearBakprivilege = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LaunchPrivilegeData.prototype.hasBakprivilege = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RechargeData.prototype.toObject = function(opt_includeInstance) { return proto.RechargeData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RechargeData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RechargeData.toObject = function(includeInstance, msg) { var f, obj = { accumulateamount: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, lastrechargetime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, lastrechargeamount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, lastdiamondamount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RechargeData} */ proto.RechargeData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RechargeData; return proto.RechargeData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RechargeData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RechargeData} */ proto.RechargeData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setAccumulateamount(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setLastrechargetime(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setLastrechargeamount(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setLastdiamondamount(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RechargeData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RechargeData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RechargeData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RechargeData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } }; /** * optional int64 AccumulateAmount = 1; * @return {number} */ proto.RechargeData.prototype.getAccumulateamount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.RechargeData} returns this */ proto.RechargeData.prototype.setAccumulateamount = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.RechargeData} returns this */ proto.RechargeData.prototype.clearAccumulateamount = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RechargeData.prototype.hasAccumulateamount = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 LastRechargeTime = 2; * @return {number} */ proto.RechargeData.prototype.getLastrechargetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.RechargeData} returns this */ proto.RechargeData.prototype.setLastrechargetime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.RechargeData} returns this */ proto.RechargeData.prototype.clearLastrechargetime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RechargeData.prototype.hasLastrechargetime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 LastRechargeAmount = 3; * @return {number} */ proto.RechargeData.prototype.getLastrechargeamount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.RechargeData} returns this */ proto.RechargeData.prototype.setLastrechargeamount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.RechargeData} returns this */ proto.RechargeData.prototype.clearLastrechargeamount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RechargeData.prototype.hasLastrechargeamount = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 LastDiamondAmount = 4; * @return {number} */ proto.RechargeData.prototype.getLastdiamondamount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.RechargeData} returns this */ proto.RechargeData.prototype.setLastdiamondamount = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.RechargeData} returns this */ proto.RechargeData.prototype.clearLastdiamondamount = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RechargeData.prototype.hasLastdiamondamount = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LuckyValueMgr.prototype.toObject = function(opt_includeInstance) { return proto.LuckyValueMgr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LuckyValueMgr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LuckyValueMgr.toObject = function(includeInstance, msg) { var f, obj = { luckvalueinfoMap: (f = msg.getLuckvalueinfoMap()) ? f.toObject(includeInstance, proto.LuckyValueInfo.toObject) : [], initvalue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LuckyValueMgr} */ proto.LuckyValueMgr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LuckyValueMgr; return proto.LuckyValueMgr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LuckyValueMgr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LuckyValueMgr} */ proto.LuckyValueMgr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getLuckvalueinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.LuckyValueInfo.deserializeBinaryFromReader, 0, new proto.LuckyValueInfo()); }); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setInitvalue(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LuckyValueMgr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LuckyValueMgr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LuckyValueMgr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LuckyValueMgr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getLuckvalueinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.LuckyValueInfo.serializeBinaryToWriter); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * map LuckValueInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.LuckyValueMgr.prototype.getLuckvalueinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.LuckyValueInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.LuckyValueMgr} returns this */ proto.LuckyValueMgr.prototype.clearLuckvalueinfoMap = function() { this.getLuckvalueinfoMap().clear(); return this; }; /** * optional bool InitValue = 2; * @return {boolean} */ proto.LuckyValueMgr.prototype.getInitvalue = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.LuckyValueMgr} returns this */ proto.LuckyValueMgr.prototype.setInitvalue = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LuckyValueMgr} returns this */ proto.LuckyValueMgr.prototype.clearInitvalue = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LuckyValueMgr.prototype.hasInitvalue = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LuckyValueInfo.prototype.toObject = function(opt_includeInstance) { return proto.LuckyValueInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LuckyValueInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LuckyValueInfo.toObject = function(includeInstance, msg) { var f, obj = { luckid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, luckvalue: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, nexttime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LuckyValueInfo} */ proto.LuckyValueInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LuckyValueInfo; return proto.LuckyValueInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LuckyValueInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LuckyValueInfo} */ proto.LuckyValueInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setLuckid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setLuckvalue(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setNexttime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LuckyValueInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LuckyValueInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LuckyValueInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LuckyValueInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional int32 LuckId = 1; * @return {number} */ proto.LuckyValueInfo.prototype.getLuckid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LuckyValueInfo} returns this */ proto.LuckyValueInfo.prototype.setLuckid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LuckyValueInfo} returns this */ proto.LuckyValueInfo.prototype.clearLuckid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LuckyValueInfo.prototype.hasLuckid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 LuckValue = 2; * @return {number} */ proto.LuckyValueInfo.prototype.getLuckvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LuckyValueInfo} returns this */ proto.LuckyValueInfo.prototype.setLuckvalue = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LuckyValueInfo} returns this */ proto.LuckyValueInfo.prototype.clearLuckvalue = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LuckyValueInfo.prototype.hasLuckvalue = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 NextTime = 3; * @return {number} */ proto.LuckyValueInfo.prototype.getNexttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.LuckyValueInfo} returns this */ proto.LuckyValueInfo.prototype.setNexttime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.LuckyValueInfo} returns this */ proto.LuckyValueInfo.prototype.clearNexttime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LuckyValueInfo.prototype.hasNexttime = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HandbookData.prototype.toObject = function(opt_includeInstance) { return proto.HandbookData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HandbookData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HandbookData.toObject = function(includeInstance, msg) { var f, obj = { unlocknoteimportantrolemapMap: (f = msg.getUnlocknoteimportantrolemapMap()) ? f.toObject(includeInstance, proto.HandBookStruct.toObject) : [], unlocknotereadingbookmapMap: (f = msg.getUnlocknotereadingbookmapMap()) ? f.toObject(includeInstance, proto.HandBookStruct.toObject) : [], unlocknotedictionarymapMap: (f = msg.getUnlocknotedictionarymapMap()) ? f.toObject(includeInstance, proto.HandBookStruct.toObject) : [], unlocknotepostcardmapMap: (f = msg.getUnlocknotepostcardmapMap()) ? f.toObject(includeInstance, proto.HandBookStruct.toObject) : [], unlocknotemonthcardmapMap: (f = msg.getUnlocknotemonthcardmapMap()) ? f.toObject(includeInstance, proto.HandBookStruct.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HandbookData} */ proto.HandbookData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HandbookData; return proto.HandbookData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HandbookData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HandbookData} */ proto.HandbookData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getUnlocknoteimportantrolemapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.HandBookStruct.deserializeBinaryFromReader, 0, new proto.HandBookStruct()); }); break; case 2: var value = msg.getUnlocknotereadingbookmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.HandBookStruct.deserializeBinaryFromReader, 0, new proto.HandBookStruct()); }); break; case 3: var value = msg.getUnlocknotedictionarymapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.HandBookStruct.deserializeBinaryFromReader, 0, new proto.HandBookStruct()); }); break; case 4: var value = msg.getUnlocknotepostcardmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.HandBookStruct.deserializeBinaryFromReader, 0, new proto.HandBookStruct()); }); break; case 5: var value = msg.getUnlocknotemonthcardmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.HandBookStruct.deserializeBinaryFromReader, 0, new proto.HandBookStruct()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HandbookData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HandbookData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HandbookData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HandbookData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUnlocknoteimportantrolemapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.HandBookStruct.serializeBinaryToWriter); } f = message.getUnlocknotereadingbookmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.HandBookStruct.serializeBinaryToWriter); } f = message.getUnlocknotedictionarymapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.HandBookStruct.serializeBinaryToWriter); } f = message.getUnlocknotepostcardmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.HandBookStruct.serializeBinaryToWriter); } f = message.getUnlocknotemonthcardmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.HandBookStruct.serializeBinaryToWriter); } }; /** * map UnlockNoteImportantRoleMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HandbookData.prototype.getUnlocknoteimportantrolemapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.HandBookStruct)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HandbookData} returns this */ proto.HandbookData.prototype.clearUnlocknoteimportantrolemapMap = function() { this.getUnlocknoteimportantrolemapMap().clear(); return this; }; /** * map UnlockNoteReadingBookMap = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HandbookData.prototype.getUnlocknotereadingbookmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.HandBookStruct)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HandbookData} returns this */ proto.HandbookData.prototype.clearUnlocknotereadingbookmapMap = function() { this.getUnlocknotereadingbookmapMap().clear(); return this; }; /** * map UnlockNoteDictionaryMap = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HandbookData.prototype.getUnlocknotedictionarymapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.HandBookStruct)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HandbookData} returns this */ proto.HandbookData.prototype.clearUnlocknotedictionarymapMap = function() { this.getUnlocknotedictionarymapMap().clear(); return this; }; /** * map UnlockNotePostCardMap = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HandbookData.prototype.getUnlocknotepostcardmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.HandBookStruct)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HandbookData} returns this */ proto.HandbookData.prototype.clearUnlocknotepostcardmapMap = function() { this.getUnlocknotepostcardmapMap().clear(); return this; }; /** * map UnlockNoteMonthCardMap = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HandbookData.prototype.getUnlocknotemonthcardmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, proto.HandBookStruct)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HandbookData} returns this */ proto.HandbookData.prototype.clearUnlocknotemonthcardmapMap = function() { this.getUnlocknotemonthcardmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HandBookStruct.prototype.toObject = function(opt_includeInstance) { return proto.HandBookStruct.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HandBookStruct} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HandBookStruct.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, unlock: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HandBookStruct} */ proto.HandBookStruct.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HandBookStruct; return proto.HandBookStruct.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HandBookStruct} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HandBookStruct} */ proto.HandBookStruct.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setUnlock(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HandBookStruct.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HandBookStruct.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HandBookStruct} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HandBookStruct.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.HandBookStruct.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.HandBookStruct} returns this */ proto.HandBookStruct.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.HandBookStruct} returns this */ proto.HandBookStruct.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HandBookStruct.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool Unlock = 2; * @return {boolean} */ proto.HandBookStruct.prototype.getUnlock = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.HandBookStruct} returns this */ proto.HandBookStruct.prototype.setUnlock = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.HandBookStruct} returns this */ proto.HandBookStruct.prototype.clearUnlock = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HandBookStruct.prototype.hasUnlock = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MasterModeDungeonInfo.prototype.toObject = function(opt_includeInstance) { return proto.MasterModeDungeonInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MasterModeDungeonInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MasterModeDungeonInfo.toObject = function(includeInstance, msg) { var f, obj = { mastermodedungeoninfoMap: (f = msg.getMastermodedungeoninfoMap()) ? f.toObject(includeInstance, proto.SeasonMasterModeDungeonInfo.toObject) : [], isshow: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MasterModeDungeonInfo} */ proto.MasterModeDungeonInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MasterModeDungeonInfo; return proto.MasterModeDungeonInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MasterModeDungeonInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MasterModeDungeonInfo} */ proto.MasterModeDungeonInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getMastermodedungeoninfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.SeasonMasterModeDungeonInfo.deserializeBinaryFromReader, 0, new proto.SeasonMasterModeDungeonInfo()); }); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsshow(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MasterModeDungeonInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MasterModeDungeonInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MasterModeDungeonInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MasterModeDungeonInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMastermodedungeoninfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.SeasonMasterModeDungeonInfo.serializeBinaryToWriter); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * map MasterModeDungeonInfo_ = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MasterModeDungeonInfo.prototype.getMastermodedungeoninfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SeasonMasterModeDungeonInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MasterModeDungeonInfo} returns this */ proto.MasterModeDungeonInfo.prototype.clearMastermodedungeoninfoMap = function() { this.getMastermodedungeoninfoMap().clear(); return this; }; /** * optional bool IsShow = 2; * @return {boolean} */ proto.MasterModeDungeonInfo.prototype.getIsshow = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.MasterModeDungeonInfo} returns this */ proto.MasterModeDungeonInfo.prototype.setIsshow = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MasterModeDungeonInfo} returns this */ proto.MasterModeDungeonInfo.prototype.clearIsshow = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MasterModeDungeonInfo.prototype.hasIsshow = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonMasterModeDungeonInfo.prototype.toObject = function(opt_includeInstance) { return proto.SeasonMasterModeDungeonInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonMasterModeDungeonInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonMasterModeDungeonInfo.toObject = function(includeInstance, msg) { var f, obj = { mastermodediffinfoMap: (f = msg.getMastermodediffinfoMap()) ? f.toObject(includeInstance, proto.MasterModeDiffDungeonInfo.toObject) : [], dungeoninfoupdatetime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, seasonawardsMap: (f = msg.getSeasonawardsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonMasterModeDungeonInfo} */ proto.SeasonMasterModeDungeonInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonMasterModeDungeonInfo; return proto.SeasonMasterModeDungeonInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonMasterModeDungeonInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonMasterModeDungeonInfo} */ proto.SeasonMasterModeDungeonInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getMastermodediffinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.MasterModeDiffDungeonInfo.deserializeBinaryFromReader, 0, new proto.MasterModeDiffDungeonInfo()); }); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setDungeoninfoupdatetime(value); break; case 3: var value = msg.getSeasonawardsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonMasterModeDungeonInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonMasterModeDungeonInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonMasterModeDungeonInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonMasterModeDungeonInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMastermodediffinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.MasterModeDiffDungeonInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = message.getSeasonawardsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map MasterModeDiffInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonMasterModeDungeonInfo.prototype.getMastermodediffinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.MasterModeDiffDungeonInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonMasterModeDungeonInfo} returns this */ proto.SeasonMasterModeDungeonInfo.prototype.clearMastermodediffinfoMap = function() { this.getMastermodediffinfoMap().clear(); return this; }; /** * optional int64 DungeonInfoUpdateTime = 2; * @return {number} */ proto.SeasonMasterModeDungeonInfo.prototype.getDungeoninfoupdatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SeasonMasterModeDungeonInfo} returns this */ proto.SeasonMasterModeDungeonInfo.prototype.setDungeoninfoupdatetime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SeasonMasterModeDungeonInfo} returns this */ proto.SeasonMasterModeDungeonInfo.prototype.clearDungeoninfoupdatetime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SeasonMasterModeDungeonInfo.prototype.hasDungeoninfoupdatetime = function() { return jspb.Message.getField(this, 2) != null; }; /** * map SeasonAwards = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonMasterModeDungeonInfo.prototype.getSeasonawardsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonMasterModeDungeonInfo} returns this */ proto.SeasonMasterModeDungeonInfo.prototype.clearSeasonawardsMap = function() { this.getSeasonawardsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MasterModeDiffDungeonInfo.prototype.toObject = function(opt_includeInstance) { return proto.MasterModeDiffDungeonInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MasterModeDiffDungeonInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MasterModeDiffDungeonInfo.toObject = function(includeInstance, msg) { var f, obj = { dungeoninfoMap: (f = msg.getDungeoninfoMap()) ? f.toObject(includeInstance, proto.DungeonInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MasterModeDiffDungeonInfo} */ proto.MasterModeDiffDungeonInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MasterModeDiffDungeonInfo; return proto.MasterModeDiffDungeonInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MasterModeDiffDungeonInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MasterModeDiffDungeonInfo} */ proto.MasterModeDiffDungeonInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getDungeoninfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonInfo.deserializeBinaryFromReader, 0, new proto.DungeonInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MasterModeDiffDungeonInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MasterModeDiffDungeonInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MasterModeDiffDungeonInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MasterModeDiffDungeonInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDungeoninfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonInfo.serializeBinaryToWriter); } }; /** * map DungeonInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MasterModeDiffDungeonInfo.prototype.getDungeoninfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MasterModeDiffDungeonInfo} returns this */ proto.MasterModeDiffDungeonInfo.prototype.clearDungeoninfoMap = function() { this.getDungeoninfoMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.StatisticsData.prototype.toObject = function(opt_includeInstance) { return proto.StatisticsData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.StatisticsData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StatisticsData.toObject = function(includeInstance, msg) { var f, obj = { statrecordmapMap: (f = msg.getStatrecordmapMap()) ? f.toObject(includeInstance, proto.StatRecord.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.StatisticsData} */ proto.StatisticsData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.StatisticsData; return proto.StatisticsData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.StatisticsData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.StatisticsData} */ proto.StatisticsData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getStatrecordmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.StatRecord.deserializeBinaryFromReader, 0, new proto.StatRecord()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.StatisticsData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.StatisticsData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.StatisticsData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StatisticsData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getStatrecordmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.StatRecord.serializeBinaryToWriter); } }; /** * map StatRecordMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.StatisticsData.prototype.getStatrecordmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.StatRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.StatisticsData} returns this */ proto.StatisticsData.prototype.clearStatrecordmapMap = function() { this.getStatrecordmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.StatRecord.prototype.toObject = function(opt_includeInstance) { return proto.StatRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.StatRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StatRecord.toObject = function(includeInstance, msg) { var f, obj = { cnt: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, groupcntsMap: (f = msg.getGroupcntsMap()) ? f.toObject(includeInstance, undefined) : [], scenerecordsMap: (f = msg.getScenerecordsMap()) ? f.toObject(includeInstance, proto.SceneRecord.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.StatRecord} */ proto.StatRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.StatRecord; return proto.StatRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.StatRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.StatRecord} */ proto.StatRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); msg.setCnt(value); break; case 2: var value = msg.getGroupcntsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readUint64, null, 0, 0); }); break; case 3: var value = msg.getScenerecordsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.SceneRecord.deserializeBinaryFromReader, 0, new proto.SceneRecord()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.StatRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.StatRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.StatRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StatRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint64( 1, f ); } f = message.getGroupcntsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeUint64); } f = message.getScenerecordsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.SceneRecord.serializeBinaryToWriter); } }; /** * optional uint64 Cnt = 1; * @return {number} */ proto.StatRecord.prototype.getCnt = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.StatRecord} returns this */ proto.StatRecord.prototype.setCnt = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.StatRecord} returns this */ proto.StatRecord.prototype.clearCnt = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StatRecord.prototype.hasCnt = function() { return jspb.Message.getField(this, 1) != null; }; /** * map GroupCnts = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.StatRecord.prototype.getGroupcntsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.StatRecord} returns this */ proto.StatRecord.prototype.clearGroupcntsMap = function() { this.getGroupcntsMap().clear(); return this; }; /** * map SceneRecords = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.StatRecord.prototype.getScenerecordsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.SceneRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.StatRecord} returns this */ proto.StatRecord.prototype.clearScenerecordsMap = function() { this.getScenerecordsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SceneRecord.prototype.toObject = function(opt_includeInstance) { return proto.SceneRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SceneRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneRecord.toObject = function(includeInstance, msg) { var f, obj = { cnt: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, groupcntsMap: (f = msg.getGroupcntsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SceneRecord} */ proto.SceneRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SceneRecord; return proto.SceneRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SceneRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SceneRecord} */ proto.SceneRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); msg.setCnt(value); break; case 2: var value = msg.getGroupcntsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readUint64, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SceneRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SceneRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SceneRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint64( 1, f ); } f = message.getGroupcntsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeUint64); } }; /** * optional uint64 Cnt = 1; * @return {number} */ proto.SceneRecord.prototype.getCnt = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SceneRecord} returns this */ proto.SceneRecord.prototype.setCnt = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneRecord} returns this */ proto.SceneRecord.prototype.clearCnt = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneRecord.prototype.hasCnt = function() { return jspb.Message.getField(this, 1) != null; }; /** * map GroupCnts = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SceneRecord.prototype.getGroupcntsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SceneRecord} returns this */ proto.SceneRecord.prototype.clearGroupcntsMap = function() { this.getGroupcntsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CompensationStatistics.prototype.toObject = function(opt_includeInstance) { return proto.CompensationStatistics.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CompensationStatistics} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompensationStatistics.toObject = function(includeInstance, msg) { var f, obj = { seasondataMap: (f = msg.getSeasondataMap()) ? f.toObject(includeInstance, proto.CompensationSeasonStatistics.toObject) : [], lastseasonid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, curpoint: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, maxpoint: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, lastweekMap: (f = msg.getLastweekMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CompensationStatistics} */ proto.CompensationStatistics.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CompensationStatistics; return proto.CompensationStatistics.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CompensationStatistics} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CompensationStatistics} */ proto.CompensationStatistics.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSeasondataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.CompensationSeasonStatistics.deserializeBinaryFromReader, 0, new proto.CompensationSeasonStatistics()); }); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setLastseasonid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setCurpoint(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setMaxpoint(value); break; case 5: var value = msg.getLastweekMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CompensationStatistics.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CompensationStatistics.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CompensationStatistics} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompensationStatistics.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSeasondataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.CompensationSeasonStatistics.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = message.getLastweekMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map SeasonData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CompensationStatistics.prototype.getSeasondataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.CompensationSeasonStatistics)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CompensationStatistics} returns this */ proto.CompensationStatistics.prototype.clearSeasondataMap = function() { this.getSeasondataMap().clear(); return this; }; /** * optional uint32 LastSeasonId = 2; * @return {number} */ proto.CompensationStatistics.prototype.getLastseasonid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CompensationStatistics} returns this */ proto.CompensationStatistics.prototype.setLastseasonid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CompensationStatistics} returns this */ proto.CompensationStatistics.prototype.clearLastseasonid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CompensationStatistics.prototype.hasLastseasonid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 CurPoint = 3; * @return {number} */ proto.CompensationStatistics.prototype.getCurpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.CompensationStatistics} returns this */ proto.CompensationStatistics.prototype.setCurpoint = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.CompensationStatistics} returns this */ proto.CompensationStatistics.prototype.clearCurpoint = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CompensationStatistics.prototype.hasCurpoint = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 MaxPoint = 4; * @return {number} */ proto.CompensationStatistics.prototype.getMaxpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.CompensationStatistics} returns this */ proto.CompensationStatistics.prototype.setMaxpoint = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.CompensationStatistics} returns this */ proto.CompensationStatistics.prototype.clearMaxpoint = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CompensationStatistics.prototype.hasMaxpoint = function() { return jspb.Message.getField(this, 4) != null; }; /** * map LastWeek = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CompensationStatistics.prototype.getLastweekMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CompensationStatistics} returns this */ proto.CompensationStatistics.prototype.clearLastweekMap = function() { this.getLastweekMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CompensationSeasonStatistics.prototype.toObject = function(opt_includeInstance) { return proto.CompensationSeasonStatistics.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CompensationSeasonStatistics} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompensationSeasonStatistics.toObject = function(includeInstance, msg) { var f, obj = { weekdataMap: (f = msg.getWeekdataMap()) ? f.toObject(includeInstance, proto.CompensationRecord.toObject) : [], compensationMap: (f = msg.getCompensationMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CompensationSeasonStatistics} */ proto.CompensationSeasonStatistics.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CompensationSeasonStatistics; return proto.CompensationSeasonStatistics.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CompensationSeasonStatistics} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CompensationSeasonStatistics} */ proto.CompensationSeasonStatistics.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getWeekdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.CompensationRecord.deserializeBinaryFromReader, 0, new proto.CompensationRecord()); }); break; case 2: var value = msg.getCompensationMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CompensationSeasonStatistics.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CompensationSeasonStatistics.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CompensationSeasonStatistics} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompensationSeasonStatistics.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getWeekdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.CompensationRecord.serializeBinaryToWriter); } f = message.getCompensationMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map WeekData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CompensationSeasonStatistics.prototype.getWeekdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.CompensationRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CompensationSeasonStatistics} returns this */ proto.CompensationSeasonStatistics.prototype.clearWeekdataMap = function() { this.getWeekdataMap().clear(); return this; }; /** * map Compensation = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CompensationSeasonStatistics.prototype.getCompensationMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CompensationSeasonStatistics} returns this */ proto.CompensationSeasonStatistics.prototype.clearCompensationMap = function() { this.getCompensationMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CompensationRecord.prototype.toObject = function(opt_includeInstance) { return proto.CompensationRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CompensationRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompensationRecord.toObject = function(includeInstance, msg) { var f, obj = { compensationdataMap: (f = msg.getCompensationdataMap()) ? f.toObject(includeInstance, proto.CompensationData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CompensationRecord} */ proto.CompensationRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CompensationRecord; return proto.CompensationRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CompensationRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CompensationRecord} */ proto.CompensationRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getCompensationdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.CompensationData.deserializeBinaryFromReader, 0, new proto.CompensationData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CompensationRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CompensationRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CompensationRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompensationRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCompensationdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.CompensationData.serializeBinaryToWriter); } }; /** * map CompensationData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CompensationRecord.prototype.getCompensationdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.CompensationData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CompensationRecord} returns this */ proto.CompensationRecord.prototype.clearCompensationdataMap = function() { this.getCompensationdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CompensationData.prototype.toObject = function(opt_includeInstance) { return proto.CompensationData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CompensationData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompensationData.toObject = function(includeInstance, msg) { var f, obj = { overflowenergy: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, finishtimes: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, climbuplayerid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CompensationData} */ proto.CompensationData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CompensationData; return proto.CompensationData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CompensationData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CompensationData} */ proto.CompensationData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setOverflowenergy(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setFinishtimes(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setClimbuplayerid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CompensationData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CompensationData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CompensationData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompensationData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int64 OverflowEnergy = 1; * @return {number} */ proto.CompensationData.prototype.getOverflowenergy = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CompensationData} returns this */ proto.CompensationData.prototype.setOverflowenergy = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CompensationData} returns this */ proto.CompensationData.prototype.clearOverflowenergy = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CompensationData.prototype.hasOverflowenergy = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 FinishTimes = 2; * @return {number} */ proto.CompensationData.prototype.getFinishtimes = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CompensationData} returns this */ proto.CompensationData.prototype.setFinishtimes = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CompensationData} returns this */ proto.CompensationData.prototype.clearFinishtimes = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CompensationData.prototype.hasFinishtimes = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 ClimbUpLayerId = 3; * @return {number} */ proto.CompensationData.prototype.getClimbuplayerid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.CompensationData} returns this */ proto.CompensationData.prototype.setClimbuplayerid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.CompensationData} returns this */ proto.CompensationData.prototype.clearClimbuplayerid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CompensationData.prototype.hasClimbuplayerid = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.MailClaimedInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MailClaimedInfo.prototype.toObject = function(opt_includeInstance) { return proto.MailClaimedInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MailClaimedInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MailClaimedInfo.toObject = function(includeInstance, msg) { var f, obj = { attachmentmaillistList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, claimedmailsMap: (f = msg.getClaimedmailsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MailClaimedInfo} */ proto.MailClaimedInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MailClaimedInfo; return proto.MailClaimedInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MailClaimedInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MailClaimedInfo} */ proto.MailClaimedInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addAttachmentmaillist(values[i]); } break; case 2: var value = msg.getClaimedmailsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MailClaimedInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MailClaimedInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MailClaimedInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MailClaimedInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAttachmentmaillistList(); if (f.length > 0) { writer.writePackedInt64( 1, f ); } f = message.getClaimedmailsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeInt64); } }; /** * repeated int64 AttachmentMailList = 1; * @return {!Array} */ proto.MailClaimedInfo.prototype.getAttachmentmaillistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.MailClaimedInfo} returns this */ proto.MailClaimedInfo.prototype.setAttachmentmaillistList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.MailClaimedInfo} returns this */ proto.MailClaimedInfo.prototype.addAttachmentmaillist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.MailClaimedInfo} returns this */ proto.MailClaimedInfo.prototype.clearAttachmentmaillistList = function() { return this.setAttachmentmaillistList([]); }; /** * map ClaimedMails = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.MailClaimedInfo.prototype.getClaimedmailsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.MailClaimedInfo} returns this */ proto.MailClaimedInfo.prototype.clearClaimedmailsMap = function() { this.getClaimedmailsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NewbieData.prototype.toObject = function(opt_includeInstance) { return proto.NewbieData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NewbieData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NewbieData.toObject = function(includeInstance, msg) { var f, obj = { totalonlinetime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, isnewbie: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, iscancelnewbie: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NewbieData} */ proto.NewbieData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NewbieData; return proto.NewbieData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NewbieData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NewbieData} */ proto.NewbieData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTotalonlinetime(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsnewbie(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIscancelnewbie(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NewbieData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NewbieData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NewbieData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NewbieData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } }; /** * optional int64 TotalOnlineTime = 1; * @return {number} */ proto.NewbieData.prototype.getTotalonlinetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.NewbieData} returns this */ proto.NewbieData.prototype.setTotalonlinetime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NewbieData} returns this */ proto.NewbieData.prototype.clearTotalonlinetime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NewbieData.prototype.hasTotalonlinetime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsNewbie = 2; * @return {boolean} */ proto.NewbieData.prototype.getIsnewbie = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.NewbieData} returns this */ proto.NewbieData.prototype.setIsnewbie = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.NewbieData} returns this */ proto.NewbieData.prototype.clearIsnewbie = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NewbieData.prototype.hasIsnewbie = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsCancelNewbie = 3; * @return {boolean} */ proto.NewbieData.prototype.getIscancelnewbie = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.NewbieData} returns this */ proto.NewbieData.prototype.setIscancelnewbie = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.NewbieData} returns this */ proto.NewbieData.prototype.clearIscancelnewbie = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NewbieData.prototype.hasIscancelnewbie = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FightPoint.prototype.toObject = function(opt_includeInstance) { return proto.FightPoint.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FightPoint} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightPoint.toObject = function(includeInstance, msg) { var f, obj = { totalfightpoint: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, fightpointdataMap: (f = msg.getFightpointdataMap()) ? f.toObject(includeInstance, proto.FightPointData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FightPoint} */ proto.FightPoint.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FightPoint; return proto.FightPoint.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FightPoint} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FightPoint} */ proto.FightPoint.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTotalfightpoint(value); break; case 2: var value = msg.getFightpointdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.FightPointData.deserializeBinaryFromReader, 0, new proto.FightPointData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FightPoint.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FightPoint.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FightPoint} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightPoint.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getFightpointdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.FightPointData.serializeBinaryToWriter); } }; /** * optional int32 TotalFightPoint = 1; * @return {number} */ proto.FightPoint.prototype.getTotalfightpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FightPoint} returns this */ proto.FightPoint.prototype.setTotalfightpoint = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FightPoint} returns this */ proto.FightPoint.prototype.clearTotalfightpoint = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightPoint.prototype.hasTotalfightpoint = function() { return jspb.Message.getField(this, 1) != null; }; /** * map FightPointData = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FightPoint.prototype.getFightpointdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.FightPointData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FightPoint} returns this */ proto.FightPoint.prototype.clearFightpointdataMap = function() { this.getFightpointdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FightPointData.prototype.toObject = function(opt_includeInstance) { return proto.FightPointData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FightPointData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightPointData.toObject = function(includeInstance, msg) { var f, obj = { functiontype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, totalpoint: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, point: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, subfunctiondataMap: (f = msg.getSubfunctiondataMap()) ? f.toObject(includeInstance, proto.FightPointSubData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FightPointData} */ proto.FightPointData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FightPointData; return proto.FightPointData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FightPointData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FightPointData} */ proto.FightPointData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setFunctiontype(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTotalpoint(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setPoint(value); break; case 4: var value = msg.getSubfunctiondataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.FightPointSubData.deserializeBinaryFromReader, 0, new proto.FightPointSubData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FightPointData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FightPointData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FightPointData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightPointData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getSubfunctiondataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.FightPointSubData.serializeBinaryToWriter); } }; /** * optional int32 FunctionType = 1; * @return {number} */ proto.FightPointData.prototype.getFunctiontype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FightPointData} returns this */ proto.FightPointData.prototype.setFunctiontype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FightPointData} returns this */ proto.FightPointData.prototype.clearFunctiontype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightPointData.prototype.hasFunctiontype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TotalPoint = 2; * @return {number} */ proto.FightPointData.prototype.getTotalpoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FightPointData} returns this */ proto.FightPointData.prototype.setTotalpoint = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FightPointData} returns this */ proto.FightPointData.prototype.clearTotalpoint = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightPointData.prototype.hasTotalpoint = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Point = 3; * @return {number} */ proto.FightPointData.prototype.getPoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FightPointData} returns this */ proto.FightPointData.prototype.setPoint = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FightPointData} returns this */ proto.FightPointData.prototype.clearPoint = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightPointData.prototype.hasPoint = function() { return jspb.Message.getField(this, 3) != null; }; /** * map SubFunctionData = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FightPointData.prototype.getSubfunctiondataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.FightPointSubData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FightPointData} returns this */ proto.FightPointData.prototype.clearSubfunctiondataMap = function() { this.getSubfunctiondataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FightPointSubData.prototype.toObject = function(opt_includeInstance) { return proto.FightPointSubData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FightPointSubData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightPointSubData.toObject = function(includeInstance, msg) { var f, obj = { functiontype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, rootfunctiontype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, point: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FightPointSubData} */ proto.FightPointSubData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FightPointSubData; return proto.FightPointSubData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FightPointSubData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FightPointSubData} */ proto.FightPointSubData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setFunctiontype(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setRootfunctiontype(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setPoint(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FightPointSubData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FightPointSubData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FightPointSubData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FightPointSubData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 FunctionType = 1; * @return {number} */ proto.FightPointSubData.prototype.getFunctiontype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FightPointSubData} returns this */ proto.FightPointSubData.prototype.setFunctiontype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FightPointSubData} returns this */ proto.FightPointSubData.prototype.clearFunctiontype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightPointSubData.prototype.hasFunctiontype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 RootFunctionType = 2; * @return {number} */ proto.FightPointSubData.prototype.getRootfunctiontype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FightPointSubData} returns this */ proto.FightPointSubData.prototype.setRootfunctiontype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FightPointSubData} returns this */ proto.FightPointSubData.prototype.clearRootfunctiontype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightPointSubData.prototype.hasRootfunctiontype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Point = 3; * @return {number} */ proto.FightPointSubData.prototype.getPoint = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FightPointSubData} returns this */ proto.FightPointSubData.prototype.setPoint = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FightPointSubData} returns this */ proto.FightPointSubData.prototype.clearPoint = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FightPointSubData.prototype.hasPoint = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SignInfo.prototype.toObject = function(opt_includeInstance) { return proto.SignInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SignInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SignInfo.toObject = function(includeInstance, msg) { var f, obj = { signinfoMap: (f = msg.getSigninfoMap()) ? f.toObject(includeInstance, proto.SignStatusList.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SignInfo} */ proto.SignInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SignInfo; return proto.SignInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SignInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SignInfo} */ proto.SignInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSigninfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.SignStatusList.deserializeBinaryFromReader, 0, new proto.SignStatusList()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SignInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SignInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SignInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SignInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSigninfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.SignStatusList.serializeBinaryToWriter); } }; /** * map SignInfo_ = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SignInfo.prototype.getSigninfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SignStatusList)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SignInfo} returns this */ proto.SignInfo.prototype.clearSigninfoMap = function() { this.getSigninfoMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SignStatusList.prototype.toObject = function(opt_includeInstance) { return proto.SignStatusList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SignStatusList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SignStatusList.toObject = function(includeInstance, msg) { var f, obj = { signstatusdataMap: (f = msg.getSignstatusdataMap()) ? f.toObject(includeInstance, proto.SignStatus.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SignStatusList} */ proto.SignStatusList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SignStatusList; return proto.SignStatusList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SignStatusList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SignStatusList} */ proto.SignStatusList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSignstatusdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.SignStatus.deserializeBinaryFromReader, 0, new proto.SignStatus()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SignStatusList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SignStatusList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SignStatusList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SignStatusList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSignstatusdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.SignStatus.serializeBinaryToWriter); } }; /** * map SignStatusData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SignStatusList.prototype.getSignstatusdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SignStatus)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SignStatusList} returns this */ proto.SignStatusList.prototype.clearSignstatusdataMap = function() { this.getSignstatusdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SignStatus.prototype.toObject = function(opt_includeInstance) { return proto.SignStatus.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SignStatus} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SignStatus.toObject = function(includeInstance, msg) { var f, obj = { issigned: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, isrewarded: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, issupplement: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, signtime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, rewardtime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SignStatus} */ proto.SignStatus.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SignStatus; return proto.SignStatus.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SignStatus} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SignStatus} */ proto.SignStatus.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIssigned(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsrewarded(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIssupplement(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setSigntime(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setRewardtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SignStatus.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SignStatus.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SignStatus} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SignStatus.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } }; /** * optional bool IsSigned = 1; * @return {boolean} */ proto.SignStatus.prototype.getIssigned = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.setIssigned = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.clearIssigned = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SignStatus.prototype.hasIssigned = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsRewarded = 2; * @return {boolean} */ proto.SignStatus.prototype.getIsrewarded = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.setIsrewarded = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.clearIsrewarded = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SignStatus.prototype.hasIsrewarded = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsSupplement = 3; * @return {boolean} */ proto.SignStatus.prototype.getIssupplement = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.setIssupplement = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.clearIssupplement = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SignStatus.prototype.hasIssupplement = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 SignTime = 4; * @return {number} */ proto.SignStatus.prototype.getSigntime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.setSigntime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.clearSigntime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SignStatus.prototype.hasSigntime = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 RewardTime = 5; * @return {number} */ proto.SignStatus.prototype.getRewardtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.setRewardtime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.SignStatus} returns this */ proto.SignStatus.prototype.clearRewardtime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SignStatus.prototype.hasRewardtime = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CharStatisticsData.prototype.toObject = function(opt_includeInstance) { return proto.CharStatisticsData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CharStatisticsData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CharStatisticsData.toObject = function(includeInstance, msg) { var f, obj = { logindays: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, lastlogintime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CharStatisticsData} */ proto.CharStatisticsData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CharStatisticsData; return proto.CharStatisticsData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CharStatisticsData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CharStatisticsData} */ proto.CharStatisticsData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setLogindays(value); break; case 2: var value = /** @type {number} */ (reader.readUint64()); msg.setLastlogintime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CharStatisticsData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CharStatisticsData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CharStatisticsData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CharStatisticsData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint64( 2, f ); } }; /** * optional int32 LoginDays = 1; * @return {number} */ proto.CharStatisticsData.prototype.getLogindays = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CharStatisticsData} returns this */ proto.CharStatisticsData.prototype.setLogindays = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CharStatisticsData} returns this */ proto.CharStatisticsData.prototype.clearLogindays = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharStatisticsData.prototype.hasLogindays = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint64 LastLoginTime = 2; * @return {number} */ proto.CharStatisticsData.prototype.getLastlogintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CharStatisticsData} returns this */ proto.CharStatisticsData.prototype.setLastlogintime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CharStatisticsData} returns this */ proto.CharStatisticsData.prototype.clearLastlogintime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CharStatisticsData.prototype.hasLastlogintime = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ClientHitInfo.repeatedFields_ = [13]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ClientHitInfo.prototype.toObject = function(opt_includeInstance) { return proto.ClientHitInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ClientHitInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientHitInfo.toObject = function(includeInstance, msg) { var f, obj = { sourcetype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, uuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, id: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, stage: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, eventid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, attacktime: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, attackuuid: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, targetuuid: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, attackpos: (f = msg.getAttackpos()) && proto.Vector3.toObject(includeInstance, f), targetpos: (f = msg.getTargetpos()) && proto.Vector3.toObject(includeInstance, f), damagepos: (f = msg.getDamagepos()) && proto.Vector3.toObject(includeInstance, f), partinfosList: jspb.Message.toObjectList(msg.getPartinfosList(), proto.ClientHitPartInfo.toObject, includeInstance), isdodgesuccess: (f = jspb.Message.getBooleanField(msg, 14)) == null ? undefined : f, skilluuid: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ClientHitInfo} */ proto.ClientHitInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ClientHitInfo; return proto.ClientHitInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ClientHitInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ClientHitInfo} */ proto.ClientHitInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EDamageSource} */ (reader.readEnum()); msg.setSourcetype(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setStage(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setEventid(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setAttacktime(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setAttackuuid(value); break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; case 10: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setAttackpos(value); break; case 11: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setTargetpos(value); break; case 12: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setDamagepos(value); break; case 13: var value = new proto.ClientHitPartInfo; reader.readMessage(value,proto.ClientHitPartInfo.deserializeBinaryFromReader); msg.addPartinfos(value); break; case 14: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsdodgesuccess(value); break; case 15: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ClientHitInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ClientHitInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ClientHitInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientHitInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EDamageSource} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = message.getAttackpos(); if (f != null) { writer.writeMessage( 10, f, proto.Vector3.serializeBinaryToWriter ); } f = message.getTargetpos(); if (f != null) { writer.writeMessage( 11, f, proto.Vector3.serializeBinaryToWriter ); } f = message.getDamagepos(); if (f != null) { writer.writeMessage( 12, f, proto.Vector3.serializeBinaryToWriter ); } f = message.getPartinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 13, f, proto.ClientHitPartInfo.serializeBinaryToWriter ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 14)); if (f != null) { writer.writeBool( 14, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 15)); if (f != null) { writer.writeInt32( 15, f ); } }; /** * optional EDamageSource SourceType = 1; * @return {!proto.EDamageSource} */ proto.ClientHitInfo.prototype.getSourcetype = function() { return /** @type {!proto.EDamageSource} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EDamageSource} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setSourcetype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearSourcetype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasSourcetype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Uuid = 2; * @return {number} */ proto.ClientHitInfo.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setUuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearUuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasUuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Id = 3; * @return {number} */ proto.ClientHitInfo.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearId = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasId = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 Level = 4; * @return {number} */ proto.ClientHitInfo.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setLevel = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearLevel = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasLevel = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 Stage = 5; * @return {number} */ proto.ClientHitInfo.prototype.getStage = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setStage = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearStage = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasStage = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 EventId = 6; * @return {number} */ proto.ClientHitInfo.prototype.getEventid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setEventid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearEventid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasEventid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int64 AttackTime = 7; * @return {number} */ proto.ClientHitInfo.prototype.getAttacktime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setAttacktime = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearAttacktime = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasAttacktime = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int64 AttackUuid = 8; * @return {number} */ proto.ClientHitInfo.prototype.getAttackuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setAttackuuid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearAttackuuid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasAttackuuid = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int64 TargetUuid = 9; * @return {number} */ proto.ClientHitInfo.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional Vector3 AttackPos = 10; * @return {?proto.Vector3} */ proto.ClientHitInfo.prototype.getAttackpos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 10)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setAttackpos = function(value) { return jspb.Message.setWrapperField(this, 10, value); }; /** * Clears the message field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearAttackpos = function() { return this.setAttackpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasAttackpos = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional Vector3 TargetPos = 11; * @return {?proto.Vector3} */ proto.ClientHitInfo.prototype.getTargetpos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 11)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setTargetpos = function(value) { return jspb.Message.setWrapperField(this, 11, value); }; /** * Clears the message field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearTargetpos = function() { return this.setTargetpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasTargetpos = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional Vector3 DamagePos = 12; * @return {?proto.Vector3} */ proto.ClientHitInfo.prototype.getDamagepos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 12)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setDamagepos = function(value) { return jspb.Message.setWrapperField(this, 12, value); }; /** * Clears the message field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearDamagepos = function() { return this.setDamagepos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasDamagepos = function() { return jspb.Message.getField(this, 12) != null; }; /** * repeated ClientHitPartInfo PartInfos = 13; * @return {!Array} */ proto.ClientHitInfo.prototype.getPartinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ClientHitPartInfo, 13)); }; /** * @param {!Array} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setPartinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 13, value); }; /** * @param {!proto.ClientHitPartInfo=} opt_value * @param {number=} opt_index * @return {!proto.ClientHitPartInfo} */ proto.ClientHitInfo.prototype.addPartinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.ClientHitPartInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearPartinfosList = function() { return this.setPartinfosList([]); }; /** * optional bool IsDodgeSuccess = 14; * @return {boolean} */ proto.ClientHitInfo.prototype.getIsdodgesuccess = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false)); }; /** * @param {boolean} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setIsdodgesuccess = function(value) { return jspb.Message.setField(this, 14, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearIsdodgesuccess = function() { return jspb.Message.setField(this, 14, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasIsdodgesuccess = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional int32 SkillUuid = 15; * @return {number} */ proto.ClientHitInfo.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); }; /** * @param {number} value * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 15, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientHitInfo} returns this */ proto.ClientHitInfo.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 15, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientHitInfo.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 15) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Clutter.prototype.toObject = function(opt_includeInstance) { return proto.Clutter.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Clutter} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Clutter.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, configid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, positionid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Clutter} */ proto.Clutter.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Clutter; return proto.Clutter.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Clutter} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Clutter} */ proto.Clutter.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setConfigid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setPositionid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Clutter.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Clutter.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Clutter} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Clutter.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.Clutter.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.Clutter} returns this */ proto.Clutter.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Clutter} returns this */ proto.Clutter.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Clutter.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 ConfigId = 2; * @return {number} */ proto.Clutter.prototype.getConfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.Clutter} returns this */ proto.Clutter.prototype.setConfigid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Clutter} returns this */ proto.Clutter.prototype.clearConfigid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Clutter.prototype.hasConfigid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 PositionId = 3; * @return {number} */ proto.Clutter.prototype.getPositionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.Clutter} returns this */ proto.Clutter.prototype.setPositionid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.Clutter} returns this */ proto.Clutter.prototype.clearPositionid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Clutter.prototype.hasPositionid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ClutterGenerationRecord.prototype.toObject = function(opt_includeInstance) { return proto.ClutterGenerationRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ClutterGenerationRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClutterGenerationRecord.toObject = function(includeInstance, msg) { var f, obj = { generated: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ClutterGenerationRecord} */ proto.ClutterGenerationRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ClutterGenerationRecord; return proto.ClutterGenerationRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ClutterGenerationRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ClutterGenerationRecord} */ proto.ClutterGenerationRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setGenerated(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ClutterGenerationRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ClutterGenerationRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ClutterGenerationRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClutterGenerationRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } }; /** * optional bool Generated = 1; * @return {boolean} */ proto.ClutterGenerationRecord.prototype.getGenerated = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.ClutterGenerationRecord} returns this */ proto.ClutterGenerationRecord.prototype.setGenerated = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ClutterGenerationRecord} returns this */ proto.ClutterGenerationRecord.prototype.clearGenerated = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClutterGenerationRecord.prototype.hasGenerated = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CollectingItem.prototype.toObject = function(opt_includeInstance) { return proto.CollectingItem.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CollectingItem} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CollectingItem.toObject = function(includeInstance, msg) { var f, obj = { itemid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, collectednum: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, collectprice: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, ishigh: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CollectingItem} */ proto.CollectingItem.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CollectingItem; return proto.CollectingItem.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CollectingItem} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CollectingItem} */ proto.CollectingItem.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setItemid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCollectednum(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setCollectprice(value); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setIshigh(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CollectingItem.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CollectingItem.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CollectingItem} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CollectingItem.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } }; /** * optional int32 ItemId = 1; * @return {number} */ proto.CollectingItem.prototype.getItemid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CollectingItem} returns this */ proto.CollectingItem.prototype.setItemid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CollectingItem} returns this */ proto.CollectingItem.prototype.clearItemid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CollectingItem.prototype.hasItemid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 CollectedNum = 2; * @return {number} */ proto.CollectingItem.prototype.getCollectednum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CollectingItem} returns this */ proto.CollectingItem.prototype.setCollectednum = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CollectingItem} returns this */ proto.CollectingItem.prototype.clearCollectednum = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CollectingItem.prototype.hasCollectednum = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 CollectPrice = 3; * @return {number} */ proto.CollectingItem.prototype.getCollectprice = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.CollectingItem} returns this */ proto.CollectingItem.prototype.setCollectprice = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.CollectingItem} returns this */ proto.CollectingItem.prototype.clearCollectprice = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CollectingItem.prototype.hasCollectprice = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional bool IsHigh = 4; * @return {boolean} */ proto.CollectingItem.prototype.getIshigh = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.CollectingItem} returns this */ proto.CollectingItem.prototype.setIshigh = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.CollectingItem} returns this */ proto.CollectingItem.prototype.clearIshigh = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CollectingItem.prototype.hasIshigh = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityAuthorityInfo.prototype.toObject = function(opt_includeInstance) { return proto.CommunityAuthorityInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityAuthorityInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityAuthorityInfo.toObject = function(includeInstance, msg) { var f, obj = { authorityMap: (f = msg.getAuthorityMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityAuthorityInfo} */ proto.CommunityAuthorityInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityAuthorityInfo; return proto.CommunityAuthorityInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityAuthorityInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityAuthorityInfo} */ proto.CommunityAuthorityInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getAuthorityMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityAuthorityInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityAuthorityInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityAuthorityInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityAuthorityInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAuthorityMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * map Authority = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CommunityAuthorityInfo.prototype.getAuthorityMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CommunityAuthorityInfo} returns this */ proto.CommunityAuthorityInfo.prototype.clearAuthorityMap = function() { this.getAuthorityMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityBuildFurnitureInfo.prototype.toObject = function(opt_includeInstance) { return proto.CommunityBuildFurnitureInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityBuildFurnitureInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityBuildFurnitureInfo.toObject = function(includeInstance, msg) { var f, obj = { builduuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, furnitureid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, furniturecount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, charid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, starttime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, endtime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, acceleratecount: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, accelerateitemsMap: (f = msg.getAccelerateitemsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityBuildFurnitureInfo} */ proto.CommunityBuildFurnitureInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityBuildFurnitureInfo; return proto.CommunityBuildFurnitureInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityBuildFurnitureInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityBuildFurnitureInfo} */ proto.CommunityBuildFurnitureInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setBuilduuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setFurnitureid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setFurniturecount(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setStarttime(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setEndtime(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setAcceleratecount(value); break; case 8: var value = msg.getAccelerateitemsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityBuildFurnitureInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityBuildFurnitureInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityBuildFurnitureInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityBuildFurnitureInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = message.getAccelerateitemsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * optional int64 BuildUuid = 1; * @return {number} */ proto.CommunityBuildFurnitureInfo.prototype.getBuilduuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.setBuilduuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.clearBuilduuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityBuildFurnitureInfo.prototype.hasBuilduuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 FurnitureId = 2; * @return {number} */ proto.CommunityBuildFurnitureInfo.prototype.getFurnitureid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.setFurnitureid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.clearFurnitureid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityBuildFurnitureInfo.prototype.hasFurnitureid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 FurnitureCount = 3; * @return {number} */ proto.CommunityBuildFurnitureInfo.prototype.getFurniturecount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.setFurniturecount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.clearFurniturecount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityBuildFurnitureInfo.prototype.hasFurniturecount = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 CharId = 4; * @return {number} */ proto.CommunityBuildFurnitureInfo.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.setCharid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.clearCharid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityBuildFurnitureInfo.prototype.hasCharid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 StartTime = 5; * @return {number} */ proto.CommunityBuildFurnitureInfo.prototype.getStarttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.setStarttime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.clearStarttime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityBuildFurnitureInfo.prototype.hasStarttime = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int64 EndTime = 6; * @return {number} */ proto.CommunityBuildFurnitureInfo.prototype.getEndtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.setEndtime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.clearEndtime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityBuildFurnitureInfo.prototype.hasEndtime = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 AccelerateCount = 7; * @return {number} */ proto.CommunityBuildFurnitureInfo.prototype.getAcceleratecount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.setAcceleratecount = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.clearAcceleratecount = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityBuildFurnitureInfo.prototype.hasAcceleratecount = function() { return jspb.Message.getField(this, 7) != null; }; /** * map AccelerateItems = 8; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CommunityBuildFurnitureInfo.prototype.getAccelerateitemsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 8, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CommunityBuildFurnitureInfo} returns this */ proto.CommunityBuildFurnitureInfo.prototype.clearAccelerateitemsMap = function() { this.getAccelerateitemsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityCharBasicData.prototype.toObject = function(opt_includeInstance) { return proto.CommunityCharBasicData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityCharBasicData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityCharBasicData.toObject = function(includeInstance, msg) { var f, obj = { basicdata: (f = msg.getBasicdata()) && proto.BasicData.toObject(includeInstance, f), avatarinfo: (f = msg.getAvatarinfo()) && proto.AvatarInfo.toObject(includeInstance, f), professiondata: (f = msg.getProfessiondata()) && proto.ProfessionData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityCharBasicData} */ proto.CommunityCharBasicData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityCharBasicData; return proto.CommunityCharBasicData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityCharBasicData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityCharBasicData} */ proto.CommunityCharBasicData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BasicData; reader.readMessage(value,proto.BasicData.deserializeBinaryFromReader); msg.setBasicdata(value); break; case 2: var value = new proto.AvatarInfo; reader.readMessage(value,proto.AvatarInfo.deserializeBinaryFromReader); msg.setAvatarinfo(value); break; case 3: var value = new proto.ProfessionData; reader.readMessage(value,proto.ProfessionData.deserializeBinaryFromReader); msg.setProfessiondata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityCharBasicData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityCharBasicData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityCharBasicData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityCharBasicData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBasicdata(); if (f != null) { writer.writeMessage( 1, f, proto.BasicData.serializeBinaryToWriter ); } f = message.getAvatarinfo(); if (f != null) { writer.writeMessage( 2, f, proto.AvatarInfo.serializeBinaryToWriter ); } f = message.getProfessiondata(); if (f != null) { writer.writeMessage( 3, f, proto.ProfessionData.serializeBinaryToWriter ); } }; /** * optional BasicData BasicData = 1; * @return {?proto.BasicData} */ proto.CommunityCharBasicData.prototype.getBasicdata = function() { return /** @type{?proto.BasicData} */ ( jspb.Message.getWrapperField(this, proto.BasicData, 1)); }; /** * @param {?proto.BasicData|undefined} value * @return {!proto.CommunityCharBasicData} returns this */ proto.CommunityCharBasicData.prototype.setBasicdata = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityCharBasicData} returns this */ proto.CommunityCharBasicData.prototype.clearBasicdata = function() { return this.setBasicdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityCharBasicData.prototype.hasBasicdata = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional AvatarInfo AvatarInfo = 2; * @return {?proto.AvatarInfo} */ proto.CommunityCharBasicData.prototype.getAvatarinfo = function() { return /** @type{?proto.AvatarInfo} */ ( jspb.Message.getWrapperField(this, proto.AvatarInfo, 2)); }; /** * @param {?proto.AvatarInfo|undefined} value * @return {!proto.CommunityCharBasicData} returns this */ proto.CommunityCharBasicData.prototype.setAvatarinfo = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityCharBasicData} returns this */ proto.CommunityCharBasicData.prototype.clearAvatarinfo = function() { return this.setAvatarinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityCharBasicData.prototype.hasAvatarinfo = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional ProfessionData ProfessionData = 3; * @return {?proto.ProfessionData} */ proto.CommunityCharBasicData.prototype.getProfessiondata = function() { return /** @type{?proto.ProfessionData} */ ( jspb.Message.getWrapperField(this, proto.ProfessionData, 3)); }; /** * @param {?proto.ProfessionData|undefined} value * @return {!proto.CommunityCharBasicData} returns this */ proto.CommunityCharBasicData.prototype.setProfessiondata = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityCharBasicData} returns this */ proto.CommunityCharBasicData.prototype.clearProfessiondata = function() { return this.setProfessiondata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityCharBasicData.prototype.hasProfessiondata = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.CommunityData.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityData.prototype.toObject = function(opt_includeInstance) { return proto.CommunityData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityData.toObject = function(includeInstance, msg) { var f, obj = { communityid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, homelandid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, cohabitantidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, lastexitcohabitationtime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, buycount: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityData} */ proto.CommunityData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityData; return proto.CommunityData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityData} */ proto.CommunityData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCommunityid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setHomelandid(value); break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addCohabitantids(values[i]); } break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setLastexitcohabitationtime(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setBuycount(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = message.getCohabitantidsList(); if (f.length > 0) { writer.writePackedInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } }; /** * optional int64 CommunityId = 1; * @return {number} */ proto.CommunityData.prototype.getCommunityid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.setCommunityid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.clearCommunityid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityData.prototype.hasCommunityid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 HomelandId = 2; * @return {number} */ proto.CommunityData.prototype.getHomelandid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.setHomelandid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.clearHomelandid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityData.prototype.hasHomelandid = function() { return jspb.Message.getField(this, 2) != null; }; /** * repeated int64 CohabitantIds = 3; * @return {!Array} */ proto.CommunityData.prototype.getCohabitantidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.setCohabitantidsList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.addCohabitantids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.clearCohabitantidsList = function() { return this.setCohabitantidsList([]); }; /** * optional int64 LastExitCohabitationTime = 4; * @return {number} */ proto.CommunityData.prototype.getLastexitcohabitationtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.setLastexitcohabitationtime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.clearLastexitcohabitationtime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityData.prototype.hasLastexitcohabitationtime = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 BuyCount = 5; * @return {number} */ proto.CommunityData.prototype.getBuycount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.setBuycount = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.clearBuycount = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityData.prototype.hasBuycount = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 Level = 6; * @return {number} */ proto.CommunityData.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.setLevel = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityData} returns this */ proto.CommunityData.prototype.clearLevel = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityData.prototype.hasLevel = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityGetHomeLandBaseInfoReply.prototype.toObject = function(opt_includeInstance) { return proto.CommunityGetHomeLandBaseInfoReply.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityGetHomeLandBaseInfoReply} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityGetHomeLandBaseInfoReply.toObject = function(includeInstance, msg) { var f, obj = { homelandbaseinfo: (f = msg.getHomelandbaseinfo()) && proto.HomelandBaseInfo.toObject(includeInstance, f), errcode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityGetHomeLandBaseInfoReply} */ proto.CommunityGetHomeLandBaseInfoReply.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityGetHomeLandBaseInfoReply; return proto.CommunityGetHomeLandBaseInfoReply.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityGetHomeLandBaseInfoReply} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityGetHomeLandBaseInfoReply} */ proto.CommunityGetHomeLandBaseInfoReply.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.HomelandBaseInfo; reader.readMessage(value,proto.HomelandBaseInfo.deserializeBinaryFromReader); msg.setHomelandbaseinfo(value); break; case 2: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityGetHomeLandBaseInfoReply.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityGetHomeLandBaseInfoReply.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityGetHomeLandBaseInfoReply} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityGetHomeLandBaseInfoReply.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHomelandbaseinfo(); if (f != null) { writer.writeMessage( 1, f, proto.HomelandBaseInfo.serializeBinaryToWriter ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } }; /** * optional HomelandBaseInfo HomelandBaseInfo = 1; * @return {?proto.HomelandBaseInfo} */ proto.CommunityGetHomeLandBaseInfoReply.prototype.getHomelandbaseinfo = function() { return /** @type{?proto.HomelandBaseInfo} */ ( jspb.Message.getWrapperField(this, proto.HomelandBaseInfo, 1)); }; /** * @param {?proto.HomelandBaseInfo|undefined} value * @return {!proto.CommunityGetHomeLandBaseInfoReply} returns this */ proto.CommunityGetHomeLandBaseInfoReply.prototype.setHomelandbaseinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityGetHomeLandBaseInfoReply} returns this */ proto.CommunityGetHomeLandBaseInfoReply.prototype.clearHomelandbaseinfo = function() { return this.setHomelandbaseinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityGetHomeLandBaseInfoReply.prototype.hasHomelandbaseinfo = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EErrorCode ErrCode = 2; * @return {!proto.EErrorCode} */ proto.CommunityGetHomeLandBaseInfoReply.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.CommunityGetHomeLandBaseInfoReply} returns this */ proto.CommunityGetHomeLandBaseInfoReply.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityGetHomeLandBaseInfoReply} returns this */ proto.CommunityGetHomeLandBaseInfoReply.prototype.clearErrcode = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityGetHomeLandBaseInfoReply.prototype.hasErrcode = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.HomelandBaseInfo.repeatedFields_ = [26]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomelandBaseInfo.prototype.toObject = function(opt_includeInstance) { return proto.HomelandBaseInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomelandBaseInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomelandBaseInfo.toObject = function(includeInstance, msg) { var f, obj = { homelandid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, level: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, exp: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, homeresource: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, cleanliness: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, lastsubtractcleanlinesstime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, homelandclutter: (f = msg.getHomelandclutter()) && proto.HomeLandClutterInfo.toObject(includeInstance, f), homelandcluttergenerationrecord: (f = msg.getHomelandcluttergenerationrecord()) && proto.HomeLandClutterGenerationRecord.toObject(includeInstance, f), homelandsellshopinfo: (f = msg.getHomelandsellshopinfo()) && proto.HomeLandSellShopInfo.toObject(includeInstance, f), itemsMap: (f = msg.getItemsMap()) ? f.toObject(includeInstance, proto.HomeLandItemInstance.toObject) : [], slotsMap: (f = msg.getSlotsMap()) ? f.toObject(includeInstance, undefined) : [], itemtoslotMap: (f = msg.getItemtoslotMap()) ? f.toObject(includeInstance, undefined) : [], capacity: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f, usedslots: (f = jspb.Message.getField(msg, 14)) == null ? undefined : f, houseownercharid: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f, name: (f = jspb.Message.getField(msg, 16)) == null ? undefined : f, checkincontent: (f = jspb.Message.getField(msg, 17)) == null ? undefined : f, introduction: (f = jspb.Message.getField(msg, 18)) == null ? undefined : f, transfercommunity: (f = msg.getTransfercommunity()) && proto.CommunityTransfer.toObject(includeInstance, f), cohabitantMap: (f = msg.getCohabitantMap()) ? f.toObject(includeInstance, proto.CommunityPlayerInfo.toObject) : [], furniturestateMap: (f = msg.getFurniturestateMap()) ? f.toObject(includeInstance, undefined) : [], authorityinfo: (f = msg.getAuthorityinfo()) && proto.CommunityAuthorityInfo.toObject(includeInstance, f), fieldid: (f = jspb.Message.getField(msg, 23)) == null ? undefined : f, outerdecorationinfo: (f = msg.getOuterdecorationinfo()) && proto.HomelandDecorationInfo.toObject(includeInstance, f), innerdecorationinfo: (f = msg.getInnerdecorationinfo()) && proto.HomelandDecorationInfo.toObject(includeInstance, f), unlockedareasList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f, housingtype: (f = jspb.Message.getField(msg, 27)) == null ? undefined : f, outeremptyland: (f = jspb.Message.getField(msg, 28)) == null ? undefined : f, inneremptyland: (f = jspb.Message.getField(msg, 29)) == null ? undefined : f, flowersnum: (f = jspb.Message.getField(msg, 30)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomelandBaseInfo} */ proto.HomelandBaseInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomelandBaseInfo; return proto.HomelandBaseInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomelandBaseInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomelandBaseInfo} */ proto.HomelandBaseInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setHomelandid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setLevel(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setExp(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setHomeresource(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setCleanliness(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setLastsubtractcleanlinesstime(value); break; case 7: var value = new proto.HomeLandClutterInfo; reader.readMessage(value,proto.HomeLandClutterInfo.deserializeBinaryFromReader); msg.setHomelandclutter(value); break; case 8: var value = new proto.HomeLandClutterGenerationRecord; reader.readMessage(value,proto.HomeLandClutterGenerationRecord.deserializeBinaryFromReader); msg.setHomelandcluttergenerationrecord(value); break; case 9: var value = new proto.HomeLandSellShopInfo; reader.readMessage(value,proto.HomeLandSellShopInfo.deserializeBinaryFromReader); msg.setHomelandsellshopinfo(value); break; case 10: var value = msg.getItemsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.HomeLandItemInstance.deserializeBinaryFromReader, 0, new proto.HomeLandItemInstance()); }); break; case 11: var value = msg.getSlotsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; case 12: var value = msg.getItemtoslotMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; case 13: var value = /** @type {number} */ (reader.readInt64()); msg.setCapacity(value); break; case 14: var value = /** @type {number} */ (reader.readInt64()); msg.setUsedslots(value); break; case 15: var value = /** @type {number} */ (reader.readInt64()); msg.setHouseownercharid(value); break; case 16: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; case 17: var value = /** @type {string} */ (reader.readString()); msg.setCheckincontent(value); break; case 18: var value = /** @type {string} */ (reader.readString()); msg.setIntroduction(value); break; case 19: var value = new proto.CommunityTransfer; reader.readMessage(value,proto.CommunityTransfer.deserializeBinaryFromReader); msg.setTransfercommunity(value); break; case 20: var value = msg.getCohabitantMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.CommunityPlayerInfo.deserializeBinaryFromReader, 0, new proto.CommunityPlayerInfo()); }); break; case 21: var value = msg.getFurniturestateMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 22: var value = new proto.CommunityAuthorityInfo; reader.readMessage(value,proto.CommunityAuthorityInfo.deserializeBinaryFromReader); msg.setAuthorityinfo(value); break; case 23: var value = /** @type {number} */ (reader.readInt32()); msg.setFieldid(value); break; case 24: var value = new proto.HomelandDecorationInfo; reader.readMessage(value,proto.HomelandDecorationInfo.deserializeBinaryFromReader); msg.setOuterdecorationinfo(value); break; case 25: var value = new proto.HomelandDecorationInfo; reader.readMessage(value,proto.HomelandDecorationInfo.deserializeBinaryFromReader); msg.setInnerdecorationinfo(value); break; case 26: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addUnlockedareas(values[i]); } break; case 27: var value = /** @type {number} */ (reader.readInt32()); msg.setHousingtype(value); break; case 28: var value = /** @type {number} */ (reader.readInt32()); msg.setOuteremptyland(value); break; case 29: var value = /** @type {number} */ (reader.readInt32()); msg.setInneremptyland(value); break; case 30: var value = /** @type {number} */ (reader.readInt32()); msg.setFlowersnum(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomelandBaseInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomelandBaseInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomelandBaseInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomelandBaseInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = message.getHomelandclutter(); if (f != null) { writer.writeMessage( 7, f, proto.HomeLandClutterInfo.serializeBinaryToWriter ); } f = message.getHomelandcluttergenerationrecord(); if (f != null) { writer.writeMessage( 8, f, proto.HomeLandClutterGenerationRecord.serializeBinaryToWriter ); } f = message.getHomelandsellshopinfo(); if (f != null) { writer.writeMessage( 9, f, proto.HomeLandSellShopInfo.serializeBinaryToWriter ); } f = message.getItemsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.HomeLandItemInstance.serializeBinaryToWriter); } f = message.getSlotsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(11, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeInt64); } f = message.getItemtoslotMap(true); if (f && f.getLength() > 0) { f.serializeBinary(12, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeInt64); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeInt64( 13, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 14)); if (f != null) { writer.writeInt64( 14, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 15)); if (f != null) { writer.writeInt64( 15, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 16)); if (f != null) { writer.writeString( 16, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 17)); if (f != null) { writer.writeString( 17, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 18)); if (f != null) { writer.writeString( 18, f ); } f = message.getTransfercommunity(); if (f != null) { writer.writeMessage( 19, f, proto.CommunityTransfer.serializeBinaryToWriter ); } f = message.getCohabitantMap(true); if (f && f.getLength() > 0) { f.serializeBinary(20, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.CommunityPlayerInfo.serializeBinaryToWriter); } f = message.getFurniturestateMap(true); if (f && f.getLength() > 0) { f.serializeBinary(21, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getAuthorityinfo(); if (f != null) { writer.writeMessage( 22, f, proto.CommunityAuthorityInfo.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 23)); if (f != null) { writer.writeInt32( 23, f ); } f = message.getOuterdecorationinfo(); if (f != null) { writer.writeMessage( 24, f, proto.HomelandDecorationInfo.serializeBinaryToWriter ); } f = message.getInnerdecorationinfo(); if (f != null) { writer.writeMessage( 25, f, proto.HomelandDecorationInfo.serializeBinaryToWriter ); } f = message.getUnlockedareasList(); if (f.length > 0) { writer.writePackedInt32( 26, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 27)); if (f != null) { writer.writeInt32( 27, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 28)); if (f != null) { writer.writeInt32( 28, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 29)); if (f != null) { writer.writeInt32( 29, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 30)); if (f != null) { writer.writeInt32( 30, f ); } }; /** * optional int64 HomelandId = 1; * @return {number} */ proto.HomelandBaseInfo.prototype.getHomelandid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setHomelandid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearHomelandid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasHomelandid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Level = 2; * @return {number} */ proto.HomelandBaseInfo.prototype.getLevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setLevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearLevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasLevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 Exp = 3; * @return {number} */ proto.HomelandBaseInfo.prototype.getExp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setExp = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearExp = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasExp = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 HomeResource = 4; * @return {number} */ proto.HomelandBaseInfo.prototype.getHomeresource = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setHomeresource = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearHomeresource = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasHomeresource = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 Cleanliness = 5; * @return {number} */ proto.HomelandBaseInfo.prototype.getCleanliness = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setCleanliness = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearCleanliness = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasCleanliness = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int64 Lastsubtractcleanlinesstime = 6; * @return {number} */ proto.HomelandBaseInfo.prototype.getLastsubtractcleanlinesstime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setLastsubtractcleanlinesstime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearLastsubtractcleanlinesstime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasLastsubtractcleanlinesstime = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional HomeLandClutterInfo HomeLandClutter = 7; * @return {?proto.HomeLandClutterInfo} */ proto.HomelandBaseInfo.prototype.getHomelandclutter = function() { return /** @type{?proto.HomeLandClutterInfo} */ ( jspb.Message.getWrapperField(this, proto.HomeLandClutterInfo, 7)); }; /** * @param {?proto.HomeLandClutterInfo|undefined} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setHomelandclutter = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearHomelandclutter = function() { return this.setHomelandclutter(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasHomelandclutter = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional HomeLandClutterGenerationRecord HomeLandClutterGenerationRecord = 8; * @return {?proto.HomeLandClutterGenerationRecord} */ proto.HomelandBaseInfo.prototype.getHomelandcluttergenerationrecord = function() { return /** @type{?proto.HomeLandClutterGenerationRecord} */ ( jspb.Message.getWrapperField(this, proto.HomeLandClutterGenerationRecord, 8)); }; /** * @param {?proto.HomeLandClutterGenerationRecord|undefined} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setHomelandcluttergenerationrecord = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearHomelandcluttergenerationrecord = function() { return this.setHomelandcluttergenerationrecord(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasHomelandcluttergenerationrecord = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional HomeLandSellShopInfo HomeLandSellShopInfo = 9; * @return {?proto.HomeLandSellShopInfo} */ proto.HomelandBaseInfo.prototype.getHomelandsellshopinfo = function() { return /** @type{?proto.HomeLandSellShopInfo} */ ( jspb.Message.getWrapperField(this, proto.HomeLandSellShopInfo, 9)); }; /** * @param {?proto.HomeLandSellShopInfo|undefined} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setHomelandsellshopinfo = function(value) { return jspb.Message.setWrapperField(this, 9, value); }; /** * Clears the message field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearHomelandsellshopinfo = function() { return this.setHomelandsellshopinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasHomelandsellshopinfo = function() { return jspb.Message.getField(this, 9) != null; }; /** * map Items = 10; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomelandBaseInfo.prototype.getItemsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 10, opt_noLazyCreate, proto.HomeLandItemInstance)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearItemsMap = function() { this.getItemsMap().clear(); return this; }; /** * map Slots = 11; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomelandBaseInfo.prototype.getSlotsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 11, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearSlotsMap = function() { this.getSlotsMap().clear(); return this; }; /** * map ItemToSlot = 12; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomelandBaseInfo.prototype.getItemtoslotMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 12, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearItemtoslotMap = function() { this.getItemtoslotMap().clear(); return this; }; /** * optional int64 Capacity = 13; * @return {number} */ proto.HomelandBaseInfo.prototype.getCapacity = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setCapacity = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearCapacity = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasCapacity = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional int64 UsedSlots = 14; * @return {number} */ proto.HomelandBaseInfo.prototype.getUsedslots = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setUsedslots = function(value) { return jspb.Message.setField(this, 14, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearUsedslots = function() { return jspb.Message.setField(this, 14, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasUsedslots = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional int64 HouseOwnerCharId = 15; * @return {number} */ proto.HomelandBaseInfo.prototype.getHouseownercharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setHouseownercharid = function(value) { return jspb.Message.setField(this, 15, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearHouseownercharid = function() { return jspb.Message.setField(this, 15, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasHouseownercharid = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional string Name = 16; * @return {string} */ proto.HomelandBaseInfo.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, "")); }; /** * @param {string} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setName = function(value) { return jspb.Message.setField(this, 16, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearName = function() { return jspb.Message.setField(this, 16, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasName = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional string CheckInContent = 17; * @return {string} */ proto.HomelandBaseInfo.prototype.getCheckincontent = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, "")); }; /** * @param {string} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setCheckincontent = function(value) { return jspb.Message.setField(this, 17, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearCheckincontent = function() { return jspb.Message.setField(this, 17, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasCheckincontent = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional string Introduction = 18; * @return {string} */ proto.HomelandBaseInfo.prototype.getIntroduction = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, "")); }; /** * @param {string} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setIntroduction = function(value) { return jspb.Message.setField(this, 18, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearIntroduction = function() { return jspb.Message.setField(this, 18, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasIntroduction = function() { return jspb.Message.getField(this, 18) != null; }; /** * optional CommunityTransfer TransferCommunity = 19; * @return {?proto.CommunityTransfer} */ proto.HomelandBaseInfo.prototype.getTransfercommunity = function() { return /** @type{?proto.CommunityTransfer} */ ( jspb.Message.getWrapperField(this, proto.CommunityTransfer, 19)); }; /** * @param {?proto.CommunityTransfer|undefined} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setTransfercommunity = function(value) { return jspb.Message.setWrapperField(this, 19, value); }; /** * Clears the message field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearTransfercommunity = function() { return this.setTransfercommunity(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasTransfercommunity = function() { return jspb.Message.getField(this, 19) != null; }; /** * map Cohabitant = 20; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomelandBaseInfo.prototype.getCohabitantMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 20, opt_noLazyCreate, proto.CommunityPlayerInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearCohabitantMap = function() { this.getCohabitantMap().clear(); return this; }; /** * map FurnitureState = 21; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomelandBaseInfo.prototype.getFurniturestateMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 21, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearFurniturestateMap = function() { this.getFurniturestateMap().clear(); return this; }; /** * optional CommunityAuthorityInfo AuthorityInfo = 22; * @return {?proto.CommunityAuthorityInfo} */ proto.HomelandBaseInfo.prototype.getAuthorityinfo = function() { return /** @type{?proto.CommunityAuthorityInfo} */ ( jspb.Message.getWrapperField(this, proto.CommunityAuthorityInfo, 22)); }; /** * @param {?proto.CommunityAuthorityInfo|undefined} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setAuthorityinfo = function(value) { return jspb.Message.setWrapperField(this, 22, value); }; /** * Clears the message field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearAuthorityinfo = function() { return this.setAuthorityinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasAuthorityinfo = function() { return jspb.Message.getField(this, 22) != null; }; /** * optional int32 FieldId = 23; * @return {number} */ proto.HomelandBaseInfo.prototype.getFieldid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setFieldid = function(value) { return jspb.Message.setField(this, 23, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearFieldid = function() { return jspb.Message.setField(this, 23, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasFieldid = function() { return jspb.Message.getField(this, 23) != null; }; /** * optional HomelandDecorationInfo OuterDecorationInfo = 24; * @return {?proto.HomelandDecorationInfo} */ proto.HomelandBaseInfo.prototype.getOuterdecorationinfo = function() { return /** @type{?proto.HomelandDecorationInfo} */ ( jspb.Message.getWrapperField(this, proto.HomelandDecorationInfo, 24)); }; /** * @param {?proto.HomelandDecorationInfo|undefined} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setOuterdecorationinfo = function(value) { return jspb.Message.setWrapperField(this, 24, value); }; /** * Clears the message field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearOuterdecorationinfo = function() { return this.setOuterdecorationinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasOuterdecorationinfo = function() { return jspb.Message.getField(this, 24) != null; }; /** * optional HomelandDecorationInfo InnerDecorationInfo = 25; * @return {?proto.HomelandDecorationInfo} */ proto.HomelandBaseInfo.prototype.getInnerdecorationinfo = function() { return /** @type{?proto.HomelandDecorationInfo} */ ( jspb.Message.getWrapperField(this, proto.HomelandDecorationInfo, 25)); }; /** * @param {?proto.HomelandDecorationInfo|undefined} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setInnerdecorationinfo = function(value) { return jspb.Message.setWrapperField(this, 25, value); }; /** * Clears the message field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearInnerdecorationinfo = function() { return this.setInnerdecorationinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasInnerdecorationinfo = function() { return jspb.Message.getField(this, 25) != null; }; /** * repeated int32 UnlockedAreas = 26; * @return {!Array} */ proto.HomelandBaseInfo.prototype.getUnlockedareasList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 26)); }; /** * @param {!Array} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setUnlockedareasList = function(value) { return jspb.Message.setField(this, 26, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.addUnlockedareas = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 26, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearUnlockedareasList = function() { return this.setUnlockedareasList([]); }; /** * optional int32 HousingType = 27; * @return {number} */ proto.HomelandBaseInfo.prototype.getHousingtype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 27, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setHousingtype = function(value) { return jspb.Message.setField(this, 27, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearHousingtype = function() { return jspb.Message.setField(this, 27, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasHousingtype = function() { return jspb.Message.getField(this, 27) != null; }; /** * optional int32 OuterEmptyLand = 28; * @return {number} */ proto.HomelandBaseInfo.prototype.getOuteremptyland = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 28, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setOuteremptyland = function(value) { return jspb.Message.setField(this, 28, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearOuteremptyland = function() { return jspb.Message.setField(this, 28, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasOuteremptyland = function() { return jspb.Message.getField(this, 28) != null; }; /** * optional int32 InnerEmptyLand = 29; * @return {number} */ proto.HomelandBaseInfo.prototype.getInneremptyland = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 29, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setInneremptyland = function(value) { return jspb.Message.setField(this, 29, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearInneremptyland = function() { return jspb.Message.setField(this, 29, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasInneremptyland = function() { return jspb.Message.getField(this, 29) != null; }; /** * optional int32 FlowersNum = 30; * @return {number} */ proto.HomelandBaseInfo.prototype.getFlowersnum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 30, 0)); }; /** * @param {number} value * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.setFlowersnum = function(value) { return jspb.Message.setField(this, 30, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandBaseInfo} returns this */ proto.HomelandBaseInfo.prototype.clearFlowersnum = function() { return jspb.Message.setField(this, 30, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandBaseInfo.prototype.hasFlowersnum = function() { return jspb.Message.getField(this, 30) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomeLandClutterInfo.prototype.toObject = function(opt_includeInstance) { return proto.HomeLandClutterInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomeLandClutterInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandClutterInfo.toObject = function(includeInstance, msg) { var f, obj = { homelandclutterMap: (f = msg.getHomelandclutterMap()) ? f.toObject(includeInstance, proto.Clutter.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomeLandClutterInfo} */ proto.HomeLandClutterInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomeLandClutterInfo; return proto.HomeLandClutterInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomeLandClutterInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomeLandClutterInfo} */ proto.HomeLandClutterInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getHomelandclutterMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.Clutter.deserializeBinaryFromReader, 0, new proto.Clutter()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomeLandClutterInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomeLandClutterInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomeLandClutterInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandClutterInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHomelandclutterMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.Clutter.serializeBinaryToWriter); } }; /** * map HomeLandClutter = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomeLandClutterInfo.prototype.getHomelandclutterMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.Clutter)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomeLandClutterInfo} returns this */ proto.HomeLandClutterInfo.prototype.clearHomelandclutterMap = function() { this.getHomelandclutterMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomeLandClutterGenerationRecord.prototype.toObject = function(opt_includeInstance) { return proto.HomeLandClutterGenerationRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomeLandClutterGenerationRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandClutterGenerationRecord.toObject = function(includeInstance, msg) { var f, obj = { homelandclutterrecordMap: (f = msg.getHomelandclutterrecordMap()) ? f.toObject(includeInstance, proto.ClutterGenerationRecord.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomeLandClutterGenerationRecord} */ proto.HomeLandClutterGenerationRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomeLandClutterGenerationRecord; return proto.HomeLandClutterGenerationRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomeLandClutterGenerationRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomeLandClutterGenerationRecord} */ proto.HomeLandClutterGenerationRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getHomelandclutterrecordMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.ClutterGenerationRecord.deserializeBinaryFromReader, 0, new proto.ClutterGenerationRecord()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomeLandClutterGenerationRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomeLandClutterGenerationRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomeLandClutterGenerationRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandClutterGenerationRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHomelandclutterrecordMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.ClutterGenerationRecord.serializeBinaryToWriter); } }; /** * map HomeLandClutterRecord = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomeLandClutterGenerationRecord.prototype.getHomelandclutterrecordMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.ClutterGenerationRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomeLandClutterGenerationRecord} returns this */ proto.HomeLandClutterGenerationRecord.prototype.clearHomelandclutterrecordMap = function() { this.getHomelandclutterrecordMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomeLandSellShopInfo.prototype.toObject = function(opt_includeInstance) { return proto.HomeLandSellShopInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomeLandSellShopInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandSellShopInfo.toObject = function(includeInstance, msg) { var f, obj = { isinit: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, nextreflushtime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, collectingitemsMap: (f = msg.getCollectingitemsMap()) ? f.toObject(includeInstance, proto.CollectingItem.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomeLandSellShopInfo} */ proto.HomeLandSellShopInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomeLandSellShopInfo; return proto.HomeLandSellShopInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomeLandSellShopInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomeLandSellShopInfo} */ proto.HomeLandSellShopInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsinit(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setNextreflushtime(value); break; case 3: var value = msg.getCollectingitemsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.CollectingItem.deserializeBinaryFromReader, 0, new proto.CollectingItem()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomeLandSellShopInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomeLandSellShopInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomeLandSellShopInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandSellShopInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = message.getCollectingitemsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.CollectingItem.serializeBinaryToWriter); } }; /** * optional bool IsInit = 1; * @return {boolean} */ proto.HomeLandSellShopInfo.prototype.getIsinit = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.HomeLandSellShopInfo} returns this */ proto.HomeLandSellShopInfo.prototype.setIsinit = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.HomeLandSellShopInfo} returns this */ proto.HomeLandSellShopInfo.prototype.clearIsinit = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomeLandSellShopInfo.prototype.hasIsinit = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 NextReflushTime = 2; * @return {number} */ proto.HomeLandSellShopInfo.prototype.getNextreflushtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.HomeLandSellShopInfo} returns this */ proto.HomeLandSellShopInfo.prototype.setNextreflushtime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.HomeLandSellShopInfo} returns this */ proto.HomeLandSellShopInfo.prototype.clearNextreflushtime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomeLandSellShopInfo.prototype.hasNextreflushtime = function() { return jspb.Message.getField(this, 2) != null; }; /** * map CollectingItems = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomeLandSellShopInfo.prototype.getCollectingitemsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.CollectingItem)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomeLandSellShopInfo} returns this */ proto.HomeLandSellShopInfo.prototype.clearCollectingitemsMap = function() { this.getCollectingitemsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomeLandItemInstance.prototype.toObject = function(opt_includeInstance) { return proto.HomeLandItemInstance.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomeLandItemInstance} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandItemInstance.toObject = function(includeInstance, msg) { var f, obj = { instanceid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, configid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, ownertostackmapMap: (f = msg.getOwnertostackmapMap()) ? f.toObject(includeInstance, proto.Item.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomeLandItemInstance} */ proto.HomeLandItemInstance.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomeLandItemInstance; return proto.HomeLandItemInstance.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomeLandItemInstance} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomeLandItemInstance} */ proto.HomeLandItemInstance.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setInstanceid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setConfigid(value); break; case 3: var value = msg.getOwnertostackmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.Item.deserializeBinaryFromReader, 0, new proto.Item()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomeLandItemInstance.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomeLandItemInstance.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomeLandItemInstance} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandItemInstance.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getOwnertostackmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.Item.serializeBinaryToWriter); } }; /** * optional int64 InstanceId = 1; * @return {number} */ proto.HomeLandItemInstance.prototype.getInstanceid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.HomeLandItemInstance} returns this */ proto.HomeLandItemInstance.prototype.setInstanceid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.HomeLandItemInstance} returns this */ proto.HomeLandItemInstance.prototype.clearInstanceid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomeLandItemInstance.prototype.hasInstanceid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 ConfigId = 2; * @return {number} */ proto.HomeLandItemInstance.prototype.getConfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.HomeLandItemInstance} returns this */ proto.HomeLandItemInstance.prototype.setConfigid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.HomeLandItemInstance} returns this */ proto.HomeLandItemInstance.prototype.clearConfigid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomeLandItemInstance.prototype.hasConfigid = function() { return jspb.Message.getField(this, 2) != null; }; /** * map OwnerToStackMap = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomeLandItemInstance.prototype.getOwnertostackmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.Item)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomeLandItemInstance} returns this */ proto.HomeLandItemInstance.prototype.clearOwnertostackmapMap = function() { this.getOwnertostackmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityTransfer.prototype.toObject = function(opt_includeInstance) { return proto.CommunityTransfer.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityTransfer} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityTransfer.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, time: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, lasttime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityTransfer} */ proto.CommunityTransfer.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityTransfer; return proto.CommunityTransfer.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityTransfer} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityTransfer} */ proto.CommunityTransfer.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setTime(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setLasttime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityTransfer.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityTransfer.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityTransfer} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityTransfer.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.CommunityTransfer.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CommunityTransfer} returns this */ proto.CommunityTransfer.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityTransfer} returns this */ proto.CommunityTransfer.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityTransfer.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Time = 2; * @return {number} */ proto.CommunityTransfer.prototype.getTime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CommunityTransfer} returns this */ proto.CommunityTransfer.prototype.setTime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityTransfer} returns this */ proto.CommunityTransfer.prototype.clearTime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityTransfer.prototype.hasTime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 LastTime = 3; * @return {number} */ proto.CommunityTransfer.prototype.getLasttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.CommunityTransfer} returns this */ proto.CommunityTransfer.prototype.setLasttime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityTransfer} returns this */ proto.CommunityTransfer.prototype.clearLasttime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityTransfer.prototype.hasLasttime = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityPlayerInfo.prototype.toObject = function(opt_includeInstance) { return proto.CommunityPlayerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityPlayerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityPlayerInfo.toObject = function(includeInstance, msg) { var f, obj = { communitychar: (f = msg.getCommunitychar()) && proto.CommunityCharBasicData.toObject(includeInstance, f), playerauthorityinfo: (f = msg.getPlayerauthorityinfo()) && proto.CommunityPlayerAuthorityInfo.toObject(includeInstance, f), quitcohabitant: (f = msg.getQuitcohabitant()) && proto.CommunityQuitCohabitant.toObject(includeInstance, f), homelandplayertaskinfo: (f = msg.getHomelandplayertaskinfo()) && proto.HomeLandPlayerTaskInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityPlayerInfo} */ proto.CommunityPlayerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityPlayerInfo; return proto.CommunityPlayerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityPlayerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityPlayerInfo} */ proto.CommunityPlayerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.CommunityCharBasicData; reader.readMessage(value,proto.CommunityCharBasicData.deserializeBinaryFromReader); msg.setCommunitychar(value); break; case 2: var value = new proto.CommunityPlayerAuthorityInfo; reader.readMessage(value,proto.CommunityPlayerAuthorityInfo.deserializeBinaryFromReader); msg.setPlayerauthorityinfo(value); break; case 3: var value = new proto.CommunityQuitCohabitant; reader.readMessage(value,proto.CommunityQuitCohabitant.deserializeBinaryFromReader); msg.setQuitcohabitant(value); break; case 4: var value = new proto.HomeLandPlayerTaskInfo; reader.readMessage(value,proto.HomeLandPlayerTaskInfo.deserializeBinaryFromReader); msg.setHomelandplayertaskinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityPlayerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityPlayerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityPlayerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityPlayerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCommunitychar(); if (f != null) { writer.writeMessage( 1, f, proto.CommunityCharBasicData.serializeBinaryToWriter ); } f = message.getPlayerauthorityinfo(); if (f != null) { writer.writeMessage( 2, f, proto.CommunityPlayerAuthorityInfo.serializeBinaryToWriter ); } f = message.getQuitcohabitant(); if (f != null) { writer.writeMessage( 3, f, proto.CommunityQuitCohabitant.serializeBinaryToWriter ); } f = message.getHomelandplayertaskinfo(); if (f != null) { writer.writeMessage( 4, f, proto.HomeLandPlayerTaskInfo.serializeBinaryToWriter ); } }; /** * optional CommunityCharBasicData CommunityChar = 1; * @return {?proto.CommunityCharBasicData} */ proto.CommunityPlayerInfo.prototype.getCommunitychar = function() { return /** @type{?proto.CommunityCharBasicData} */ ( jspb.Message.getWrapperField(this, proto.CommunityCharBasicData, 1)); }; /** * @param {?proto.CommunityCharBasicData|undefined} value * @return {!proto.CommunityPlayerInfo} returns this */ proto.CommunityPlayerInfo.prototype.setCommunitychar = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityPlayerInfo} returns this */ proto.CommunityPlayerInfo.prototype.clearCommunitychar = function() { return this.setCommunitychar(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityPlayerInfo.prototype.hasCommunitychar = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional CommunityPlayerAuthorityInfo PlayerAuthorityInfo = 2; * @return {?proto.CommunityPlayerAuthorityInfo} */ proto.CommunityPlayerInfo.prototype.getPlayerauthorityinfo = function() { return /** @type{?proto.CommunityPlayerAuthorityInfo} */ ( jspb.Message.getWrapperField(this, proto.CommunityPlayerAuthorityInfo, 2)); }; /** * @param {?proto.CommunityPlayerAuthorityInfo|undefined} value * @return {!proto.CommunityPlayerInfo} returns this */ proto.CommunityPlayerInfo.prototype.setPlayerauthorityinfo = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityPlayerInfo} returns this */ proto.CommunityPlayerInfo.prototype.clearPlayerauthorityinfo = function() { return this.setPlayerauthorityinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityPlayerInfo.prototype.hasPlayerauthorityinfo = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional CommunityQuitCohabitant QuitCohabitant = 3; * @return {?proto.CommunityQuitCohabitant} */ proto.CommunityPlayerInfo.prototype.getQuitcohabitant = function() { return /** @type{?proto.CommunityQuitCohabitant} */ ( jspb.Message.getWrapperField(this, proto.CommunityQuitCohabitant, 3)); }; /** * @param {?proto.CommunityQuitCohabitant|undefined} value * @return {!proto.CommunityPlayerInfo} returns this */ proto.CommunityPlayerInfo.prototype.setQuitcohabitant = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityPlayerInfo} returns this */ proto.CommunityPlayerInfo.prototype.clearQuitcohabitant = function() { return this.setQuitcohabitant(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityPlayerInfo.prototype.hasQuitcohabitant = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional HomeLandPlayerTaskInfo HomeLandPlayerTaskInfo = 4; * @return {?proto.HomeLandPlayerTaskInfo} */ proto.CommunityPlayerInfo.prototype.getHomelandplayertaskinfo = function() { return /** @type{?proto.HomeLandPlayerTaskInfo} */ ( jspb.Message.getWrapperField(this, proto.HomeLandPlayerTaskInfo, 4)); }; /** * @param {?proto.HomeLandPlayerTaskInfo|undefined} value * @return {!proto.CommunityPlayerInfo} returns this */ proto.CommunityPlayerInfo.prototype.setHomelandplayertaskinfo = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityPlayerInfo} returns this */ proto.CommunityPlayerInfo.prototype.clearHomelandplayertaskinfo = function() { return this.setHomelandplayertaskinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityPlayerInfo.prototype.hasHomelandplayertaskinfo = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityPlayerAuthorityInfo.prototype.toObject = function(opt_includeInstance) { return proto.CommunityPlayerAuthorityInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityPlayerAuthorityInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityPlayerAuthorityInfo.toObject = function(includeInstance, msg) { var f, obj = { authorityMap: (f = msg.getAuthorityMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityPlayerAuthorityInfo} */ proto.CommunityPlayerAuthorityInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityPlayerAuthorityInfo; return proto.CommunityPlayerAuthorityInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityPlayerAuthorityInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityPlayerAuthorityInfo} */ proto.CommunityPlayerAuthorityInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getAuthorityMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityPlayerAuthorityInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityPlayerAuthorityInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityPlayerAuthorityInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityPlayerAuthorityInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAuthorityMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * map Authority = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CommunityPlayerAuthorityInfo.prototype.getAuthorityMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CommunityPlayerAuthorityInfo} returns this */ proto.CommunityPlayerAuthorityInfo.prototype.clearAuthorityMap = function() { this.getAuthorityMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityQuitCohabitant.prototype.toObject = function(opt_includeInstance) { return proto.CommunityQuitCohabitant.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityQuitCohabitant} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityQuitCohabitant.toObject = function(includeInstance, msg) { var f, obj = { isinitiativequit: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, time: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityQuitCohabitant} */ proto.CommunityQuitCohabitant.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityQuitCohabitant; return proto.CommunityQuitCohabitant.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityQuitCohabitant} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityQuitCohabitant} */ proto.CommunityQuitCohabitant.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsinitiativequit(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setTime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityQuitCohabitant.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityQuitCohabitant.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityQuitCohabitant} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityQuitCohabitant.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional bool IsInitiativeQuit = 1; * @return {boolean} */ proto.CommunityQuitCohabitant.prototype.getIsinitiativequit = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.CommunityQuitCohabitant} returns this */ proto.CommunityQuitCohabitant.prototype.setIsinitiativequit = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityQuitCohabitant} returns this */ proto.CommunityQuitCohabitant.prototype.clearIsinitiativequit = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityQuitCohabitant.prototype.hasIsinitiativequit = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Time = 2; * @return {number} */ proto.CommunityQuitCohabitant.prototype.getTime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CommunityQuitCohabitant} returns this */ proto.CommunityQuitCohabitant.prototype.setTime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityQuitCohabitant} returns this */ proto.CommunityQuitCohabitant.prototype.clearTime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityQuitCohabitant.prototype.hasTime = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomeLandPlayerTaskInfo.prototype.toObject = function(opt_includeInstance) { return proto.HomeLandPlayerTaskInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomeLandPlayerTaskInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandPlayerTaskInfo.toObject = function(includeInstance, msg) { var f, obj = { nexttaskreflushtime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, curlefttimes: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, curtaskmapMap: (f = msg.getCurtaskmapMap()) ? f.toObject(includeInstance, proto.HomeLandTask.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomeLandPlayerTaskInfo} */ proto.HomeLandPlayerTaskInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomeLandPlayerTaskInfo; return proto.HomeLandPlayerTaskInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomeLandPlayerTaskInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomeLandPlayerTaskInfo} */ proto.HomeLandPlayerTaskInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setNexttaskreflushtime(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCurlefttimes(value); break; case 3: var value = msg.getCurtaskmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.HomeLandTask.deserializeBinaryFromReader, 0, new proto.HomeLandTask()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomeLandPlayerTaskInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomeLandPlayerTaskInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomeLandPlayerTaskInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandPlayerTaskInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getCurtaskmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.HomeLandTask.serializeBinaryToWriter); } }; /** * optional int64 NextTaskReflushTime = 1; * @return {number} */ proto.HomeLandPlayerTaskInfo.prototype.getNexttaskreflushtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.HomeLandPlayerTaskInfo} returns this */ proto.HomeLandPlayerTaskInfo.prototype.setNexttaskreflushtime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.HomeLandPlayerTaskInfo} returns this */ proto.HomeLandPlayerTaskInfo.prototype.clearNexttaskreflushtime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomeLandPlayerTaskInfo.prototype.hasNexttaskreflushtime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 CurLeftTimes = 2; * @return {number} */ proto.HomeLandPlayerTaskInfo.prototype.getCurlefttimes = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.HomeLandPlayerTaskInfo} returns this */ proto.HomeLandPlayerTaskInfo.prototype.setCurlefttimes = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.HomeLandPlayerTaskInfo} returns this */ proto.HomeLandPlayerTaskInfo.prototype.clearCurlefttimes = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomeLandPlayerTaskInfo.prototype.hasCurlefttimes = function() { return jspb.Message.getField(this, 2) != null; }; /** * map CurTaskMap = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomeLandPlayerTaskInfo.prototype.getCurtaskmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.HomeLandTask)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomeLandPlayerTaskInfo} returns this */ proto.HomeLandPlayerTaskInfo.prototype.clearCurtaskmapMap = function() { this.getCurtaskmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomeLandTask.prototype.toObject = function(opt_includeInstance) { return proto.HomeLandTask.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomeLandTask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandTask.toObject = function(includeInstance, msg) { var f, obj = { finished: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomeLandTask} */ proto.HomeLandTask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomeLandTask; return proto.HomeLandTask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomeLandTask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomeLandTask} */ proto.HomeLandTask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setFinished(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomeLandTask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomeLandTask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomeLandTask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomeLandTask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } }; /** * optional bool Finished = 1; * @return {boolean} */ proto.HomeLandTask.prototype.getFinished = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.HomeLandTask} returns this */ proto.HomeLandTask.prototype.setFinished = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.HomeLandTask} returns this */ proto.HomeLandTask.prototype.clearFinished = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomeLandTask.prototype.hasFinished = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomelandDecorationInfo.prototype.toObject = function(opt_includeInstance) { return proto.HomelandDecorationInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomelandDecorationInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomelandDecorationInfo.toObject = function(includeInstance, msg) { var f, obj = { lamplightinfo: (f = msg.getLamplightinfo()) && proto.HomelandLamplightInfo.toObject(includeInstance, f), materialinfosMap: (f = msg.getMaterialinfosMap()) ? f.toObject(includeInstance, proto.HomelandMaterialInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomelandDecorationInfo} */ proto.HomelandDecorationInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomelandDecorationInfo; return proto.HomelandDecorationInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomelandDecorationInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomelandDecorationInfo} */ proto.HomelandDecorationInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.HomelandLamplightInfo; reader.readMessage(value,proto.HomelandLamplightInfo.deserializeBinaryFromReader); msg.setLamplightinfo(value); break; case 2: var value = msg.getMaterialinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.HomelandMaterialInfo.deserializeBinaryFromReader, 0, new proto.HomelandMaterialInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomelandDecorationInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomelandDecorationInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomelandDecorationInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomelandDecorationInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getLamplightinfo(); if (f != null) { writer.writeMessage( 1, f, proto.HomelandLamplightInfo.serializeBinaryToWriter ); } f = message.getMaterialinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.HomelandMaterialInfo.serializeBinaryToWriter); } }; /** * optional HomelandLamplightInfo LamplightInfo = 1; * @return {?proto.HomelandLamplightInfo} */ proto.HomelandDecorationInfo.prototype.getLamplightinfo = function() { return /** @type{?proto.HomelandLamplightInfo} */ ( jspb.Message.getWrapperField(this, proto.HomelandLamplightInfo, 1)); }; /** * @param {?proto.HomelandLamplightInfo|undefined} value * @return {!proto.HomelandDecorationInfo} returns this */ proto.HomelandDecorationInfo.prototype.setLamplightinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.HomelandDecorationInfo} returns this */ proto.HomelandDecorationInfo.prototype.clearLamplightinfo = function() { return this.setLamplightinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandDecorationInfo.prototype.hasLamplightinfo = function() { return jspb.Message.getField(this, 1) != null; }; /** * map MaterialInfos = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HomelandDecorationInfo.prototype.getMaterialinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.HomelandMaterialInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HomelandDecorationInfo} returns this */ proto.HomelandDecorationInfo.prototype.clearMaterialinfosMap = function() { this.getMaterialinfosMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomelandLamplightInfo.prototype.toObject = function(opt_includeInstance) { return proto.HomelandLamplightInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomelandLamplightInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomelandLamplightInfo.toObject = function(includeInstance, msg) { var f, obj = { lamplightlevel: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, lamplightcolor: (f = msg.getLamplightcolor()) && proto.IntVec3.toObject(includeInstance, f), daynightid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, mode: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomelandLamplightInfo} */ proto.HomelandLamplightInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomelandLamplightInfo; return proto.HomelandLamplightInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomelandLamplightInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomelandLamplightInfo} */ proto.HomelandLamplightInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setLamplightlevel(value); break; case 2: var value = new proto.IntVec3; reader.readMessage(value,proto.IntVec3.deserializeBinaryFromReader); msg.setLamplightcolor(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setDaynightid(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setMode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomelandLamplightInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomelandLamplightInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomelandLamplightInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomelandLamplightInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getLamplightcolor(); if (f != null) { writer.writeMessage( 2, f, proto.IntVec3.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int32 LamplightLevel = 1; * @return {number} */ proto.HomelandLamplightInfo.prototype.getLamplightlevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.HomelandLamplightInfo} returns this */ proto.HomelandLamplightInfo.prototype.setLamplightlevel = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandLamplightInfo} returns this */ proto.HomelandLamplightInfo.prototype.clearLamplightlevel = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandLamplightInfo.prototype.hasLamplightlevel = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional IntVec3 LamplightColor = 2; * @return {?proto.IntVec3} */ proto.HomelandLamplightInfo.prototype.getLamplightcolor = function() { return /** @type{?proto.IntVec3} */ ( jspb.Message.getWrapperField(this, proto.IntVec3, 2)); }; /** * @param {?proto.IntVec3|undefined} value * @return {!proto.HomelandLamplightInfo} returns this */ proto.HomelandLamplightInfo.prototype.setLamplightcolor = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.HomelandLamplightInfo} returns this */ proto.HomelandLamplightInfo.prototype.clearLamplightcolor = function() { return this.setLamplightcolor(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandLamplightInfo.prototype.hasLamplightcolor = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 DayNightId = 3; * @return {number} */ proto.HomelandLamplightInfo.prototype.getDaynightid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.HomelandLamplightInfo} returns this */ proto.HomelandLamplightInfo.prototype.setDaynightid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandLamplightInfo} returns this */ proto.HomelandLamplightInfo.prototype.clearDaynightid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandLamplightInfo.prototype.hasDaynightid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 Mode = 4; * @return {number} */ proto.HomelandLamplightInfo.prototype.getMode = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.HomelandLamplightInfo} returns this */ proto.HomelandLamplightInfo.prototype.setMode = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandLamplightInfo} returns this */ proto.HomelandLamplightInfo.prototype.clearMode = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandLamplightInfo.prototype.hasMode = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HomelandMaterialInfo.prototype.toObject = function(opt_includeInstance) { return proto.HomelandMaterialInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HomelandMaterialInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomelandMaterialInfo.toObject = function(includeInstance, msg) { var f, obj = { materialid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, charid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HomelandMaterialInfo} */ proto.HomelandMaterialInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HomelandMaterialInfo; return proto.HomelandMaterialInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HomelandMaterialInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HomelandMaterialInfo} */ proto.HomelandMaterialInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setMaterialid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HomelandMaterialInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HomelandMaterialInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HomelandMaterialInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HomelandMaterialInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 MaterialId = 1; * @return {number} */ proto.HomelandMaterialInfo.prototype.getMaterialid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.HomelandMaterialInfo} returns this */ proto.HomelandMaterialInfo.prototype.setMaterialid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandMaterialInfo} returns this */ proto.HomelandMaterialInfo.prototype.clearMaterialid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandMaterialInfo.prototype.hasMaterialid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 CharId = 2; * @return {number} */ proto.HomelandMaterialInfo.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.HomelandMaterialInfo} returns this */ proto.HomelandMaterialInfo.prototype.setCharid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.HomelandMaterialInfo} returns this */ proto.HomelandMaterialInfo.prototype.clearCharid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HomelandMaterialInfo.prototype.hasCharid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.toObject = function(opt_includeInstance) { return proto.CommunityGetHomeLandBaseInfoRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityGetHomeLandBaseInfoRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityGetHomeLandBaseInfoRequest.toObject = function(includeInstance, msg) { var f, obj = { communityid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, homelandid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityGetHomeLandBaseInfoRequest} */ proto.CommunityGetHomeLandBaseInfoRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityGetHomeLandBaseInfoRequest; return proto.CommunityGetHomeLandBaseInfoRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityGetHomeLandBaseInfoRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityGetHomeLandBaseInfoRequest} */ proto.CommunityGetHomeLandBaseInfoRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCommunityid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setHomelandid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityGetHomeLandBaseInfoRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityGetHomeLandBaseInfoRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityGetHomeLandBaseInfoRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int64 CommunityId = 1; * @return {number} */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.getCommunityid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CommunityGetHomeLandBaseInfoRequest} returns this */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.setCommunityid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityGetHomeLandBaseInfoRequest} returns this */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.clearCommunityid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.hasCommunityid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 HomelandId = 2; * @return {number} */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.getHomelandid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.CommunityGetHomeLandBaseInfoRequest} returns this */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.setHomelandid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityGetHomeLandBaseInfoRequest} returns this */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.clearHomelandid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityGetHomeLandBaseInfoRequest.prototype.hasHomelandid = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.CommunityGrainUpdateStructureReply.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityGrainUpdateStructureReply.prototype.toObject = function(opt_includeInstance) { return proto.CommunityGrainUpdateStructureReply.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityGrainUpdateStructureReply} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityGrainUpdateStructureReply.toObject = function(includeInstance, msg) { var f, obj = { errcode: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, structuresList: jspb.Message.toObjectList(msg.getStructuresList(), proto.CommunityUpdateStructureReplyOpt.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityGrainUpdateStructureReply} */ proto.CommunityGrainUpdateStructureReply.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityGrainUpdateStructureReply; return proto.CommunityGrainUpdateStructureReply.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityGrainUpdateStructureReply} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityGrainUpdateStructureReply} */ proto.CommunityGrainUpdateStructureReply.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; case 2: var value = new proto.CommunityUpdateStructureReplyOpt; reader.readMessage(value,proto.CommunityUpdateStructureReplyOpt.deserializeBinaryFromReader); msg.addStructures(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityGrainUpdateStructureReply.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityGrainUpdateStructureReply.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityGrainUpdateStructureReply} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityGrainUpdateStructureReply.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = message.getStructuresList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.CommunityUpdateStructureReplyOpt.serializeBinaryToWriter ); } }; /** * optional EErrorCode ErrCode = 1; * @return {!proto.EErrorCode} */ proto.CommunityGrainUpdateStructureReply.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.CommunityGrainUpdateStructureReply} returns this */ proto.CommunityGrainUpdateStructureReply.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityGrainUpdateStructureReply} returns this */ proto.CommunityGrainUpdateStructureReply.prototype.clearErrcode = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityGrainUpdateStructureReply.prototype.hasErrcode = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated CommunityUpdateStructureReplyOpt Structures = 2; * @return {!Array} */ proto.CommunityGrainUpdateStructureReply.prototype.getStructuresList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.CommunityUpdateStructureReplyOpt, 2)); }; /** * @param {!Array} value * @return {!proto.CommunityGrainUpdateStructureReply} returns this */ proto.CommunityGrainUpdateStructureReply.prototype.setStructuresList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.CommunityUpdateStructureReplyOpt=} opt_value * @param {number=} opt_index * @return {!proto.CommunityUpdateStructureReplyOpt} */ proto.CommunityGrainUpdateStructureReply.prototype.addStructures = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.CommunityUpdateStructureReplyOpt, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.CommunityGrainUpdateStructureReply} returns this */ proto.CommunityGrainUpdateStructureReply.prototype.clearStructuresList = function() { return this.setStructuresList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityUpdateStructureReplyOpt.prototype.toObject = function(opt_includeInstance) { return proto.CommunityUpdateStructureReplyOpt.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityUpdateStructureReplyOpt} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityUpdateStructureReplyOpt.toObject = function(includeInstance, msg) { var f, obj = { errcode: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, structureop: (f = msg.getStructureop()) && proto.StructureOp.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityUpdateStructureReplyOpt} */ proto.CommunityUpdateStructureReplyOpt.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityUpdateStructureReplyOpt; return proto.CommunityUpdateStructureReplyOpt.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityUpdateStructureReplyOpt} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityUpdateStructureReplyOpt} */ proto.CommunityUpdateStructureReplyOpt.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; case 2: var value = new proto.StructureOp; reader.readMessage(value,proto.StructureOp.deserializeBinaryFromReader); msg.setStructureop(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityUpdateStructureReplyOpt.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityUpdateStructureReplyOpt.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityUpdateStructureReplyOpt} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityUpdateStructureReplyOpt.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = message.getStructureop(); if (f != null) { writer.writeMessage( 2, f, proto.StructureOp.serializeBinaryToWriter ); } }; /** * optional EErrorCode ErrCode = 1; * @return {!proto.EErrorCode} */ proto.CommunityUpdateStructureReplyOpt.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.CommunityUpdateStructureReplyOpt} returns this */ proto.CommunityUpdateStructureReplyOpt.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CommunityUpdateStructureReplyOpt} returns this */ proto.CommunityUpdateStructureReplyOpt.prototype.clearErrcode = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityUpdateStructureReplyOpt.prototype.hasErrcode = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional StructureOp StructureOp = 2; * @return {?proto.StructureOp} */ proto.CommunityUpdateStructureReplyOpt.prototype.getStructureop = function() { return /** @type{?proto.StructureOp} */ ( jspb.Message.getWrapperField(this, proto.StructureOp, 2)); }; /** * @param {?proto.StructureOp|undefined} value * @return {!proto.CommunityUpdateStructureReplyOpt} returns this */ proto.CommunityUpdateStructureReplyOpt.prototype.setStructureop = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityUpdateStructureReplyOpt} returns this */ proto.CommunityUpdateStructureReplyOpt.prototype.clearStructureop = function() { return this.setStructureop(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityUpdateStructureReplyOpt.prototype.hasStructureop = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.StructureOp.prototype.toObject = function(opt_includeInstance) { return proto.StructureOp.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.StructureOp} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StructureOp.toObject = function(includeInstance, msg) { var f, obj = { optype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, structure: (f = msg.getStructure()) && proto.Structure.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.StructureOp} */ proto.StructureOp.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.StructureOp; return proto.StructureOp.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.StructureOp} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.StructureOp} */ proto.StructureOp.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.StructureOpType} */ (reader.readEnum()); msg.setOptype(value); break; case 2: var value = new proto.Structure; reader.readMessage(value,proto.Structure.deserializeBinaryFromReader); msg.setStructure(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.StructureOp.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.StructureOp.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.StructureOp} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StructureOp.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.StructureOpType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = message.getStructure(); if (f != null) { writer.writeMessage( 2, f, proto.Structure.serializeBinaryToWriter ); } }; /** * optional StructureOpType OpType = 1; * @return {!proto.StructureOpType} */ proto.StructureOp.prototype.getOptype = function() { return /** @type {!proto.StructureOpType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.StructureOpType} value * @return {!proto.StructureOp} returns this */ proto.StructureOp.prototype.setOptype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureOp} returns this */ proto.StructureOp.prototype.clearOptype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureOp.prototype.hasOptype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Structure Structure = 2; * @return {?proto.Structure} */ proto.StructureOp.prototype.getStructure = function() { return /** @type{?proto.Structure} */ ( jspb.Message.getWrapperField(this, proto.Structure, 2)); }; /** * @param {?proto.Structure|undefined} value * @return {!proto.StructureOp} returns this */ proto.StructureOp.prototype.setStructure = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.StructureOp} returns this */ proto.StructureOp.prototype.clearStructure = function() { return this.setStructure(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureOp.prototype.hasStructure = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Structure.prototype.toObject = function(opt_includeInstance) { return proto.Structure.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Structure} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Structure.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, clientuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, groupid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, itemid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, charid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, position: (f = msg.getPosition()) && proto.IntVec3.toObject(includeInstance, f), quaternion: (f = msg.getQuaternion()) && proto.Vector4.toObject(includeInstance, f), operatorcharid: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, name: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, materialinfo: (f = msg.getMaterialinfo()) && proto.StructureMaterialInfo.toObject(includeInstance, f), lamplightinfo: (f = msg.getLamplightinfo()) && proto.StructureLamplightInfo.toObject(includeInstance, f), farmlandinfo: (f = msg.getFarmlandinfo()) && proto.StructureFarmlandInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Structure} */ proto.Structure.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Structure; return proto.Structure.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Structure} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Structure} */ proto.Structure.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setClientuuid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setGroupid(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setItemid(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 6: var value = new proto.IntVec3; reader.readMessage(value,proto.IntVec3.deserializeBinaryFromReader); msg.setPosition(value); break; case 7: var value = new proto.Vector4; reader.readMessage(value,proto.Vector4.deserializeBinaryFromReader); msg.setQuaternion(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setOperatorcharid(value); break; case 9: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; case 10: var value = new proto.StructureMaterialInfo; reader.readMessage(value,proto.StructureMaterialInfo.deserializeBinaryFromReader); msg.setMaterialinfo(value); break; case 11: var value = new proto.StructureLamplightInfo; reader.readMessage(value,proto.StructureLamplightInfo.deserializeBinaryFromReader); msg.setLamplightinfo(value); break; case 12: var value = new proto.StructureFarmlandInfo; reader.readMessage(value,proto.StructureFarmlandInfo.deserializeBinaryFromReader); msg.setFarmlandinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Structure.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Structure.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Structure} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Structure.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = message.getPosition(); if (f != null) { writer.writeMessage( 6, f, proto.IntVec3.serializeBinaryToWriter ); } f = message.getQuaternion(); if (f != null) { writer.writeMessage( 7, f, proto.Vector4.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeString( 9, f ); } f = message.getMaterialinfo(); if (f != null) { writer.writeMessage( 10, f, proto.StructureMaterialInfo.serializeBinaryToWriter ); } f = message.getLamplightinfo(); if (f != null) { writer.writeMessage( 11, f, proto.StructureLamplightInfo.serializeBinaryToWriter ); } f = message.getFarmlandinfo(); if (f != null) { writer.writeMessage( 12, f, proto.StructureFarmlandInfo.serializeBinaryToWriter ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.Structure.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 ClientUuid = 2; * @return {number} */ proto.Structure.prototype.getClientuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setClientuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearClientuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasClientuuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 GroupId = 3; * @return {number} */ proto.Structure.prototype.getGroupid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setGroupid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearGroupid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasGroupid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 ItemId = 4; * @return {number} */ proto.Structure.prototype.getItemid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setItemid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearItemid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasItemid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 CharId = 5; * @return {number} */ proto.Structure.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setCharid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearCharid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasCharid = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional IntVec3 Position = 6; * @return {?proto.IntVec3} */ proto.Structure.prototype.getPosition = function() { return /** @type{?proto.IntVec3} */ ( jspb.Message.getWrapperField(this, proto.IntVec3, 6)); }; /** * @param {?proto.IntVec3|undefined} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setPosition = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearPosition = function() { return this.setPosition(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasPosition = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional Vector4 Quaternion = 7; * @return {?proto.Vector4} */ proto.Structure.prototype.getQuaternion = function() { return /** @type{?proto.Vector4} */ ( jspb.Message.getWrapperField(this, proto.Vector4, 7)); }; /** * @param {?proto.Vector4|undefined} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setQuaternion = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearQuaternion = function() { return this.setQuaternion(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasQuaternion = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int64 OperatorCharId = 8; * @return {number} */ proto.Structure.prototype.getOperatorcharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setOperatorcharid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearOperatorcharid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasOperatorcharid = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional string Name = 9; * @return {string} */ proto.Structure.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setName = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearName = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasName = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional StructureMaterialInfo MaterialInfo = 10; * @return {?proto.StructureMaterialInfo} */ proto.Structure.prototype.getMaterialinfo = function() { return /** @type{?proto.StructureMaterialInfo} */ ( jspb.Message.getWrapperField(this, proto.StructureMaterialInfo, 10)); }; /** * @param {?proto.StructureMaterialInfo|undefined} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setMaterialinfo = function(value) { return jspb.Message.setWrapperField(this, 10, value); }; /** * Clears the message field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearMaterialinfo = function() { return this.setMaterialinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasMaterialinfo = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional StructureLamplightInfo LamplightInfo = 11; * @return {?proto.StructureLamplightInfo} */ proto.Structure.prototype.getLamplightinfo = function() { return /** @type{?proto.StructureLamplightInfo} */ ( jspb.Message.getWrapperField(this, proto.StructureLamplightInfo, 11)); }; /** * @param {?proto.StructureLamplightInfo|undefined} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setLamplightinfo = function(value) { return jspb.Message.setWrapperField(this, 11, value); }; /** * Clears the message field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearLamplightinfo = function() { return this.setLamplightinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasLamplightinfo = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional StructureFarmlandInfo FarmlandInfo = 12; * @return {?proto.StructureFarmlandInfo} */ proto.Structure.prototype.getFarmlandinfo = function() { return /** @type{?proto.StructureFarmlandInfo} */ ( jspb.Message.getWrapperField(this, proto.StructureFarmlandInfo, 12)); }; /** * @param {?proto.StructureFarmlandInfo|undefined} value * @return {!proto.Structure} returns this */ proto.Structure.prototype.setFarmlandinfo = function(value) { return jspb.Message.setWrapperField(this, 12, value); }; /** * Clears the message field making it undefined. * @return {!proto.Structure} returns this */ proto.Structure.prototype.clearFarmlandinfo = function() { return this.setFarmlandinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Structure.prototype.hasFarmlandinfo = function() { return jspb.Message.getField(this, 12) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Vector4.prototype.toObject = function(opt_includeInstance) { return proto.Vector4.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Vector4} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Vector4.toObject = function(includeInstance, msg) { var f, obj = { x: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, y: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, z: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, w: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Vector4} */ proto.Vector4.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Vector4; return proto.Vector4.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Vector4} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Vector4} */ proto.Vector4.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readFloat()); msg.setX(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setY(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setZ(value); break; case 4: var value = /** @type {number} */ (reader.readFloat()); msg.setW(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Vector4.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Vector4.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Vector4} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Vector4.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeFloat( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeFloat( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeFloat( 4, f ); } }; /** * optional float X = 1; * @return {number} */ proto.Vector4.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); }; /** * @param {number} value * @return {!proto.Vector4} returns this */ proto.Vector4.prototype.setX = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Vector4} returns this */ proto.Vector4.prototype.clearX = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Vector4.prototype.hasX = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional float Y = 2; * @return {number} */ proto.Vector4.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.Vector4} returns this */ proto.Vector4.prototype.setY = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Vector4} returns this */ proto.Vector4.prototype.clearY = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Vector4.prototype.hasY = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float Z = 3; * @return {number} */ proto.Vector4.prototype.getZ = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.Vector4} returns this */ proto.Vector4.prototype.setZ = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.Vector4} returns this */ proto.Vector4.prototype.clearZ = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Vector4.prototype.hasZ = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional float W = 4; * @return {number} */ proto.Vector4.prototype.getW = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); }; /** * @param {number} value * @return {!proto.Vector4} returns this */ proto.Vector4.prototype.setW = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.Vector4} returns this */ proto.Vector4.prototype.clearW = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Vector4.prototype.hasW = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.StructureMaterialInfo.prototype.toObject = function(opt_includeInstance) { return proto.StructureMaterialInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.StructureMaterialInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StructureMaterialInfo.toObject = function(includeInstance, msg) { var f, obj = { materialid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, charid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.StructureMaterialInfo} */ proto.StructureMaterialInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.StructureMaterialInfo; return proto.StructureMaterialInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.StructureMaterialInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.StructureMaterialInfo} */ proto.StructureMaterialInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setMaterialid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.StructureMaterialInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.StructureMaterialInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.StructureMaterialInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StructureMaterialInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 MaterialId = 1; * @return {number} */ proto.StructureMaterialInfo.prototype.getMaterialid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.StructureMaterialInfo} returns this */ proto.StructureMaterialInfo.prototype.setMaterialid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureMaterialInfo} returns this */ proto.StructureMaterialInfo.prototype.clearMaterialid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureMaterialInfo.prototype.hasMaterialid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 CharId = 2; * @return {number} */ proto.StructureMaterialInfo.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.StructureMaterialInfo} returns this */ proto.StructureMaterialInfo.prototype.setCharid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureMaterialInfo} returns this */ proto.StructureMaterialInfo.prototype.clearCharid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureMaterialInfo.prototype.hasCharid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.StructureLamplightInfo.prototype.toObject = function(opt_includeInstance) { return proto.StructureLamplightInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.StructureLamplightInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StructureLamplightInfo.toObject = function(includeInstance, msg) { var f, obj = { state: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.StructureLamplightInfo} */ proto.StructureLamplightInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.StructureLamplightInfo; return proto.StructureLamplightInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.StructureLamplightInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.StructureLamplightInfo} */ proto.StructureLamplightInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EHomelandLamplightState} */ (reader.readEnum()); msg.setState(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.StructureLamplightInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.StructureLamplightInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.StructureLamplightInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StructureLamplightInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EHomelandLamplightState} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } }; /** * optional EHomelandLamplightState State = 1; * @return {!proto.EHomelandLamplightState} */ proto.StructureLamplightInfo.prototype.getState = function() { return /** @type {!proto.EHomelandLamplightState} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EHomelandLamplightState} value * @return {!proto.StructureLamplightInfo} returns this */ proto.StructureLamplightInfo.prototype.setState = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureLamplightInfo} returns this */ proto.StructureLamplightInfo.prototype.clearState = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureLamplightInfo.prototype.hasState = function() { return jspb.Message.getField(this, 1) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.StructureFarmlandInfo.repeatedFields_ = [14,15]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.StructureFarmlandInfo.prototype.toObject = function(opt_includeInstance) { return proto.StructureFarmlandInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.StructureFarmlandInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StructureFarmlandInfo.toObject = function(includeInstance, msg) { var f, obj = { operatorcharid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, seedinstance: (f = msg.getSeedinstance()) && proto.HomeLandItemInstance.toObject(includeInstance, f), needwater: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, farmlandstate: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, seedingtime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, growendtime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, pollinatebegintime: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, pollinateendtime: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, harvestbegintime: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, harvestendtime: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, isend: (f = jspb.Message.getBooleanField(msg, 11)) == null ? undefined : f, flowerinstance: (f = msg.getFlowerinstance()) && proto.HomeLandItemInstance.toObject(includeInstance, f), nextsegmentindex: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f, recordsList: jspb.Message.toObjectList(msg.getRecordsList(), proto.DroughtRecord.toObject, includeInstance), fertilizesList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f, polleninstance: (f = msg.getPolleninstance()) && proto.HomeLandItemInstance.toObject(includeInstance, f), pickupplayersMap: (f = msg.getPickupplayersMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.StructureFarmlandInfo} */ proto.StructureFarmlandInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.StructureFarmlandInfo; return proto.StructureFarmlandInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.StructureFarmlandInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.StructureFarmlandInfo} */ proto.StructureFarmlandInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setOperatorcharid(value); break; case 2: var value = new proto.HomeLandItemInstance; reader.readMessage(value,proto.HomeLandItemInstance.deserializeBinaryFromReader); msg.setSeedinstance(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setNeedwater(value); break; case 4: var value = /** @type {!proto.EFarmlandState} */ (reader.readEnum()); msg.setFarmlandstate(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setSeedingtime(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setGrowendtime(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setPollinatebegintime(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setPollinateendtime(value); break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setHarvestbegintime(value); break; case 10: var value = /** @type {number} */ (reader.readInt64()); msg.setHarvestendtime(value); break; case 11: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsend(value); break; case 12: var value = new proto.HomeLandItemInstance; reader.readMessage(value,proto.HomeLandItemInstance.deserializeBinaryFromReader); msg.setFlowerinstance(value); break; case 13: var value = /** @type {number} */ (reader.readInt32()); msg.setNextsegmentindex(value); break; case 14: var value = new proto.DroughtRecord; reader.readMessage(value,proto.DroughtRecord.deserializeBinaryFromReader); msg.addRecords(value); break; case 15: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addFertilizes(values[i]); } break; case 16: var value = new proto.HomeLandItemInstance; reader.readMessage(value,proto.HomeLandItemInstance.deserializeBinaryFromReader); msg.setPolleninstance(value); break; case 17: var value = msg.getPickupplayersMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.StructureFarmlandInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.StructureFarmlandInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.StructureFarmlandInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StructureFarmlandInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getSeedinstance(); if (f != null) { writer.writeMessage( 2, f, proto.HomeLandItemInstance.serializeBinaryToWriter ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {!proto.EFarmlandState} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeEnum( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeInt64( 10, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeBool( 11, f ); } f = message.getFlowerinstance(); if (f != null) { writer.writeMessage( 12, f, proto.HomeLandItemInstance.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 13)); if (f != null) { writer.writeInt32( 13, f ); } f = message.getRecordsList(); if (f.length > 0) { writer.writeRepeatedMessage( 14, f, proto.DroughtRecord.serializeBinaryToWriter ); } f = message.getFertilizesList(); if (f.length > 0) { writer.writePackedInt32( 15, f ); } f = message.getPolleninstance(); if (f != null) { writer.writeMessage( 16, f, proto.HomeLandItemInstance.serializeBinaryToWriter ); } f = message.getPickupplayersMap(true); if (f && f.getLength() > 0) { f.serializeBinary(17, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeInt32); } }; /** * optional int64 OperatorCharId = 1; * @return {number} */ proto.StructureFarmlandInfo.prototype.getOperatorcharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setOperatorcharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearOperatorcharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasOperatorcharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional HomeLandItemInstance SeedInstance = 2; * @return {?proto.HomeLandItemInstance} */ proto.StructureFarmlandInfo.prototype.getSeedinstance = function() { return /** @type{?proto.HomeLandItemInstance} */ ( jspb.Message.getWrapperField(this, proto.HomeLandItemInstance, 2)); }; /** * @param {?proto.HomeLandItemInstance|undefined} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setSeedinstance = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearSeedinstance = function() { return this.setSeedinstance(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasSeedinstance = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool NeedWater = 3; * @return {boolean} */ proto.StructureFarmlandInfo.prototype.getNeedwater = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setNeedwater = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearNeedwater = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasNeedwater = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional EFarmlandState FarmlandState = 4; * @return {!proto.EFarmlandState} */ proto.StructureFarmlandInfo.prototype.getFarmlandstate = function() { return /** @type {!proto.EFarmlandState} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {!proto.EFarmlandState} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setFarmlandstate = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearFarmlandstate = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasFarmlandstate = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 SeedingTime = 5; * @return {number} */ proto.StructureFarmlandInfo.prototype.getSeedingtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setSeedingtime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearSeedingtime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasSeedingtime = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int64 GrowEndTime = 6; * @return {number} */ proto.StructureFarmlandInfo.prototype.getGrowendtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setGrowendtime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearGrowendtime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasGrowendtime = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int64 PollinateBeginTime = 7; * @return {number} */ proto.StructureFarmlandInfo.prototype.getPollinatebegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setPollinatebegintime = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearPollinatebegintime = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasPollinatebegintime = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int64 PollinateEndTime = 8; * @return {number} */ proto.StructureFarmlandInfo.prototype.getPollinateendtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setPollinateendtime = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearPollinateendtime = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasPollinateendtime = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int64 HarvestBeginTime = 9; * @return {number} */ proto.StructureFarmlandInfo.prototype.getHarvestbegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setHarvestbegintime = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearHarvestbegintime = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasHarvestbegintime = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional int64 HarvestEndTime = 10; * @return {number} */ proto.StructureFarmlandInfo.prototype.getHarvestendtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setHarvestendtime = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearHarvestendtime = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasHarvestendtime = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional bool IsEnd = 11; * @return {boolean} */ proto.StructureFarmlandInfo.prototype.getIsend = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); }; /** * @param {boolean} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setIsend = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearIsend = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasIsend = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional HomeLandItemInstance FlowerInstance = 12; * @return {?proto.HomeLandItemInstance} */ proto.StructureFarmlandInfo.prototype.getFlowerinstance = function() { return /** @type{?proto.HomeLandItemInstance} */ ( jspb.Message.getWrapperField(this, proto.HomeLandItemInstance, 12)); }; /** * @param {?proto.HomeLandItemInstance|undefined} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setFlowerinstance = function(value) { return jspb.Message.setWrapperField(this, 12, value); }; /** * Clears the message field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearFlowerinstance = function() { return this.setFlowerinstance(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasFlowerinstance = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional int32 NextSegmentIndex = 13; * @return {number} */ proto.StructureFarmlandInfo.prototype.getNextsegmentindex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0)); }; /** * @param {number} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setNextsegmentindex = function(value) { return jspb.Message.setField(this, 13, value); }; /** * Clears the field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearNextsegmentindex = function() { return jspb.Message.setField(this, 13, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasNextsegmentindex = function() { return jspb.Message.getField(this, 13) != null; }; /** * repeated DroughtRecord Records = 14; * @return {!Array} */ proto.StructureFarmlandInfo.prototype.getRecordsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.DroughtRecord, 14)); }; /** * @param {!Array} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setRecordsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 14, value); }; /** * @param {!proto.DroughtRecord=} opt_value * @param {number=} opt_index * @return {!proto.DroughtRecord} */ proto.StructureFarmlandInfo.prototype.addRecords = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.DroughtRecord, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearRecordsList = function() { return this.setRecordsList([]); }; /** * repeated int32 Fertilizes = 15; * @return {!Array} */ proto.StructureFarmlandInfo.prototype.getFertilizesList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 15)); }; /** * @param {!Array} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setFertilizesList = function(value) { return jspb.Message.setField(this, 15, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.addFertilizes = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 15, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearFertilizesList = function() { return this.setFertilizesList([]); }; /** * optional HomeLandItemInstance PollenInstance = 16; * @return {?proto.HomeLandItemInstance} */ proto.StructureFarmlandInfo.prototype.getPolleninstance = function() { return /** @type{?proto.HomeLandItemInstance} */ ( jspb.Message.getWrapperField(this, proto.HomeLandItemInstance, 16)); }; /** * @param {?proto.HomeLandItemInstance|undefined} value * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.setPolleninstance = function(value) { return jspb.Message.setWrapperField(this, 16, value); }; /** * Clears the message field making it undefined. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearPolleninstance = function() { return this.setPolleninstance(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StructureFarmlandInfo.prototype.hasPolleninstance = function() { return jspb.Message.getField(this, 16) != null; }; /** * map PickUpPlayers = 17; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.StructureFarmlandInfo.prototype.getPickupplayersMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 17, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.StructureFarmlandInfo} returns this */ proto.StructureFarmlandInfo.prototype.clearPickupplayersMap = function() { this.getPickupplayersMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DroughtRecord.prototype.toObject = function(opt_includeInstance) { return proto.DroughtRecord.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DroughtRecord} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DroughtRecord.toObject = function(includeInstance, msg) { var f, obj = { triggertime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, segmentid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, duration: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, actualendtime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, iswatered: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, isexpired: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DroughtRecord} */ proto.DroughtRecord.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DroughtRecord; return proto.DroughtRecord.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DroughtRecord} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DroughtRecord} */ proto.DroughtRecord.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTriggertime(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSegmentid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setDuration(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setActualendtime(value); break; case 5: var value = /** @type {boolean} */ (reader.readBool()); msg.setIswatered(value); break; case 6: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsexpired(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DroughtRecord.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DroughtRecord.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DroughtRecord} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DroughtRecord.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeBool( 5, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeBool( 6, f ); } }; /** * optional int64 TriggerTime = 1; * @return {number} */ proto.DroughtRecord.prototype.getTriggertime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.setTriggertime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.clearTriggertime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DroughtRecord.prototype.hasTriggertime = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SegmentId = 2; * @return {number} */ proto.DroughtRecord.prototype.getSegmentid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.setSegmentid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.clearSegmentid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DroughtRecord.prototype.hasSegmentid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 Duration = 3; * @return {number} */ proto.DroughtRecord.prototype.getDuration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.setDuration = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.clearDuration = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DroughtRecord.prototype.hasDuration = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 ActualEndTime = 4; * @return {number} */ proto.DroughtRecord.prototype.getActualendtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.setActualendtime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.clearActualendtime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DroughtRecord.prototype.hasActualendtime = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional bool IsWatered = 5; * @return {boolean} */ proto.DroughtRecord.prototype.getIswatered = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); }; /** * @param {boolean} value * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.setIswatered = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.clearIswatered = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DroughtRecord.prototype.hasIswatered = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional bool IsExpired = 6; * @return {boolean} */ proto.DroughtRecord.prototype.getIsexpired = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.setIsexpired = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.DroughtRecord} returns this */ proto.DroughtRecord.prototype.clearIsexpired = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DroughtRecord.prototype.hasIsexpired = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CompletedTargetInfo.prototype.toObject = function(opt_includeInstance) { return proto.CompletedTargetInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CompletedTargetInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompletedTargetInfo.toObject = function(includeInstance, msg) { var f, obj = { completedtargetlistMap: (f = msg.getCompletedtargetlistMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CompletedTargetInfo} */ proto.CompletedTargetInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CompletedTargetInfo; return proto.CompletedTargetInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CompletedTargetInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CompletedTargetInfo} */ proto.CompletedTargetInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getCompletedtargetlistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CompletedTargetInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CompletedTargetInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CompletedTargetInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CompletedTargetInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCompletedtargetlistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * map CompletedTargetList = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.CompletedTargetInfo.prototype.getCompletedtargetlistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.CompletedTargetInfo} returns this */ proto.CompletedTargetInfo.prototype.clearCompletedtargetlistMap = function() { this.getCompletedtargetlistMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ConnectWorldResult.prototype.toObject = function(opt_includeInstance) { return proto.ConnectWorldResult.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ConnectWorldResult} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ConnectWorldResult.toObject = function(includeInstance, msg) { var f, obj = { result: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, errcode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, ackclientsequence: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, sessiontoken: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, connectguid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ConnectWorldResult} */ proto.ConnectWorldResult.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ConnectWorldResult; return proto.ConnectWorldResult.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ConnectWorldResult} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ConnectWorldResult} */ proto.ConnectWorldResult.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.WorldReconnectStatus} */ (reader.readEnum()); msg.setResult(value); break; case 2: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setAckclientsequence(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setSessiontoken(value); break; case 5: var value = /** @type {string} */ (reader.readString()); msg.setConnectguid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ConnectWorldResult.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ConnectWorldResult.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ConnectWorldResult} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ConnectWorldResult.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.WorldReconnectStatus} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeString( 5, f ); } }; /** * optional WorldReconnectStatus Result = 1; * @return {!proto.WorldReconnectStatus} */ proto.ConnectWorldResult.prototype.getResult = function() { return /** @type {!proto.WorldReconnectStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.WorldReconnectStatus} value * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.setResult = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.clearResult = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ConnectWorldResult.prototype.hasResult = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EErrorCode ErrCode = 2; * @return {!proto.EErrorCode} */ proto.ConnectWorldResult.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.clearErrcode = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ConnectWorldResult.prototype.hasErrcode = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 AckClientSequence = 3; * @return {number} */ proto.ConnectWorldResult.prototype.getAckclientsequence = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.setAckclientsequence = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.clearAckclientsequence = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ConnectWorldResult.prototype.hasAckclientsequence = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string SessionToken = 4; * @return {string} */ proto.ConnectWorldResult.prototype.getSessiontoken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.setSessiontoken = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.clearSessiontoken = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ConnectWorldResult.prototype.hasSessiontoken = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional string ConnectGuid = 5; * @return {string} */ proto.ConnectWorldResult.prototype.getConnectguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.setConnectguid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.ConnectWorldResult} returns this */ proto.ConnectWorldResult.prototype.clearConnectguid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ConnectWorldResult.prototype.hasConnectguid = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DanceBall.prototype.toObject = function(opt_includeInstance) { return proto.DanceBall.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DanceBall} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DanceBall.toObject = function(includeInstance, msg) { var f, obj = { danceid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, begintime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, endtime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, randindex: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, dancersMap: (f = msg.getDancersMap()) ? f.toObject(includeInstance, proto.DancerInfo.toObject) : [], buffid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, npcid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, npcposindex: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, sumdancescore: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, hasnotifynpc: (f = jspb.Message.getBooleanField(msg, 10)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DanceBall} */ proto.DanceBall.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DanceBall; return proto.DanceBall.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DanceBall} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DanceBall} */ proto.DanceBall.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setDanceid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setEndtime(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setRandindex(value); break; case 5: var value = msg.getDancersMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.DancerInfo.deserializeBinaryFromReader, 0, new proto.DancerInfo()); }); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setBuffid(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setNpcid(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setNpcposindex(value); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setSumdancescore(value); break; case 10: var value = /** @type {boolean} */ (reader.readBool()); msg.setHasnotifynpc(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DanceBall.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DanceBall.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DanceBall} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DanceBall.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = message.getDancersMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.DancerInfo.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt32( 9, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeBool( 10, f ); } }; /** * optional int32 DanceId = 1; * @return {number} */ proto.DanceBall.prototype.getDanceid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.setDanceid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearDanceid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DanceBall.prototype.hasDanceid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 BeginTime = 2; * @return {number} */ proto.DanceBall.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearBegintime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DanceBall.prototype.hasBegintime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 EndTime = 3; * @return {number} */ proto.DanceBall.prototype.getEndtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.setEndtime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearEndtime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DanceBall.prototype.hasEndtime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 RandIndex = 4; * @return {number} */ proto.DanceBall.prototype.getRandindex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.setRandindex = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearRandindex = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DanceBall.prototype.hasRandindex = function() { return jspb.Message.getField(this, 4) != null; }; /** * map Dancers = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DanceBall.prototype.getDancersMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, proto.DancerInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearDancersMap = function() { this.getDancersMap().clear(); return this; }; /** * optional int32 BuffId = 6; * @return {number} */ proto.DanceBall.prototype.getBuffid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.setBuffid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearBuffid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DanceBall.prototype.hasBuffid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 NpcId = 7; * @return {number} */ proto.DanceBall.prototype.getNpcid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.setNpcid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearNpcid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DanceBall.prototype.hasNpcid = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 NpcPosIndex = 8; * @return {number} */ proto.DanceBall.prototype.getNpcposindex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.setNpcposindex = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearNpcposindex = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DanceBall.prototype.hasNpcposindex = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int32 SumDanceScore = 9; * @return {number} */ proto.DanceBall.prototype.getSumdancescore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.setSumdancescore = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearSumdancescore = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DanceBall.prototype.hasSumdancescore = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional bool HasNotifyNpc = 10; * @return {boolean} */ proto.DanceBall.prototype.getHasnotifynpc = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false)); }; /** * @param {boolean} value * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.setHasnotifynpc = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.DanceBall} returns this */ proto.DanceBall.prototype.clearHasnotifynpc = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DanceBall.prototype.hasHasnotifynpc = function() { return jspb.Message.getField(this, 10) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DancerInfo.prototype.toObject = function(opt_includeInstance) { return proto.DancerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DancerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DancerInfo.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, dancesecs: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, isdancing: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, hasdrawn: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, hassend: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DancerInfo} */ proto.DancerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DancerInfo; return proto.DancerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DancerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DancerInfo} */ proto.DancerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setDancesecs(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsdancing(value); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setHasdrawn(value); break; case 5: var value = /** @type {boolean} */ (reader.readBool()); msg.setHassend(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DancerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DancerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DancerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DancerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeBool( 5, f ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.DancerInfo.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DancerInfo.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 DanceSecs = 2; * @return {number} */ proto.DancerInfo.prototype.getDancesecs = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.setDancesecs = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.clearDancesecs = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DancerInfo.prototype.hasDancesecs = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsDancing = 3; * @return {boolean} */ proto.DancerInfo.prototype.getIsdancing = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.setIsdancing = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.clearIsdancing = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DancerInfo.prototype.hasIsdancing = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional bool HasDrawn = 4; * @return {boolean} */ proto.DancerInfo.prototype.getHasdrawn = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.setHasdrawn = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.clearHasdrawn = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DancerInfo.prototype.hasHasdrawn = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional bool HasSend = 5; * @return {boolean} */ proto.DancerInfo.prototype.getHassend = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); }; /** * @param {boolean} value * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.setHassend = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.DancerInfo} returns this */ proto.DancerInfo.prototype.clearHassend = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DancerInfo.prototype.hasHassend = function() { return jspb.Message.getField(this, 5) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.DelayHitInfo.repeatedFields_ = [5]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DelayHitInfo.prototype.toObject = function(opt_includeInstance) { return proto.DelayHitInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DelayHitInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DelayHitInfo.toObject = function(includeInstance, msg) { var f, obj = { effectid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, buffuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, eventid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, playtime: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f, targetinfosList: jspb.Message.toObjectList(msg.getTargetinfosList(), proto.DelayHitTargetInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DelayHitInfo} */ proto.DelayHitInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DelayHitInfo; return proto.DelayHitInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DelayHitInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DelayHitInfo} */ proto.DelayHitInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setEffectid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setBuffuuid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setEventid(value); break; case 4: var value = /** @type {number} */ (reader.readFloat()); msg.setPlaytime(value); break; case 5: var value = new proto.DelayHitTargetInfo; reader.readMessage(value,proto.DelayHitTargetInfo.deserializeBinaryFromReader); msg.addTargetinfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DelayHitInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DelayHitInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DelayHitInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DelayHitInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeFloat( 4, f ); } f = message.getTargetinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 5, f, proto.DelayHitTargetInfo.serializeBinaryToWriter ); } }; /** * optional int32 EffectId = 1; * @return {number} */ proto.DelayHitInfo.prototype.getEffectid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.setEffectid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.clearEffectid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DelayHitInfo.prototype.hasEffectid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 BuffUuid = 2; * @return {number} */ proto.DelayHitInfo.prototype.getBuffuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.setBuffuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.clearBuffuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DelayHitInfo.prototype.hasBuffuuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 EventId = 3; * @return {number} */ proto.DelayHitInfo.prototype.getEventid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.setEventid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.clearEventid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DelayHitInfo.prototype.hasEventid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional float PlayTime = 4; * @return {number} */ proto.DelayHitInfo.prototype.getPlaytime = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); }; /** * @param {number} value * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.setPlaytime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.clearPlaytime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DelayHitInfo.prototype.hasPlaytime = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated DelayHitTargetInfo TargetInfos = 5; * @return {!Array} */ proto.DelayHitInfo.prototype.getTargetinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.DelayHitTargetInfo, 5)); }; /** * @param {!Array} value * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.setTargetinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 5, value); }; /** * @param {!proto.DelayHitTargetInfo=} opt_value * @param {number=} opt_index * @return {!proto.DelayHitTargetInfo} */ proto.DelayHitInfo.prototype.addTargetinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.DelayHitTargetInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.DelayHitInfo} returns this */ proto.DelayHitInfo.prototype.clearTargetinfosList = function() { return this.setTargetinfosList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DelayHitTargetInfo.prototype.toObject = function(opt_includeInstance) { return proto.DelayHitTargetInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DelayHitTargetInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DelayHitTargetInfo.toObject = function(includeInstance, msg) { var f, obj = { targetuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, hitpos: (f = msg.getHitpos()) && proto.Vector3.toObject(includeInstance, f), delaytime: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DelayHitTargetInfo} */ proto.DelayHitTargetInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DelayHitTargetInfo; return proto.DelayHitTargetInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DelayHitTargetInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DelayHitTargetInfo} */ proto.DelayHitTargetInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; case 2: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setHitpos(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setDelaytime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DelayHitTargetInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DelayHitTargetInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DelayHitTargetInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DelayHitTargetInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getHitpos(); if (f != null) { writer.writeMessage( 2, f, proto.Vector3.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } }; /** * optional int64 TargetUuid = 1; * @return {number} */ proto.DelayHitTargetInfo.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DelayHitTargetInfo} returns this */ proto.DelayHitTargetInfo.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DelayHitTargetInfo} returns this */ proto.DelayHitTargetInfo.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DelayHitTargetInfo.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Vector3 HitPos = 2; * @return {?proto.Vector3} */ proto.DelayHitTargetInfo.prototype.getHitpos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 2)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.DelayHitTargetInfo} returns this */ proto.DelayHitTargetInfo.prototype.setHitpos = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.DelayHitTargetInfo} returns this */ proto.DelayHitTargetInfo.prototype.clearHitpos = function() { return this.setHitpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DelayHitTargetInfo.prototype.hasHitpos = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float DelayTime = 3; * @return {number} */ proto.DelayHitTargetInfo.prototype.getDelaytime = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.DelayHitTargetInfo} returns this */ proto.DelayHitTargetInfo.prototype.setDelaytime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DelayHitTargetInfo} returns this */ proto.DelayHitTargetInfo.prototype.clearDelaytime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DelayHitTargetInfo.prototype.hasDelaytime = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.DirtyMask.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DirtyMask.prototype.toObject = function(opt_includeInstance) { return proto.DirtyMask.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DirtyMask} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DirtyMask.toObject = function(includeInstance, msg) { var f, obj = { dirtykeyList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DirtyMask} */ proto.DirtyMask.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DirtyMask; return proto.DirtyMask.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DirtyMask} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DirtyMask} */ proto.DirtyMask.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addDirtykey(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DirtyMask.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DirtyMask.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DirtyMask} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DirtyMask.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDirtykeyList(); if (f.length > 0) { writer.writePackedInt64( 1, f ); } }; /** * repeated int64 DirtyKey = 1; * @return {!Array} */ proto.DirtyMask.prototype.getDirtykeyList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.DirtyMask} returns this */ proto.DirtyMask.prototype.setDirtykeyList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.DirtyMask} returns this */ proto.DirtyMask.prototype.addDirtykey = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.DirtyMask} returns this */ proto.DirtyMask.prototype.clearDirtykeyList = function() { return this.setDirtykeyList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.DrawingLines.repeatedFields_ = [4]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DrawingLines.prototype.toObject = function(opt_includeInstance) { return proto.DrawingLines.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DrawingLines} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DrawingLines.toObject = function(includeInstance, msg) { var f, obj = { color: (f = msg.getColor()) && proto.Vector3.toObject(includeInstance, f), width: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, deletetime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, pointsList: jspb.Message.toObjectList(msg.getPointsList(), proto.Position.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DrawingLines} */ proto.DrawingLines.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DrawingLines; return proto.DrawingLines.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DrawingLines} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DrawingLines} */ proto.DrawingLines.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setColor(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setWidth(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setDeletetime(value); break; case 4: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.addPoints(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DrawingLines.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DrawingLines.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DrawingLines} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DrawingLines.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getColor(); if (f != null) { writer.writeMessage( 1, f, proto.Vector3.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeFloat( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = message.getPointsList(); if (f.length > 0) { writer.writeRepeatedMessage( 4, f, proto.Position.serializeBinaryToWriter ); } }; /** * optional Vector3 Color = 1; * @return {?proto.Vector3} */ proto.DrawingLines.prototype.getColor = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 1)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.DrawingLines} returns this */ proto.DrawingLines.prototype.setColor = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.DrawingLines} returns this */ proto.DrawingLines.prototype.clearColor = function() { return this.setColor(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DrawingLines.prototype.hasColor = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional float Width = 2; * @return {number} */ proto.DrawingLines.prototype.getWidth = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.DrawingLines} returns this */ proto.DrawingLines.prototype.setWidth = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DrawingLines} returns this */ proto.DrawingLines.prototype.clearWidth = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DrawingLines.prototype.hasWidth = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 DeleteTime = 3; * @return {number} */ proto.DrawingLines.prototype.getDeletetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DrawingLines} returns this */ proto.DrawingLines.prototype.setDeletetime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DrawingLines} returns this */ proto.DrawingLines.prototype.clearDeletetime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DrawingLines.prototype.hasDeletetime = function() { return jspb.Message.getField(this, 3) != null; }; /** * repeated Position Points = 4; * @return {!Array} */ proto.DrawingLines.prototype.getPointsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.Position, 4)); }; /** * @param {!Array} value * @return {!proto.DrawingLines} returns this */ proto.DrawingLines.prototype.setPointsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 4, value); }; /** * @param {!proto.Position=} opt_value * @param {number=} opt_index * @return {!proto.Position} */ proto.DrawingLines.prototype.addPoints = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.Position, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.DrawingLines} returns this */ proto.DrawingLines.prototype.clearPointsList = function() { return this.setPointsList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.DungeonAffixData.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonAffixData.prototype.toObject = function(opt_includeInstance) { return proto.DungeonAffixData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonAffixData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonAffixData.toObject = function(includeInstance, msg) { var f, obj = { affixdataList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonAffixData} */ proto.DungeonAffixData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonAffixData; return proto.DungeonAffixData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonAffixData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonAffixData} */ proto.DungeonAffixData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]); for (var i = 0; i < values.length; i++) { msg.addAffixdata(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonAffixData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonAffixData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonAffixData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonAffixData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAffixdataList(); if (f.length > 0) { writer.writePackedUint32( 1, f ); } }; /** * repeated uint32 AffixData = 1; * @return {!Array} */ proto.DungeonAffixData.prototype.getAffixdataList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.DungeonAffixData} returns this */ proto.DungeonAffixData.prototype.setAffixdataList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.DungeonAffixData} returns this */ proto.DungeonAffixData.prototype.addAffixdata = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.DungeonAffixData} returns this */ proto.DungeonAffixData.prototype.clearAffixdataList = function() { return this.setAffixdataList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.DungeonAward.repeatedFields_ = [4]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonAward.prototype.toObject = function(opt_includeInstance) { return proto.DungeonAward.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonAward} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonAward.toObject = function(includeInstance, msg) { var f, obj = { itemsMap: (f = msg.getItemsMap()) ? f.toObject(includeInstance, proto.Item.toObject) : [], flagassist: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, awardcount: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, firstitemsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonAward} */ proto.DungeonAward.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonAward; return proto.DungeonAward.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonAward} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonAward} */ proto.DungeonAward.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getItemsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.Item.deserializeBinaryFromReader, 0, new proto.Item()); }); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setFlagassist(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setAwardcount(value); break; case 4: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addFirstitems(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonAward.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonAward.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonAward} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonAward.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getItemsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.Item.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getFirstitemsList(); if (f.length > 0) { writer.writePackedInt64( 4, f ); } }; /** * map Items = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonAward.prototype.getItemsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.Item)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonAward} returns this */ proto.DungeonAward.prototype.clearItemsMap = function() { this.getItemsMap().clear(); return this; }; /** * optional int32 FlagAssist = 2; * @return {number} */ proto.DungeonAward.prototype.getFlagassist = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonAward} returns this */ proto.DungeonAward.prototype.setFlagassist = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonAward} returns this */ proto.DungeonAward.prototype.clearFlagassist = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonAward.prototype.hasFlagassist = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 AwardCount = 3; * @return {number} */ proto.DungeonAward.prototype.getAwardcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DungeonAward} returns this */ proto.DungeonAward.prototype.setAwardcount = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonAward} returns this */ proto.DungeonAward.prototype.clearAwardcount = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonAward.prototype.hasAwardcount = function() { return jspb.Message.getField(this, 3) != null; }; /** * repeated int64 FirstItems = 4; * @return {!Array} */ proto.DungeonAward.prototype.getFirstitemsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 4)); }; /** * @param {!Array} value * @return {!proto.DungeonAward} returns this */ proto.DungeonAward.prototype.setFirstitemsList = function(value) { return jspb.Message.setField(this, 4, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.DungeonAward} returns this */ proto.DungeonAward.prototype.addFirstitems = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 4, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.DungeonAward} returns this */ proto.DungeonAward.prototype.clearFirstitemsList = function() { return this.setFirstitemsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonBossRank.prototype.toObject = function(opt_includeInstance) { return proto.DungeonBossRank.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonBossRank} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonBossRank.toObject = function(includeInstance, msg) { var f, obj = { bossrankMap: (f = msg.getBossrankMap()) ? f.toObject(includeInstance, proto.RankData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonBossRank} */ proto.DungeonBossRank.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonBossRank; return proto.DungeonBossRank.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonBossRank} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonBossRank} */ proto.DungeonBossRank.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getBossrankMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.RankData.deserializeBinaryFromReader, 0, new proto.RankData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonBossRank.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonBossRank.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonBossRank} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonBossRank.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBossrankMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.RankData.serializeBinaryToWriter); } }; /** * map BossRank = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonBossRank.prototype.getBossrankMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.RankData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonBossRank} returns this */ proto.DungeonBossRank.prototype.clearBossrankMap = function() { this.getBossrankMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RankData.prototype.toObject = function(opt_includeInstance) { return proto.RankData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RankData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RankData.toObject = function(includeInstance, msg) { var f, obj = { rank: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, charid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, score: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RankData} */ proto.RankData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RankData; return proto.RankData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RankData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RankData} */ proto.RankData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setRank(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setScore(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RankData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RankData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RankData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RankData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 Rank = 1; * @return {number} */ proto.RankData.prototype.getRank = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.RankData} returns this */ proto.RankData.prototype.setRank = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.RankData} returns this */ proto.RankData.prototype.clearRank = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RankData.prototype.hasRank = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 CharId = 2; * @return {number} */ proto.RankData.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.RankData} returns this */ proto.RankData.prototype.setCharid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.RankData} returns this */ proto.RankData.prototype.clearCharid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RankData.prototype.hasCharid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Score = 3; * @return {number} */ proto.RankData.prototype.getScore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.RankData} returns this */ proto.RankData.prototype.setScore = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.RankData} returns this */ proto.RankData.prototype.clearScore = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RankData.prototype.hasScore = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonDamage.prototype.toObject = function(opt_includeInstance) { return proto.DungeonDamage.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonDamage} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonDamage.toObject = function(includeInstance, msg) { var f, obj = { damagesMap: (f = msg.getDamagesMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonDamage} */ proto.DungeonDamage.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonDamage; return proto.DungeonDamage.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonDamage} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonDamage} */ proto.DungeonDamage.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getDamagesMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readInt64, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonDamage.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonDamage.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonDamage} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonDamage.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDamagesMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeInt64); } }; /** * map Damages = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonDamage.prototype.getDamagesMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonDamage} returns this */ proto.DungeonDamage.prototype.clearDamagesMap = function() { this.getDamagesMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonEvent.prototype.toObject = function(opt_includeInstance) { return proto.DungeonEvent.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonEvent} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonEvent.toObject = function(includeInstance, msg) { var f, obj = { dungeoneventdataMap: (f = msg.getDungeoneventdataMap()) ? f.toObject(includeInstance, proto.DungeonEventData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonEvent} */ proto.DungeonEvent.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonEvent; return proto.DungeonEvent.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonEvent} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonEvent} */ proto.DungeonEvent.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getDungeoneventdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonEventData.deserializeBinaryFromReader, 0, new proto.DungeonEventData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonEvent.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonEvent.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonEvent} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonEvent.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDungeoneventdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonEventData.serializeBinaryToWriter); } }; /** * map DungeonEventData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonEvent.prototype.getDungeoneventdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonEventData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonEvent} returns this */ proto.DungeonEvent.prototype.clearDungeoneventdataMap = function() { this.getDungeoneventdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonEventData.prototype.toObject = function(opt_includeInstance) { return proto.DungeonEventData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonEventData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonEventData.toObject = function(includeInstance, msg) { var f, obj = { eventid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, starttime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, state: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, result: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, dungeontargetMap: (f = msg.getDungeontargetMap()) ? f.toObject(includeInstance, proto.DungeonTargetData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonEventData} */ proto.DungeonEventData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonEventData; return proto.DungeonEventData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonEventData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonEventData} */ proto.DungeonEventData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setEventid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setStarttime(value); break; case 3: var value = /** @type {!proto.DungeonEventState} */ (reader.readEnum()); msg.setState(value); break; case 4: var value = /** @type {!proto.DungeonEventResult} */ (reader.readEnum()); msg.setResult(value); break; case 5: var value = msg.getDungeontargetMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonTargetData.deserializeBinaryFromReader, 0, new proto.DungeonTargetData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonEventData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonEventData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonEventData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonEventData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {!proto.DungeonEventState} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, f ); } f = /** @type {!proto.DungeonEventResult} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeEnum( 4, f ); } f = message.getDungeontargetMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonTargetData.serializeBinaryToWriter); } }; /** * optional int32 EventId = 1; * @return {number} */ proto.DungeonEventData.prototype.getEventid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonEventData} returns this */ proto.DungeonEventData.prototype.setEventid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonEventData} returns this */ proto.DungeonEventData.prototype.clearEventid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonEventData.prototype.hasEventid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 StartTime = 2; * @return {number} */ proto.DungeonEventData.prototype.getStarttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonEventData} returns this */ proto.DungeonEventData.prototype.setStarttime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonEventData} returns this */ proto.DungeonEventData.prototype.clearStarttime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonEventData.prototype.hasStarttime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional DungeonEventState State = 3; * @return {!proto.DungeonEventState} */ proto.DungeonEventData.prototype.getState = function() { return /** @type {!proto.DungeonEventState} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {!proto.DungeonEventState} value * @return {!proto.DungeonEventData} returns this */ proto.DungeonEventData.prototype.setState = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonEventData} returns this */ proto.DungeonEventData.prototype.clearState = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonEventData.prototype.hasState = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional DungeonEventResult Result = 4; * @return {!proto.DungeonEventResult} */ proto.DungeonEventData.prototype.getResult = function() { return /** @type {!proto.DungeonEventResult} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {!proto.DungeonEventResult} value * @return {!proto.DungeonEventData} returns this */ proto.DungeonEventData.prototype.setResult = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonEventData} returns this */ proto.DungeonEventData.prototype.clearResult = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonEventData.prototype.hasResult = function() { return jspb.Message.getField(this, 4) != null; }; /** * map DungeonTarget = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonEventData.prototype.getDungeontargetMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, proto.DungeonTargetData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonEventData} returns this */ proto.DungeonEventData.prototype.clearDungeontargetMap = function() { this.getDungeontargetMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonTargetData.prototype.toObject = function(opt_includeInstance) { return proto.DungeonTargetData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonTargetData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTargetData.toObject = function(includeInstance, msg) { var f, obj = { targetid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, nums: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, complete: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonTargetData} */ proto.DungeonTargetData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonTargetData; return proto.DungeonTargetData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonTargetData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonTargetData} */ proto.DungeonTargetData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setNums(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setComplete(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonTargetData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonTargetData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonTargetData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTargetData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 TargetId = 1; * @return {number} */ proto.DungeonTargetData.prototype.getTargetid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonTargetData} returns this */ proto.DungeonTargetData.prototype.setTargetid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTargetData} returns this */ proto.DungeonTargetData.prototype.clearTargetid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTargetData.prototype.hasTargetid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Nums = 2; * @return {number} */ proto.DungeonTargetData.prototype.getNums = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonTargetData} returns this */ proto.DungeonTargetData.prototype.setNums = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTargetData} returns this */ proto.DungeonTargetData.prototype.clearNums = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTargetData.prototype.hasNums = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Complete = 3; * @return {number} */ proto.DungeonTargetData.prototype.getComplete = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DungeonTargetData} returns this */ proto.DungeonTargetData.prototype.setComplete = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTargetData} returns this */ proto.DungeonTargetData.prototype.clearComplete = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTargetData.prototype.hasComplete = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonFlowInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonFlowInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonFlowInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonFlowInfo.toObject = function(includeInstance, msg) { var f, obj = { state: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, activetime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, readytime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, playtime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, endtime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, settlementtime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, dungeontimes: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, result: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonFlowInfo} */ proto.DungeonFlowInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonFlowInfo; return proto.DungeonFlowInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonFlowInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonFlowInfo} */ proto.DungeonFlowInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EDungeonState} */ (reader.readEnum()); msg.setState(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setActivetime(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setReadytime(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setPlaytime(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setEndtime(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setSettlementtime(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setDungeontimes(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setResult(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonFlowInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonFlowInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonFlowInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonFlowInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EDungeonState} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } }; /** * optional EDungeonState State = 1; * @return {!proto.EDungeonState} */ proto.DungeonFlowInfo.prototype.getState = function() { return /** @type {!proto.EDungeonState} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EDungeonState} value * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.setState = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.clearState = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonFlowInfo.prototype.hasState = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 ActiveTime = 2; * @return {number} */ proto.DungeonFlowInfo.prototype.getActivetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.setActivetime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.clearActivetime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonFlowInfo.prototype.hasActivetime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 ReadyTime = 3; * @return {number} */ proto.DungeonFlowInfo.prototype.getReadytime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.setReadytime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.clearReadytime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonFlowInfo.prototype.hasReadytime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 PlayTime = 4; * @return {number} */ proto.DungeonFlowInfo.prototype.getPlaytime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.setPlaytime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.clearPlaytime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonFlowInfo.prototype.hasPlaytime = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 EndTime = 5; * @return {number} */ proto.DungeonFlowInfo.prototype.getEndtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.setEndtime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.clearEndtime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonFlowInfo.prototype.hasEndtime = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 SettlementTime = 6; * @return {number} */ proto.DungeonFlowInfo.prototype.getSettlementtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.setSettlementtime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.clearSettlementtime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonFlowInfo.prototype.hasSettlementtime = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 DungeonTimes = 7; * @return {number} */ proto.DungeonFlowInfo.prototype.getDungeontimes = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.setDungeontimes = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.clearDungeontimes = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonFlowInfo.prototype.hasDungeontimes = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 Result = 8; * @return {number} */ proto.DungeonFlowInfo.prototype.getResult = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.setResult = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonFlowInfo} returns this */ proto.DungeonFlowInfo.prototype.clearResult = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonFlowInfo.prototype.hasResult = function() { return jspb.Message.getField(this, 8) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.DungeonHeroKeyInfo.repeatedFields_ = [2,5]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonHeroKeyInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonHeroKeyInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonHeroKeyInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonHeroKeyInfo.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, herokeyitemList: jspb.Message.toObjectList(msg.getHerokeyitemList(), proto.Item.toObject, includeInstance), keyinfoMap: (f = msg.getKeyinfoMap()) ? f.toObject(includeInstance, proto.HeroKeyItemInfo.toObject) : [], useitem: (f = msg.getUseitem()) && proto.Item.toObject(includeInstance, f), herokeyawarditemList: jspb.Message.toObjectList(msg.getHerokeyawarditemList(), proto.Item.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonHeroKeyInfo} */ proto.DungeonHeroKeyInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonHeroKeyInfo; return proto.DungeonHeroKeyInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonHeroKeyInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonHeroKeyInfo} */ proto.DungeonHeroKeyInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = new proto.Item; reader.readMessage(value,proto.Item.deserializeBinaryFromReader); msg.addHerokeyitem(value); break; case 3: var value = msg.getKeyinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.HeroKeyItemInfo.deserializeBinaryFromReader, 0, new proto.HeroKeyItemInfo()); }); break; case 4: var value = new proto.Item; reader.readMessage(value,proto.Item.deserializeBinaryFromReader); msg.setUseitem(value); break; case 5: var value = new proto.Item; reader.readMessage(value,proto.Item.deserializeBinaryFromReader); msg.addHerokeyawarditem(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonHeroKeyInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonHeroKeyInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonHeroKeyInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonHeroKeyInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getHerokeyitemList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.Item.serializeBinaryToWriter ); } f = message.getKeyinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.HeroKeyItemInfo.serializeBinaryToWriter); } f = message.getUseitem(); if (f != null) { writer.writeMessage( 4, f, proto.Item.serializeBinaryToWriter ); } f = message.getHerokeyawarditemList(); if (f.length > 0) { writer.writeRepeatedMessage( 5, f, proto.Item.serializeBinaryToWriter ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.DungeonHeroKeyInfo.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonHeroKeyInfo} returns this */ proto.DungeonHeroKeyInfo.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonHeroKeyInfo} returns this */ proto.DungeonHeroKeyInfo.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonHeroKeyInfo.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated Item HeroKeyItem = 2; * @return {!Array} */ proto.DungeonHeroKeyInfo.prototype.getHerokeyitemList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.Item, 2)); }; /** * @param {!Array} value * @return {!proto.DungeonHeroKeyInfo} returns this */ proto.DungeonHeroKeyInfo.prototype.setHerokeyitemList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.Item=} opt_value * @param {number=} opt_index * @return {!proto.Item} */ proto.DungeonHeroKeyInfo.prototype.addHerokeyitem = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Item, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.DungeonHeroKeyInfo} returns this */ proto.DungeonHeroKeyInfo.prototype.clearHerokeyitemList = function() { return this.setHerokeyitemList([]); }; /** * map KeyInfo = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonHeroKeyInfo.prototype.getKeyinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.HeroKeyItemInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonHeroKeyInfo} returns this */ proto.DungeonHeroKeyInfo.prototype.clearKeyinfoMap = function() { this.getKeyinfoMap().clear(); return this; }; /** * optional Item UseItem = 4; * @return {?proto.Item} */ proto.DungeonHeroKeyInfo.prototype.getUseitem = function() { return /** @type{?proto.Item} */ ( jspb.Message.getWrapperField(this, proto.Item, 4)); }; /** * @param {?proto.Item|undefined} value * @return {!proto.DungeonHeroKeyInfo} returns this */ proto.DungeonHeroKeyInfo.prototype.setUseitem = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonHeroKeyInfo} returns this */ proto.DungeonHeroKeyInfo.prototype.clearUseitem = function() { return this.setUseitem(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonHeroKeyInfo.prototype.hasUseitem = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated Item HeroKeyAwardItem = 5; * @return {!Array} */ proto.DungeonHeroKeyInfo.prototype.getHerokeyawarditemList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.Item, 5)); }; /** * @param {!Array} value * @return {!proto.DungeonHeroKeyInfo} returns this */ proto.DungeonHeroKeyInfo.prototype.setHerokeyawarditemList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 5, value); }; /** * @param {!proto.Item=} opt_value * @param {number=} opt_index * @return {!proto.Item} */ proto.DungeonHeroKeyInfo.prototype.addHerokeyawarditem = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.Item, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.DungeonHeroKeyInfo} returns this */ proto.DungeonHeroKeyInfo.prototype.clearHerokeyawarditemList = function() { return this.setHerokeyawarditemList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HeroKeyItemInfo.prototype.toObject = function(opt_includeInstance) { return proto.HeroKeyItemInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HeroKeyItemInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HeroKeyItemInfo.toObject = function(includeInstance, msg) { var f, obj = { item: (f = msg.getItem()) && proto.Item.toObject(includeInstance, f), rollinfoMap: (f = msg.getRollinfoMap()) ? f.toObject(includeInstance, proto.HeroKeyRollInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HeroKeyItemInfo} */ proto.HeroKeyItemInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HeroKeyItemInfo; return proto.HeroKeyItemInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HeroKeyItemInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HeroKeyItemInfo} */ proto.HeroKeyItemInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Item; reader.readMessage(value,proto.Item.deserializeBinaryFromReader); msg.setItem(value); break; case 2: var value = msg.getRollinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.HeroKeyRollInfo.deserializeBinaryFromReader, 0, new proto.HeroKeyRollInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HeroKeyItemInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HeroKeyItemInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HeroKeyItemInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HeroKeyItemInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getItem(); if (f != null) { writer.writeMessage( 1, f, proto.Item.serializeBinaryToWriter ); } f = message.getRollinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.HeroKeyRollInfo.serializeBinaryToWriter); } }; /** * optional Item Item = 1; * @return {?proto.Item} */ proto.HeroKeyItemInfo.prototype.getItem = function() { return /** @type{?proto.Item} */ ( jspb.Message.getWrapperField(this, proto.Item, 1)); }; /** * @param {?proto.Item|undefined} value * @return {!proto.HeroKeyItemInfo} returns this */ proto.HeroKeyItemInfo.prototype.setItem = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.HeroKeyItemInfo} returns this */ proto.HeroKeyItemInfo.prototype.clearItem = function() { return this.setItem(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HeroKeyItemInfo.prototype.hasItem = function() { return jspb.Message.getField(this, 1) != null; }; /** * map RollInfo = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.HeroKeyItemInfo.prototype.getRollinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.HeroKeyRollInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.HeroKeyItemInfo} returns this */ proto.HeroKeyItemInfo.prototype.clearRollinfoMap = function() { this.getRollinfoMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.HeroKeyRollInfo.prototype.toObject = function(opt_includeInstance) { return proto.HeroKeyRollInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.HeroKeyRollInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HeroKeyRollInfo.toObject = function(includeInstance, msg) { var f, obj = { type: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, charid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, name: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, avatar: (f = msg.getAvatar()) && proto.AvatarInfo.toObject(includeInstance, f), rollvalue: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.HeroKeyRollInfo} */ proto.HeroKeyRollInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.HeroKeyRollInfo; return proto.HeroKeyRollInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.HeroKeyRollInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.HeroKeyRollInfo} */ proto.HeroKeyRollInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EHeroKeyRollType} */ (reader.readEnum()); msg.setType(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; case 4: var value = new proto.AvatarInfo; reader.readMessage(value,proto.AvatarInfo.deserializeBinaryFromReader); msg.setAvatar(value); break; case 5: var value = /** @type {number} */ (reader.readUint32()); msg.setRollvalue(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.HeroKeyRollInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.HeroKeyRollInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.HeroKeyRollInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.HeroKeyRollInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EHeroKeyRollType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = message.getAvatar(); if (f != null) { writer.writeMessage( 4, f, proto.AvatarInfo.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeUint32( 5, f ); } }; /** * optional EHeroKeyRollType Type = 1; * @return {!proto.EHeroKeyRollType} */ proto.HeroKeyRollInfo.prototype.getType = function() { return /** @type {!proto.EHeroKeyRollType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EHeroKeyRollType} value * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.setType = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.clearType = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HeroKeyRollInfo.prototype.hasType = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 CharId = 2; * @return {number} */ proto.HeroKeyRollInfo.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.setCharid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.clearCharid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HeroKeyRollInfo.prototype.hasCharid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string Name = 3; * @return {string} */ proto.HeroKeyRollInfo.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.setName = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.clearName = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HeroKeyRollInfo.prototype.hasName = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional AvatarInfo Avatar = 4; * @return {?proto.AvatarInfo} */ proto.HeroKeyRollInfo.prototype.getAvatar = function() { return /** @type{?proto.AvatarInfo} */ ( jspb.Message.getWrapperField(this, proto.AvatarInfo, 4)); }; /** * @param {?proto.AvatarInfo|undefined} value * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.setAvatar = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.clearAvatar = function() { return this.setAvatar(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HeroKeyRollInfo.prototype.hasAvatar = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional uint32 RollValue = 5; * @return {number} */ proto.HeroKeyRollInfo.prototype.getRollvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.setRollvalue = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.HeroKeyRollInfo} returns this */ proto.HeroKeyRollInfo.prototype.clearRollvalue = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.HeroKeyRollInfo.prototype.hasRollvalue = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonPioneer.prototype.toObject = function(opt_includeInstance) { return proto.DungeonPioneer.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonPioneer} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonPioneer.toObject = function(includeInstance, msg) { var f, obj = { completedtargetthistimeMap: (f = msg.getCompletedtargetthistimeMap()) ? f.toObject(includeInstance, proto.CompletedTargetInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonPioneer} */ proto.DungeonPioneer.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonPioneer; return proto.DungeonPioneer.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonPioneer} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonPioneer} */ proto.DungeonPioneer.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getCompletedtargetthistimeMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.CompletedTargetInfo.deserializeBinaryFromReader, 0, new proto.CompletedTargetInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonPioneer.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonPioneer.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonPioneer} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonPioneer.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCompletedtargetthistimeMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.CompletedTargetInfo.serializeBinaryToWriter); } }; /** * map CompletedTargetThisTime = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonPioneer.prototype.getCompletedtargetthistimeMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.CompletedTargetInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonPioneer} returns this */ proto.DungeonPioneer.prototype.clearCompletedtargetthistimeMap = function() { this.getCompletedtargetthistimeMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonPlanetMemoryRoom.prototype.toObject = function(opt_includeInstance) { return proto.DungeonPlanetMemoryRoom.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonPlanetMemoryRoom} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonPlanetMemoryRoom.toObject = function(includeInstance, msg) { var f, obj = { roomid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonPlanetMemoryRoom} */ proto.DungeonPlanetMemoryRoom.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonPlanetMemoryRoom; return proto.DungeonPlanetMemoryRoom.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonPlanetMemoryRoom} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonPlanetMemoryRoom} */ proto.DungeonPlanetMemoryRoom.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setRoomid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonPlanetMemoryRoom.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonPlanetMemoryRoom.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonPlanetMemoryRoom} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonPlanetMemoryRoom.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 RoomId = 1; * @return {number} */ proto.DungeonPlanetMemoryRoom.prototype.getRoomid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonPlanetMemoryRoom} returns this */ proto.DungeonPlanetMemoryRoom.prototype.setRoomid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonPlanetMemoryRoom} returns this */ proto.DungeonPlanetMemoryRoom.prototype.clearRoomid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonPlanetMemoryRoom.prototype.hasRoomid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonPlayerInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonPlayerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonPlayerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonPlayerInfo.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, socialdata: (f = msg.getSocialdata()) && proto.SocialData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonPlayerInfo} */ proto.DungeonPlayerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonPlayerInfo; return proto.DungeonPlayerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonPlayerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonPlayerInfo} */ proto.DungeonPlayerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = new proto.SocialData; reader.readMessage(value,proto.SocialData.deserializeBinaryFromReader); msg.setSocialdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonPlayerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonPlayerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonPlayerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonPlayerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getSocialdata(); if (f != null) { writer.writeMessage( 2, f, proto.SocialData.serializeBinaryToWriter ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.DungeonPlayerInfo.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonPlayerInfo} returns this */ proto.DungeonPlayerInfo.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonPlayerInfo} returns this */ proto.DungeonPlayerInfo.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonPlayerInfo.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional SocialData SocialData = 2; * @return {?proto.SocialData} */ proto.DungeonPlayerInfo.prototype.getSocialdata = function() { return /** @type{?proto.SocialData} */ ( jspb.Message.getWrapperField(this, proto.SocialData, 2)); }; /** * @param {?proto.SocialData|undefined} value * @return {!proto.DungeonPlayerInfo} returns this */ proto.DungeonPlayerInfo.prototype.setSocialdata = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonPlayerInfo} returns this */ proto.DungeonPlayerInfo.prototype.clearSocialdata = function() { return this.setSocialdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonPlayerInfo.prototype.hasSocialdata = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SocialData.prototype.toObject = function(opt_includeInstance) { return proto.SocialData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SocialData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SocialData.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, accountid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, basicdata: (f = msg.getBasicdata()) && proto.BasicData.toObject(includeInstance, f), avatarinfo: (f = msg.getAvatarinfo()) && proto.AvatarInfo.toObject(includeInstance, f), facedata: (f = msg.getFacedata()) && proto.FaceData.toObject(includeInstance, f), professiondata: (f = msg.getProfessiondata()) && proto.ProfessionData.toObject(includeInstance, f), equipdata: (f = msg.getEquipdata()) && proto.EquipData.toObject(includeInstance, f), fashiondata: (f = msg.getFashiondata()) && proto.FashionData.toObject(includeInstance, f), settingdata: (f = msg.getSettingdata()) && proto.SettingData.toObject(includeInstance, f), scenedata: (f = msg.getScenedata()) && proto.SceneData.toObject(includeInstance, f), userattrdata: (f = msg.getUserattrdata()) && proto.UserAttrData.toObject(includeInstance, f), teamdata: (f = msg.getTeamdata()) && proto.CharTeam.toObject(includeInstance, f), uniondata: (f = msg.getUniondata()) && proto.UnionData.toObject(includeInstance, f), accountdata: (f = msg.getAccountdata()) && proto.AccountData.toObject(includeInstance, f), functiondata: (f = msg.getFunctiondata()) && proto.FunctionData.toObject(includeInstance, f), personalzone: (f = msg.getPersonalzone()) && proto.PersonalZone.toObject(includeInstance, f), warehouse: (f = msg.getWarehouse()) && proto.WarehouseData.toObject(includeInstance, f), seasonrank: (f = msg.getSeasonrank()) && proto.SeasonRankData.toObject(includeInstance, f), fishdata: (f = msg.getFishdata()) && proto.FishSocialData.toObject(includeInstance, f), communitydata: (f = msg.getCommunitydata()) && proto.CommunityData.toObject(includeInstance, f), privilegedata: (f = msg.getPrivilegedata()) && proto.PrivilegeData.toObject(includeInstance, f), mastermodedungeondata: (f = msg.getMastermodedungeondata()) && proto.MasterModeDungeonData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SocialData} */ proto.SocialData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SocialData; return proto.SocialData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SocialData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SocialData} */ proto.SocialData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setAccountid(value); break; case 3: var value = new proto.BasicData; reader.readMessage(value,proto.BasicData.deserializeBinaryFromReader); msg.setBasicdata(value); break; case 4: var value = new proto.AvatarInfo; reader.readMessage(value,proto.AvatarInfo.deserializeBinaryFromReader); msg.setAvatarinfo(value); break; case 5: var value = new proto.FaceData; reader.readMessage(value,proto.FaceData.deserializeBinaryFromReader); msg.setFacedata(value); break; case 6: var value = new proto.ProfessionData; reader.readMessage(value,proto.ProfessionData.deserializeBinaryFromReader); msg.setProfessiondata(value); break; case 7: var value = new proto.EquipData; reader.readMessage(value,proto.EquipData.deserializeBinaryFromReader); msg.setEquipdata(value); break; case 8: var value = new proto.FashionData; reader.readMessage(value,proto.FashionData.deserializeBinaryFromReader); msg.setFashiondata(value); break; case 9: var value = new proto.SettingData; reader.readMessage(value,proto.SettingData.deserializeBinaryFromReader); msg.setSettingdata(value); break; case 10: var value = new proto.SceneData; reader.readMessage(value,proto.SceneData.deserializeBinaryFromReader); msg.setScenedata(value); break; case 11: var value = new proto.UserAttrData; reader.readMessage(value,proto.UserAttrData.deserializeBinaryFromReader); msg.setUserattrdata(value); break; case 12: var value = new proto.CharTeam; reader.readMessage(value,proto.CharTeam.deserializeBinaryFromReader); msg.setTeamdata(value); break; case 13: var value = new proto.UnionData; reader.readMessage(value,proto.UnionData.deserializeBinaryFromReader); msg.setUniondata(value); break; case 14: var value = new proto.AccountData; reader.readMessage(value,proto.AccountData.deserializeBinaryFromReader); msg.setAccountdata(value); break; case 15: var value = new proto.FunctionData; reader.readMessage(value,proto.FunctionData.deserializeBinaryFromReader); msg.setFunctiondata(value); break; case 16: var value = new proto.PersonalZone; reader.readMessage(value,proto.PersonalZone.deserializeBinaryFromReader); msg.setPersonalzone(value); break; case 17: var value = new proto.WarehouseData; reader.readMessage(value,proto.WarehouseData.deserializeBinaryFromReader); msg.setWarehouse(value); break; case 18: var value = new proto.SeasonRankData; reader.readMessage(value,proto.SeasonRankData.deserializeBinaryFromReader); msg.setSeasonrank(value); break; case 19: var value = new proto.FishSocialData; reader.readMessage(value,proto.FishSocialData.deserializeBinaryFromReader); msg.setFishdata(value); break; case 20: var value = new proto.CommunityData; reader.readMessage(value,proto.CommunityData.deserializeBinaryFromReader); msg.setCommunitydata(value); break; case 21: var value = new proto.PrivilegeData; reader.readMessage(value,proto.PrivilegeData.deserializeBinaryFromReader); msg.setPrivilegedata(value); break; case 22: var value = new proto.MasterModeDungeonData; reader.readMessage(value,proto.MasterModeDungeonData.deserializeBinaryFromReader); msg.setMastermodedungeondata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SocialData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SocialData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SocialData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SocialData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = message.getBasicdata(); if (f != null) { writer.writeMessage( 3, f, proto.BasicData.serializeBinaryToWriter ); } f = message.getAvatarinfo(); if (f != null) { writer.writeMessage( 4, f, proto.AvatarInfo.serializeBinaryToWriter ); } f = message.getFacedata(); if (f != null) { writer.writeMessage( 5, f, proto.FaceData.serializeBinaryToWriter ); } f = message.getProfessiondata(); if (f != null) { writer.writeMessage( 6, f, proto.ProfessionData.serializeBinaryToWriter ); } f = message.getEquipdata(); if (f != null) { writer.writeMessage( 7, f, proto.EquipData.serializeBinaryToWriter ); } f = message.getFashiondata(); if (f != null) { writer.writeMessage( 8, f, proto.FashionData.serializeBinaryToWriter ); } f = message.getSettingdata(); if (f != null) { writer.writeMessage( 9, f, proto.SettingData.serializeBinaryToWriter ); } f = message.getScenedata(); if (f != null) { writer.writeMessage( 10, f, proto.SceneData.serializeBinaryToWriter ); } f = message.getUserattrdata(); if (f != null) { writer.writeMessage( 11, f, proto.UserAttrData.serializeBinaryToWriter ); } f = message.getTeamdata(); if (f != null) { writer.writeMessage( 12, f, proto.CharTeam.serializeBinaryToWriter ); } f = message.getUniondata(); if (f != null) { writer.writeMessage( 13, f, proto.UnionData.serializeBinaryToWriter ); } f = message.getAccountdata(); if (f != null) { writer.writeMessage( 14, f, proto.AccountData.serializeBinaryToWriter ); } f = message.getFunctiondata(); if (f != null) { writer.writeMessage( 15, f, proto.FunctionData.serializeBinaryToWriter ); } f = message.getPersonalzone(); if (f != null) { writer.writeMessage( 16, f, proto.PersonalZone.serializeBinaryToWriter ); } f = message.getWarehouse(); if (f != null) { writer.writeMessage( 17, f, proto.WarehouseData.serializeBinaryToWriter ); } f = message.getSeasonrank(); if (f != null) { writer.writeMessage( 18, f, proto.SeasonRankData.serializeBinaryToWriter ); } f = message.getFishdata(); if (f != null) { writer.writeMessage( 19, f, proto.FishSocialData.serializeBinaryToWriter ); } f = message.getCommunitydata(); if (f != null) { writer.writeMessage( 20, f, proto.CommunityData.serializeBinaryToWriter ); } f = message.getPrivilegedata(); if (f != null) { writer.writeMessage( 21, f, proto.PrivilegeData.serializeBinaryToWriter ); } f = message.getMastermodedungeondata(); if (f != null) { writer.writeMessage( 22, f, proto.MasterModeDungeonData.serializeBinaryToWriter ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.SocialData.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string AccountId = 2; * @return {string} */ proto.SocialData.prototype.getAccountid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setAccountid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearAccountid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasAccountid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional BasicData BasicData = 3; * @return {?proto.BasicData} */ proto.SocialData.prototype.getBasicdata = function() { return /** @type{?proto.BasicData} */ ( jspb.Message.getWrapperField(this, proto.BasicData, 3)); }; /** * @param {?proto.BasicData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setBasicdata = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearBasicdata = function() { return this.setBasicdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasBasicdata = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional AvatarInfo AvatarInfo = 4; * @return {?proto.AvatarInfo} */ proto.SocialData.prototype.getAvatarinfo = function() { return /** @type{?proto.AvatarInfo} */ ( jspb.Message.getWrapperField(this, proto.AvatarInfo, 4)); }; /** * @param {?proto.AvatarInfo|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setAvatarinfo = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearAvatarinfo = function() { return this.setAvatarinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasAvatarinfo = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional FaceData FaceData = 5; * @return {?proto.FaceData} */ proto.SocialData.prototype.getFacedata = function() { return /** @type{?proto.FaceData} */ ( jspb.Message.getWrapperField(this, proto.FaceData, 5)); }; /** * @param {?proto.FaceData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setFacedata = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearFacedata = function() { return this.setFacedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasFacedata = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional ProfessionData ProfessionData = 6; * @return {?proto.ProfessionData} */ proto.SocialData.prototype.getProfessiondata = function() { return /** @type{?proto.ProfessionData} */ ( jspb.Message.getWrapperField(this, proto.ProfessionData, 6)); }; /** * @param {?proto.ProfessionData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setProfessiondata = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearProfessiondata = function() { return this.setProfessiondata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasProfessiondata = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional EquipData EquipData = 7; * @return {?proto.EquipData} */ proto.SocialData.prototype.getEquipdata = function() { return /** @type{?proto.EquipData} */ ( jspb.Message.getWrapperField(this, proto.EquipData, 7)); }; /** * @param {?proto.EquipData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setEquipdata = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearEquipdata = function() { return this.setEquipdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasEquipdata = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional FashionData FashionData = 8; * @return {?proto.FashionData} */ proto.SocialData.prototype.getFashiondata = function() { return /** @type{?proto.FashionData} */ ( jspb.Message.getWrapperField(this, proto.FashionData, 8)); }; /** * @param {?proto.FashionData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setFashiondata = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearFashiondata = function() { return this.setFashiondata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasFashiondata = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional SettingData SettingData = 9; * @return {?proto.SettingData} */ proto.SocialData.prototype.getSettingdata = function() { return /** @type{?proto.SettingData} */ ( jspb.Message.getWrapperField(this, proto.SettingData, 9)); }; /** * @param {?proto.SettingData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setSettingdata = function(value) { return jspb.Message.setWrapperField(this, 9, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearSettingdata = function() { return this.setSettingdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasSettingdata = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional SceneData SceneData = 10; * @return {?proto.SceneData} */ proto.SocialData.prototype.getScenedata = function() { return /** @type{?proto.SceneData} */ ( jspb.Message.getWrapperField(this, proto.SceneData, 10)); }; /** * @param {?proto.SceneData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setScenedata = function(value) { return jspb.Message.setWrapperField(this, 10, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearScenedata = function() { return this.setScenedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasScenedata = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional UserAttrData UserAttrData = 11; * @return {?proto.UserAttrData} */ proto.SocialData.prototype.getUserattrdata = function() { return /** @type{?proto.UserAttrData} */ ( jspb.Message.getWrapperField(this, proto.UserAttrData, 11)); }; /** * @param {?proto.UserAttrData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setUserattrdata = function(value) { return jspb.Message.setWrapperField(this, 11, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearUserattrdata = function() { return this.setUserattrdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasUserattrdata = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional CharTeam TeamData = 12; * @return {?proto.CharTeam} */ proto.SocialData.prototype.getTeamdata = function() { return /** @type{?proto.CharTeam} */ ( jspb.Message.getWrapperField(this, proto.CharTeam, 12)); }; /** * @param {?proto.CharTeam|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setTeamdata = function(value) { return jspb.Message.setWrapperField(this, 12, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearTeamdata = function() { return this.setTeamdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasTeamdata = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional UnionData UnionData = 13; * @return {?proto.UnionData} */ proto.SocialData.prototype.getUniondata = function() { return /** @type{?proto.UnionData} */ ( jspb.Message.getWrapperField(this, proto.UnionData, 13)); }; /** * @param {?proto.UnionData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setUniondata = function(value) { return jspb.Message.setWrapperField(this, 13, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearUniondata = function() { return this.setUniondata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasUniondata = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional AccountData AccountData = 14; * @return {?proto.AccountData} */ proto.SocialData.prototype.getAccountdata = function() { return /** @type{?proto.AccountData} */ ( jspb.Message.getWrapperField(this, proto.AccountData, 14)); }; /** * @param {?proto.AccountData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setAccountdata = function(value) { return jspb.Message.setWrapperField(this, 14, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearAccountdata = function() { return this.setAccountdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasAccountdata = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional FunctionData FunctionData = 15; * @return {?proto.FunctionData} */ proto.SocialData.prototype.getFunctiondata = function() { return /** @type{?proto.FunctionData} */ ( jspb.Message.getWrapperField(this, proto.FunctionData, 15)); }; /** * @param {?proto.FunctionData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setFunctiondata = function(value) { return jspb.Message.setWrapperField(this, 15, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearFunctiondata = function() { return this.setFunctiondata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasFunctiondata = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional PersonalZone PersonalZone = 16; * @return {?proto.PersonalZone} */ proto.SocialData.prototype.getPersonalzone = function() { return /** @type{?proto.PersonalZone} */ ( jspb.Message.getWrapperField(this, proto.PersonalZone, 16)); }; /** * @param {?proto.PersonalZone|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setPersonalzone = function(value) { return jspb.Message.setWrapperField(this, 16, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearPersonalzone = function() { return this.setPersonalzone(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasPersonalzone = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional WarehouseData Warehouse = 17; * @return {?proto.WarehouseData} */ proto.SocialData.prototype.getWarehouse = function() { return /** @type{?proto.WarehouseData} */ ( jspb.Message.getWrapperField(this, proto.WarehouseData, 17)); }; /** * @param {?proto.WarehouseData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setWarehouse = function(value) { return jspb.Message.setWrapperField(this, 17, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearWarehouse = function() { return this.setWarehouse(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasWarehouse = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional SeasonRankData SeasonRank = 18; * @return {?proto.SeasonRankData} */ proto.SocialData.prototype.getSeasonrank = function() { return /** @type{?proto.SeasonRankData} */ ( jspb.Message.getWrapperField(this, proto.SeasonRankData, 18)); }; /** * @param {?proto.SeasonRankData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setSeasonrank = function(value) { return jspb.Message.setWrapperField(this, 18, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearSeasonrank = function() { return this.setSeasonrank(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasSeasonrank = function() { return jspb.Message.getField(this, 18) != null; }; /** * optional FishSocialData FishData = 19; * @return {?proto.FishSocialData} */ proto.SocialData.prototype.getFishdata = function() { return /** @type{?proto.FishSocialData} */ ( jspb.Message.getWrapperField(this, proto.FishSocialData, 19)); }; /** * @param {?proto.FishSocialData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setFishdata = function(value) { return jspb.Message.setWrapperField(this, 19, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearFishdata = function() { return this.setFishdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasFishdata = function() { return jspb.Message.getField(this, 19) != null; }; /** * optional CommunityData CommunityData = 20; * @return {?proto.CommunityData} */ proto.SocialData.prototype.getCommunitydata = function() { return /** @type{?proto.CommunityData} */ ( jspb.Message.getWrapperField(this, proto.CommunityData, 20)); }; /** * @param {?proto.CommunityData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setCommunitydata = function(value) { return jspb.Message.setWrapperField(this, 20, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearCommunitydata = function() { return this.setCommunitydata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasCommunitydata = function() { return jspb.Message.getField(this, 20) != null; }; /** * optional PrivilegeData PrivilegeData = 21; * @return {?proto.PrivilegeData} */ proto.SocialData.prototype.getPrivilegedata = function() { return /** @type{?proto.PrivilegeData} */ ( jspb.Message.getWrapperField(this, proto.PrivilegeData, 21)); }; /** * @param {?proto.PrivilegeData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setPrivilegedata = function(value) { return jspb.Message.setWrapperField(this, 21, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearPrivilegedata = function() { return this.setPrivilegedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasPrivilegedata = function() { return jspb.Message.getField(this, 21) != null; }; /** * optional MasterModeDungeonData MasterModeDungeonData = 22; * @return {?proto.MasterModeDungeonData} */ proto.SocialData.prototype.getMastermodedungeondata = function() { return /** @type{?proto.MasterModeDungeonData} */ ( jspb.Message.getWrapperField(this, proto.MasterModeDungeonData, 22)); }; /** * @param {?proto.MasterModeDungeonData|undefined} value * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.setMastermodedungeondata = function(value) { return jspb.Message.setWrapperField(this, 22, value); }; /** * Clears the message field making it undefined. * @return {!proto.SocialData} returns this */ proto.SocialData.prototype.clearMastermodedungeondata = function() { return this.setMastermodedungeondata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SocialData.prototype.hasMastermodedungeondata = function() { return jspb.Message.getField(this, 22) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UnionData.prototype.toObject = function(opt_includeInstance) { return proto.UnionData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UnionData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionData.toObject = function(includeInstance, msg) { var f, obj = { unionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, unionhuntrank: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UnionData} */ proto.UnionData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UnionData; return proto.UnionData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UnionData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UnionData} */ proto.UnionData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUnionid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setUnionhuntrank(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UnionData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UnionData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UnionData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int64 Unionid = 1; * @return {number} */ proto.UnionData.prototype.getUnionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UnionData} returns this */ proto.UnionData.prototype.setUnionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionData} returns this */ proto.UnionData.prototype.clearUnionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionData.prototype.hasUnionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string Name = 2; * @return {string} */ proto.UnionData.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.UnionData} returns this */ proto.UnionData.prototype.setName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionData} returns this */ proto.UnionData.prototype.clearName = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionData.prototype.hasName = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 UnionHuntRank = 3; * @return {number} */ proto.UnionData.prototype.getUnionhuntrank = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.UnionData} returns this */ proto.UnionData.prototype.setUnionhuntrank = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionData} returns this */ proto.UnionData.prototype.clearUnionhuntrank = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionData.prototype.hasUnionhuntrank = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.WarehouseData.prototype.toObject = function(opt_includeInstance) { return proto.WarehouseData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.WarehouseData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WarehouseData.toObject = function(includeInstance, msg) { var f, obj = { warehouseid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.WarehouseData} */ proto.WarehouseData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.WarehouseData; return proto.WarehouseData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.WarehouseData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.WarehouseData} */ proto.WarehouseData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setWarehouseid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.WarehouseData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.WarehouseData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.WarehouseData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WarehouseData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 WarehouseId = 1; * @return {number} */ proto.WarehouseData.prototype.getWarehouseid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.WarehouseData} returns this */ proto.WarehouseData.prototype.setWarehouseid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.WarehouseData} returns this */ proto.WarehouseData.prototype.clearWarehouseid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WarehouseData.prototype.hasWarehouseid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SeasonRankData.prototype.toObject = function(opt_includeInstance) { return proto.SeasonRankData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SeasonRankData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonRankData.toObject = function(includeInstance, msg) { var f, obj = { seasonranksMap: (f = msg.getSeasonranksMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SeasonRankData} */ proto.SeasonRankData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SeasonRankData; return proto.SeasonRankData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SeasonRankData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SeasonRankData} */ proto.SeasonRankData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSeasonranksMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readUint32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SeasonRankData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SeasonRankData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SeasonRankData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SeasonRankData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSeasonranksMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeUint32); } }; /** * map SeasonRanks = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SeasonRankData.prototype.getSeasonranksMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SeasonRankData} returns this */ proto.SeasonRankData.prototype.clearSeasonranksMap = function() { this.getSeasonranksMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FishSocialData.prototype.toObject = function(opt_includeInstance) { return proto.FishSocialData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FishSocialData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishSocialData.toObject = function(includeInstance, msg) { var f, obj = { fishrecordsMap: (f = msg.getFishrecordsMap()) ? f.toObject(includeInstance, proto.FishRecord.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FishSocialData} */ proto.FishSocialData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FishSocialData; return proto.FishSocialData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FishSocialData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FishSocialData} */ proto.FishSocialData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getFishrecordsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.FishRecord.deserializeBinaryFromReader, 0, new proto.FishRecord()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FishSocialData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FishSocialData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FishSocialData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishSocialData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getFishrecordsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.FishRecord.serializeBinaryToWriter); } }; /** * map FishRecords = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FishSocialData.prototype.getFishrecordsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.FishRecord)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FishSocialData} returns this */ proto.FishSocialData.prototype.clearFishrecordsMap = function() { this.getFishrecordsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PrivilegeData.prototype.toObject = function(opt_includeInstance) { return proto.PrivilegeData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PrivilegeData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PrivilegeData.toObject = function(includeInstance, msg) { var f, obj = { launchplatform: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, isprivilege: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, lastupdatetime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PrivilegeData} */ proto.PrivilegeData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PrivilegeData; return proto.PrivilegeData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PrivilegeData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PrivilegeData} */ proto.PrivilegeData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.LaunchPlatform} */ (reader.readEnum()); msg.setLaunchplatform(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsprivilege(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setLastupdatetime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PrivilegeData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PrivilegeData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PrivilegeData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PrivilegeData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.LaunchPlatform} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional LaunchPlatform LaunchPlatform = 1; * @return {!proto.LaunchPlatform} */ proto.PrivilegeData.prototype.getLaunchplatform = function() { return /** @type {!proto.LaunchPlatform} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.LaunchPlatform} value * @return {!proto.PrivilegeData} returns this */ proto.PrivilegeData.prototype.setLaunchplatform = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PrivilegeData} returns this */ proto.PrivilegeData.prototype.clearLaunchplatform = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PrivilegeData.prototype.hasLaunchplatform = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsPrivilege = 2; * @return {boolean} */ proto.PrivilegeData.prototype.getIsprivilege = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.PrivilegeData} returns this */ proto.PrivilegeData.prototype.setIsprivilege = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PrivilegeData} returns this */ proto.PrivilegeData.prototype.clearIsprivilege = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PrivilegeData.prototype.hasIsprivilege = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 LastUpdateTime = 3; * @return {number} */ proto.PrivilegeData.prototype.getLastupdatetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PrivilegeData} returns this */ proto.PrivilegeData.prototype.setLastupdatetime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PrivilegeData} returns this */ proto.PrivilegeData.prototype.clearLastupdatetime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PrivilegeData.prototype.hasLastupdatetime = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MasterModeDungeonData.prototype.toObject = function(opt_includeInstance) { return proto.MasterModeDungeonData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MasterModeDungeonData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MasterModeDungeonData.toObject = function(includeInstance, msg) { var f, obj = { seasonscore: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, isshow: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MasterModeDungeonData} */ proto.MasterModeDungeonData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MasterModeDungeonData; return proto.MasterModeDungeonData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MasterModeDungeonData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MasterModeDungeonData} */ proto.MasterModeDungeonData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSeasonscore(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsshow(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MasterModeDungeonData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MasterModeDungeonData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MasterModeDungeonData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MasterModeDungeonData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * optional int32 SeasonScore = 1; * @return {number} */ proto.MasterModeDungeonData.prototype.getSeasonscore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MasterModeDungeonData} returns this */ proto.MasterModeDungeonData.prototype.setSeasonscore = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MasterModeDungeonData} returns this */ proto.MasterModeDungeonData.prototype.clearSeasonscore = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MasterModeDungeonData.prototype.hasSeasonscore = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsShow = 2; * @return {boolean} */ proto.MasterModeDungeonData.prototype.getIsshow = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.MasterModeDungeonData} returns this */ proto.MasterModeDungeonData.prototype.setIsshow = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MasterModeDungeonData} returns this */ proto.MasterModeDungeonData.prototype.clearIsshow = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MasterModeDungeonData.prototype.hasIsshow = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonPlayerList.prototype.toObject = function(opt_includeInstance) { return proto.DungeonPlayerList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonPlayerList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonPlayerList.toObject = function(includeInstance, msg) { var f, obj = { playerinfosMap: (f = msg.getPlayerinfosMap()) ? f.toObject(includeInstance, proto.DungeonPlayerInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonPlayerList} */ proto.DungeonPlayerList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonPlayerList; return proto.DungeonPlayerList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonPlayerList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonPlayerList} */ proto.DungeonPlayerList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getPlayerinfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.DungeonPlayerInfo.deserializeBinaryFromReader, 0, new proto.DungeonPlayerInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonPlayerList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonPlayerList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonPlayerList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonPlayerList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPlayerinfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonPlayerInfo.serializeBinaryToWriter); } }; /** * map PlayerInfos = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonPlayerList.prototype.getPlayerinfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonPlayerInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonPlayerList} returns this */ proto.DungeonPlayerList.prototype.clearPlayerinfosMap = function() { this.getPlayerinfosMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonRaidInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonRaidInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonRaidInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonRaidInfo.toObject = function(includeInstance, msg) { var f, obj = { }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonRaidInfo} */ proto.DungeonRaidInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonRaidInfo; return proto.DungeonRaidInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonRaidInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonRaidInfo} */ proto.DungeonRaidInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonRaidInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonRaidInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonRaidInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonRaidInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonRandomEntityConfigIdInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonRandomEntityConfigIdInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonRandomEntityConfigIdInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonRandomEntityConfigIdInfo.toObject = function(includeInstance, msg) { var f, obj = { randomentitymapMap: (f = msg.getRandomentitymapMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonRandomEntityConfigIdInfo} */ proto.DungeonRandomEntityConfigIdInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonRandomEntityConfigIdInfo; return proto.DungeonRandomEntityConfigIdInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonRandomEntityConfigIdInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonRandomEntityConfigIdInfo} */ proto.DungeonRandomEntityConfigIdInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getRandomentitymapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonRandomEntityConfigIdInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonRandomEntityConfigIdInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonRandomEntityConfigIdInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonRandomEntityConfigIdInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRandomentitymapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map RandomEntityMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonRandomEntityConfigIdInfo.prototype.getRandomentitymapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonRandomEntityConfigIdInfo} returns this */ proto.DungeonRandomEntityConfigIdInfo.prototype.clearRandomentitymapMap = function() { this.getRandomentitymapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonRankInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonRankInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonRankInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonRankInfo.toObject = function(includeInstance, msg) { var f, obj = { num: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, rank: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonRankInfo} */ proto.DungeonRankInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonRankInfo; return proto.DungeonRankInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonRankInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonRankInfo} */ proto.DungeonRankInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setNum(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setRank(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonRankInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonRankInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonRankInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonRankInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 Num = 1; * @return {number} */ proto.DungeonRankInfo.prototype.getNum = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonRankInfo} returns this */ proto.DungeonRankInfo.prototype.setNum = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonRankInfo} returns this */ proto.DungeonRankInfo.prototype.clearNum = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonRankInfo.prototype.hasNum = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Rank = 2; * @return {number} */ proto.DungeonRankInfo.prototype.getRank = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonRankInfo} returns this */ proto.DungeonRankInfo.prototype.setRank = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonRankInfo} returns this */ proto.DungeonRankInfo.prototype.clearRank = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonRankInfo.prototype.hasRank = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonRankList.prototype.toObject = function(opt_includeInstance) { return proto.DungeonRankList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonRankList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonRankList.toObject = function(includeInstance, msg) { var f, obj = { dungeonrankmapMap: (f = msg.getDungeonrankmapMap()) ? f.toObject(includeInstance, proto.DungeonRankInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonRankList} */ proto.DungeonRankList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonRankList; return proto.DungeonRankList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonRankList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonRankList} */ proto.DungeonRankList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getDungeonrankmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonRankInfo.deserializeBinaryFromReader, 0, new proto.DungeonRankInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonRankList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonRankList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonRankList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonRankList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDungeonrankmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonRankInfo.serializeBinaryToWriter); } }; /** * map DungeonRankMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonRankList.prototype.getDungeonrankmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonRankInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonRankList} returns this */ proto.DungeonRankList.prototype.clearDungeonrankmapMap = function() { this.getDungeonrankmapMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.DungeonReviveInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonReviveInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonReviveInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonReviveInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonReviveInfo.toObject = function(includeInstance, msg) { var f, obj = { reviveidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, revivemapMap: (f = msg.getRevivemapMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonReviveInfo} */ proto.DungeonReviveInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonReviveInfo; return proto.DungeonReviveInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonReviveInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonReviveInfo} */ proto.DungeonReviveInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addReviveids(values[i]); } break; case 2: var value = msg.getRevivemapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonReviveInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonReviveInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonReviveInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonReviveInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getReviveidsList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } f = message.getRevivemapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * repeated int32 ReviveIds = 1; * @return {!Array} */ proto.DungeonReviveInfo.prototype.getReviveidsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.DungeonReviveInfo} returns this */ proto.DungeonReviveInfo.prototype.setReviveidsList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.DungeonReviveInfo} returns this */ proto.DungeonReviveInfo.prototype.addReviveids = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.DungeonReviveInfo} returns this */ proto.DungeonReviveInfo.prototype.clearReviveidsList = function() { return this.setReviveidsList([]); }; /** * map ReviveMap = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonReviveInfo.prototype.getRevivemapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonReviveInfo} returns this */ proto.DungeonReviveInfo.prototype.clearRevivemapMap = function() { this.getRevivemapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonSceneInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonSceneInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonSceneInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonSceneInfo.toObject = function(includeInstance, msg) { var f, obj = { difficulty: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonSceneInfo} */ proto.DungeonSceneInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonSceneInfo; return proto.DungeonSceneInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonSceneInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonSceneInfo} */ proto.DungeonSceneInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setDifficulty(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonSceneInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonSceneInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonSceneInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonSceneInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 Difficulty = 1; * @return {number} */ proto.DungeonSceneInfo.prototype.getDifficulty = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonSceneInfo} returns this */ proto.DungeonSceneInfo.prototype.setDifficulty = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonSceneInfo} returns this */ proto.DungeonSceneInfo.prototype.clearDifficulty = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSceneInfo.prototype.hasDifficulty = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonScore.prototype.toObject = function(opt_includeInstance) { return proto.DungeonScore.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonScore} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonScore.toObject = function(includeInstance, msg) { var f, obj = { totalscore: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, curratio: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonScore} */ proto.DungeonScore.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonScore; return proto.DungeonScore.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonScore} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonScore} */ proto.DungeonScore.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTotalscore(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCurratio(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonScore.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonScore.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonScore} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonScore.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 TotalScore = 1; * @return {number} */ proto.DungeonScore.prototype.getTotalscore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonScore} returns this */ proto.DungeonScore.prototype.setTotalscore = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonScore} returns this */ proto.DungeonScore.prototype.clearTotalscore = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonScore.prototype.hasTotalscore = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 CurRatio = 2; * @return {number} */ proto.DungeonScore.prototype.getCurratio = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonScore} returns this */ proto.DungeonScore.prototype.setCurratio = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonScore} returns this */ proto.DungeonScore.prototype.clearCurratio = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonScore.prototype.hasCurratio = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonSettlement.prototype.toObject = function(opt_includeInstance) { return proto.DungeonSettlement.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonSettlement} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonSettlement.toObject = function(includeInstance, msg) { var f, obj = { passtime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, awardMap: (f = msg.getAwardMap()) ? f.toObject(includeInstance, proto.DungeonAward.toObject) : [], settlementposMap: (f = msg.getSettlementposMap()) ? f.toObject(includeInstance, proto.SettlementPosition.toObject) : [], worldbosssettlement: (f = msg.getWorldbosssettlement()) && proto.DungeonWorldBossSettlement.toObject(includeInstance, f), mastermodescore: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonSettlement} */ proto.DungeonSettlement.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonSettlement; return proto.DungeonSettlement.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonSettlement} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonSettlement} */ proto.DungeonSettlement.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setPasstime(value); break; case 2: var value = msg.getAwardMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.DungeonAward.deserializeBinaryFromReader, 0, new proto.DungeonAward()); }); break; case 3: var value = msg.getSettlementposMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readUint32, jspb.BinaryReader.prototype.readMessage, proto.SettlementPosition.deserializeBinaryFromReader, 0, new proto.SettlementPosition()); }); break; case 4: var value = new proto.DungeonWorldBossSettlement; reader.readMessage(value,proto.DungeonWorldBossSettlement.deserializeBinaryFromReader); msg.setWorldbosssettlement(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setMastermodescore(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonSettlement.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonSettlement.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonSettlement} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonSettlement.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getAwardMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonAward.serializeBinaryToWriter); } f = message.getSettlementposMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeUint32, jspb.BinaryWriter.prototype.writeMessage, proto.SettlementPosition.serializeBinaryToWriter); } f = message.getWorldbosssettlement(); if (f != null) { writer.writeMessage( 4, f, proto.DungeonWorldBossSettlement.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int32 PassTime = 1; * @return {number} */ proto.DungeonSettlement.prototype.getPasstime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonSettlement} returns this */ proto.DungeonSettlement.prototype.setPasstime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonSettlement} returns this */ proto.DungeonSettlement.prototype.clearPasstime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSettlement.prototype.hasPasstime = function() { return jspb.Message.getField(this, 1) != null; }; /** * map Award = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonSettlement.prototype.getAwardMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.DungeonAward)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonSettlement} returns this */ proto.DungeonSettlement.prototype.clearAwardMap = function() { this.getAwardMap().clear(); return this; }; /** * map SettlementPos = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonSettlement.prototype.getSettlementposMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.SettlementPosition)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonSettlement} returns this */ proto.DungeonSettlement.prototype.clearSettlementposMap = function() { this.getSettlementposMap().clear(); return this; }; /** * optional DungeonWorldBossSettlement WorldBossSettlement = 4; * @return {?proto.DungeonWorldBossSettlement} */ proto.DungeonSettlement.prototype.getWorldbosssettlement = function() { return /** @type{?proto.DungeonWorldBossSettlement} */ ( jspb.Message.getWrapperField(this, proto.DungeonWorldBossSettlement, 4)); }; /** * @param {?proto.DungeonWorldBossSettlement|undefined} value * @return {!proto.DungeonSettlement} returns this */ proto.DungeonSettlement.prototype.setWorldbosssettlement = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSettlement} returns this */ proto.DungeonSettlement.prototype.clearWorldbosssettlement = function() { return this.setWorldbosssettlement(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSettlement.prototype.hasWorldbosssettlement = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 MasterModeScore = 5; * @return {number} */ proto.DungeonSettlement.prototype.getMastermodescore = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.DungeonSettlement} returns this */ proto.DungeonSettlement.prototype.setMastermodescore = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonSettlement} returns this */ proto.DungeonSettlement.prototype.clearMastermodescore = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSettlement.prototype.hasMastermodescore = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SettlementPosition.prototype.toObject = function(opt_includeInstance) { return proto.SettlementPosition.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SettlementPosition} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SettlementPosition.toObject = function(includeInstance, msg) { var f, obj = { pos: (f = msg.getPos()) && proto.Position.toObject(includeInstance, f), rotate: (f = msg.getRotate()) && proto.Position.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SettlementPosition} */ proto.SettlementPosition.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SettlementPosition; return proto.SettlementPosition.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SettlementPosition} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SettlementPosition} */ proto.SettlementPosition.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setPos(value); break; case 2: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setRotate(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SettlementPosition.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SettlementPosition.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SettlementPosition} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SettlementPosition.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPos(); if (f != null) { writer.writeMessage( 1, f, proto.Position.serializeBinaryToWriter ); } f = message.getRotate(); if (f != null) { writer.writeMessage( 2, f, proto.Position.serializeBinaryToWriter ); } }; /** * optional Position Pos = 1; * @return {?proto.Position} */ proto.SettlementPosition.prototype.getPos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 1)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.SettlementPosition} returns this */ proto.SettlementPosition.prototype.setPos = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SettlementPosition} returns this */ proto.SettlementPosition.prototype.clearPos = function() { return this.setPos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SettlementPosition.prototype.hasPos = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Position Rotate = 2; * @return {?proto.Position} */ proto.SettlementPosition.prototype.getRotate = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 2)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.SettlementPosition} returns this */ proto.SettlementPosition.prototype.setRotate = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.SettlementPosition} returns this */ proto.SettlementPosition.prototype.clearRotate = function() { return this.setRotate(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SettlementPosition.prototype.hasRotate = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonWorldBossSettlement.prototype.toObject = function(opt_includeInstance) { return proto.DungeonWorldBossSettlement.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonWorldBossSettlement} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonWorldBossSettlement.toObject = function(includeInstance, msg) { var f, obj = { bosshppercent: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, dungeonbossrank: (f = msg.getDungeonbossrank()) && proto.DungeonBossRank.toObject(includeInstance, f), awardMap: (f = msg.getAwardMap()) ? f.toObject(includeInstance, proto.DungeonAward.toObject) : [], bossrankawardMap: (f = msg.getBossrankawardMap()) ? f.toObject(includeInstance, proto.DungeonAward.toObject) : [], lasthitawardMap: (f = msg.getLasthitawardMap()) ? f.toObject(includeInstance, proto.DungeonAward.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonWorldBossSettlement} */ proto.DungeonWorldBossSettlement.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonWorldBossSettlement; return proto.DungeonWorldBossSettlement.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonWorldBossSettlement} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonWorldBossSettlement} */ proto.DungeonWorldBossSettlement.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setBosshppercent(value); break; case 2: var value = new proto.DungeonBossRank; reader.readMessage(value,proto.DungeonBossRank.deserializeBinaryFromReader); msg.setDungeonbossrank(value); break; case 3: var value = msg.getAwardMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.DungeonAward.deserializeBinaryFromReader, 0, new proto.DungeonAward()); }); break; case 4: var value = msg.getBossrankawardMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.DungeonAward.deserializeBinaryFromReader, 0, new proto.DungeonAward()); }); break; case 5: var value = msg.getLasthitawardMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.DungeonAward.deserializeBinaryFromReader, 0, new proto.DungeonAward()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonWorldBossSettlement.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonWorldBossSettlement.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonWorldBossSettlement} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonWorldBossSettlement.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getDungeonbossrank(); if (f != null) { writer.writeMessage( 2, f, proto.DungeonBossRank.serializeBinaryToWriter ); } f = message.getAwardMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonAward.serializeBinaryToWriter); } f = message.getBossrankawardMap(true); if (f && f.getLength() > 0) { f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonAward.serializeBinaryToWriter); } f = message.getLasthitawardMap(true); if (f && f.getLength() > 0) { f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonAward.serializeBinaryToWriter); } }; /** * optional int32 BossHpPercent = 1; * @return {number} */ proto.DungeonWorldBossSettlement.prototype.getBosshppercent = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonWorldBossSettlement} returns this */ proto.DungeonWorldBossSettlement.prototype.setBosshppercent = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonWorldBossSettlement} returns this */ proto.DungeonWorldBossSettlement.prototype.clearBosshppercent = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonWorldBossSettlement.prototype.hasBosshppercent = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional DungeonBossRank DungeonBossRank = 2; * @return {?proto.DungeonBossRank} */ proto.DungeonWorldBossSettlement.prototype.getDungeonbossrank = function() { return /** @type{?proto.DungeonBossRank} */ ( jspb.Message.getWrapperField(this, proto.DungeonBossRank, 2)); }; /** * @param {?proto.DungeonBossRank|undefined} value * @return {!proto.DungeonWorldBossSettlement} returns this */ proto.DungeonWorldBossSettlement.prototype.setDungeonbossrank = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonWorldBossSettlement} returns this */ proto.DungeonWorldBossSettlement.prototype.clearDungeonbossrank = function() { return this.setDungeonbossrank(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonWorldBossSettlement.prototype.hasDungeonbossrank = function() { return jspb.Message.getField(this, 2) != null; }; /** * map Award = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonWorldBossSettlement.prototype.getAwardMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.DungeonAward)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonWorldBossSettlement} returns this */ proto.DungeonWorldBossSettlement.prototype.clearAwardMap = function() { this.getAwardMap().clear(); return this; }; /** * map BossRankAward = 4; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonWorldBossSettlement.prototype.getBossrankawardMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.DungeonAward)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonWorldBossSettlement} returns this */ proto.DungeonWorldBossSettlement.prototype.clearBossrankawardMap = function() { this.getBossrankawardMap().clear(); return this; }; /** * map LastHitAward = 5; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonWorldBossSettlement.prototype.getLasthitawardMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 5, opt_noLazyCreate, proto.DungeonAward)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonWorldBossSettlement} returns this */ proto.DungeonWorldBossSettlement.prototype.clearLasthitawardMap = function() { this.getLasthitawardMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonSyncData.prototype.toObject = function(opt_includeInstance) { return proto.DungeonSyncData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonSyncData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonSyncData.toObject = function(includeInstance, msg) { var f, obj = { sceneuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, flowinfo: (f = msg.getFlowinfo()) && proto.DungeonFlowInfo.toObject(includeInstance, f), title: (f = msg.getTitle()) && proto.DungeonTitle.toObject(includeInstance, f), target: (f = msg.getTarget()) && proto.DungeonTarget.toObject(includeInstance, f), damage: (f = msg.getDamage()) && proto.DungeonDamage.toObject(includeInstance, f), vote: (f = msg.getVote()) && proto.DungeonVote.toObject(includeInstance, f), settlement: (f = msg.getSettlement()) && proto.DungeonSettlement.toObject(includeInstance, f), dungeonpioneer: (f = msg.getDungeonpioneer()) && proto.DungeonPioneer.toObject(includeInstance, f), planetroominfo: (f = msg.getPlanetroominfo()) && proto.DungeonPlanetMemoryRoom.toObject(includeInstance, f), dungeonvar: (f = msg.getDungeonvar()) && proto.DungeonVar.toObject(includeInstance, f), dungeonrank: (f = msg.getDungeonrank()) && proto.DungeonRankList.toObject(includeInstance, f), dungeonaffixdata: (f = msg.getDungeonaffixdata()) && proto.DungeonAffixData.toObject(includeInstance, f), dungeonevent: (f = msg.getDungeonevent()) && proto.DungeonEvent.toObject(includeInstance, f), dungeonscore: (f = msg.getDungeonscore()) && proto.DungeonScore.toObject(includeInstance, f), timerinfo: (f = msg.getTimerinfo()) && proto.DungeonTimerInfo.toObject(includeInstance, f), herokey: (f = msg.getHerokey()) && proto.DungeonHeroKeyInfo.toObject(includeInstance, f), dungeonunioninfo: (f = msg.getDungeonunioninfo()) && proto.DungeonUnionInfo.toObject(includeInstance, f), dungeonplayerlist: (f = msg.getDungeonplayerlist()) && proto.DungeonPlayerList.toObject(includeInstance, f), reviveinfo: (f = msg.getReviveinfo()) && proto.DungeonReviveInfo.toObject(includeInstance, f), randomentityconfigidinfo: (f = msg.getRandomentityconfigidinfo()) && proto.DungeonRandomEntityConfigIdInfo.toObject(includeInstance, f), dungeonsceneinfo: (f = msg.getDungeonsceneinfo()) && proto.DungeonSceneInfo.toObject(includeInstance, f), dungeonvarall: (f = msg.getDungeonvarall()) && proto.DungeonVarAll.toObject(includeInstance, f), dungeonraidinfo: (f = msg.getDungeonraidinfo()) && proto.DungeonRaidInfo.toObject(includeInstance, f), errcode: (f = jspb.Message.getField(msg, 24)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonSyncData} */ proto.DungeonSyncData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonSyncData; return proto.DungeonSyncData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonSyncData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonSyncData} */ proto.DungeonSyncData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setSceneuuid(value); break; case 2: var value = new proto.DungeonFlowInfo; reader.readMessage(value,proto.DungeonFlowInfo.deserializeBinaryFromReader); msg.setFlowinfo(value); break; case 3: var value = new proto.DungeonTitle; reader.readMessage(value,proto.DungeonTitle.deserializeBinaryFromReader); msg.setTitle(value); break; case 4: var value = new proto.DungeonTarget; reader.readMessage(value,proto.DungeonTarget.deserializeBinaryFromReader); msg.setTarget(value); break; case 5: var value = new proto.DungeonDamage; reader.readMessage(value,proto.DungeonDamage.deserializeBinaryFromReader); msg.setDamage(value); break; case 6: var value = new proto.DungeonVote; reader.readMessage(value,proto.DungeonVote.deserializeBinaryFromReader); msg.setVote(value); break; case 7: var value = new proto.DungeonSettlement; reader.readMessage(value,proto.DungeonSettlement.deserializeBinaryFromReader); msg.setSettlement(value); break; case 8: var value = new proto.DungeonPioneer; reader.readMessage(value,proto.DungeonPioneer.deserializeBinaryFromReader); msg.setDungeonpioneer(value); break; case 9: var value = new proto.DungeonPlanetMemoryRoom; reader.readMessage(value,proto.DungeonPlanetMemoryRoom.deserializeBinaryFromReader); msg.setPlanetroominfo(value); break; case 10: var value = new proto.DungeonVar; reader.readMessage(value,proto.DungeonVar.deserializeBinaryFromReader); msg.setDungeonvar(value); break; case 11: var value = new proto.DungeonRankList; reader.readMessage(value,proto.DungeonRankList.deserializeBinaryFromReader); msg.setDungeonrank(value); break; case 12: var value = new proto.DungeonAffixData; reader.readMessage(value,proto.DungeonAffixData.deserializeBinaryFromReader); msg.setDungeonaffixdata(value); break; case 13: var value = new proto.DungeonEvent; reader.readMessage(value,proto.DungeonEvent.deserializeBinaryFromReader); msg.setDungeonevent(value); break; case 14: var value = new proto.DungeonScore; reader.readMessage(value,proto.DungeonScore.deserializeBinaryFromReader); msg.setDungeonscore(value); break; case 15: var value = new proto.DungeonTimerInfo; reader.readMessage(value,proto.DungeonTimerInfo.deserializeBinaryFromReader); msg.setTimerinfo(value); break; case 16: var value = new proto.DungeonHeroKeyInfo; reader.readMessage(value,proto.DungeonHeroKeyInfo.deserializeBinaryFromReader); msg.setHerokey(value); break; case 17: var value = new proto.DungeonUnionInfo; reader.readMessage(value,proto.DungeonUnionInfo.deserializeBinaryFromReader); msg.setDungeonunioninfo(value); break; case 18: var value = new proto.DungeonPlayerList; reader.readMessage(value,proto.DungeonPlayerList.deserializeBinaryFromReader); msg.setDungeonplayerlist(value); break; case 19: var value = new proto.DungeonReviveInfo; reader.readMessage(value,proto.DungeonReviveInfo.deserializeBinaryFromReader); msg.setReviveinfo(value); break; case 20: var value = new proto.DungeonRandomEntityConfigIdInfo; reader.readMessage(value,proto.DungeonRandomEntityConfigIdInfo.deserializeBinaryFromReader); msg.setRandomentityconfigidinfo(value); break; case 21: var value = new proto.DungeonSceneInfo; reader.readMessage(value,proto.DungeonSceneInfo.deserializeBinaryFromReader); msg.setDungeonsceneinfo(value); break; case 22: var value = new proto.DungeonVarAll; reader.readMessage(value,proto.DungeonVarAll.deserializeBinaryFromReader); msg.setDungeonvarall(value); break; case 23: var value = new proto.DungeonRaidInfo; reader.readMessage(value,proto.DungeonRaidInfo.deserializeBinaryFromReader); msg.setDungeonraidinfo(value); break; case 24: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonSyncData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonSyncData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonSyncData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonSyncData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getFlowinfo(); if (f != null) { writer.writeMessage( 2, f, proto.DungeonFlowInfo.serializeBinaryToWriter ); } f = message.getTitle(); if (f != null) { writer.writeMessage( 3, f, proto.DungeonTitle.serializeBinaryToWriter ); } f = message.getTarget(); if (f != null) { writer.writeMessage( 4, f, proto.DungeonTarget.serializeBinaryToWriter ); } f = message.getDamage(); if (f != null) { writer.writeMessage( 5, f, proto.DungeonDamage.serializeBinaryToWriter ); } f = message.getVote(); if (f != null) { writer.writeMessage( 6, f, proto.DungeonVote.serializeBinaryToWriter ); } f = message.getSettlement(); if (f != null) { writer.writeMessage( 7, f, proto.DungeonSettlement.serializeBinaryToWriter ); } f = message.getDungeonpioneer(); if (f != null) { writer.writeMessage( 8, f, proto.DungeonPioneer.serializeBinaryToWriter ); } f = message.getPlanetroominfo(); if (f != null) { writer.writeMessage( 9, f, proto.DungeonPlanetMemoryRoom.serializeBinaryToWriter ); } f = message.getDungeonvar(); if (f != null) { writer.writeMessage( 10, f, proto.DungeonVar.serializeBinaryToWriter ); } f = message.getDungeonrank(); if (f != null) { writer.writeMessage( 11, f, proto.DungeonRankList.serializeBinaryToWriter ); } f = message.getDungeonaffixdata(); if (f != null) { writer.writeMessage( 12, f, proto.DungeonAffixData.serializeBinaryToWriter ); } f = message.getDungeonevent(); if (f != null) { writer.writeMessage( 13, f, proto.DungeonEvent.serializeBinaryToWriter ); } f = message.getDungeonscore(); if (f != null) { writer.writeMessage( 14, f, proto.DungeonScore.serializeBinaryToWriter ); } f = message.getTimerinfo(); if (f != null) { writer.writeMessage( 15, f, proto.DungeonTimerInfo.serializeBinaryToWriter ); } f = message.getHerokey(); if (f != null) { writer.writeMessage( 16, f, proto.DungeonHeroKeyInfo.serializeBinaryToWriter ); } f = message.getDungeonunioninfo(); if (f != null) { writer.writeMessage( 17, f, proto.DungeonUnionInfo.serializeBinaryToWriter ); } f = message.getDungeonplayerlist(); if (f != null) { writer.writeMessage( 18, f, proto.DungeonPlayerList.serializeBinaryToWriter ); } f = message.getReviveinfo(); if (f != null) { writer.writeMessage( 19, f, proto.DungeonReviveInfo.serializeBinaryToWriter ); } f = message.getRandomentityconfigidinfo(); if (f != null) { writer.writeMessage( 20, f, proto.DungeonRandomEntityConfigIdInfo.serializeBinaryToWriter ); } f = message.getDungeonsceneinfo(); if (f != null) { writer.writeMessage( 21, f, proto.DungeonSceneInfo.serializeBinaryToWriter ); } f = message.getDungeonvarall(); if (f != null) { writer.writeMessage( 22, f, proto.DungeonVarAll.serializeBinaryToWriter ); } f = message.getDungeonraidinfo(); if (f != null) { writer.writeMessage( 23, f, proto.DungeonRaidInfo.serializeBinaryToWriter ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 24)); if (f != null) { writer.writeEnum( 24, f ); } }; /** * optional int64 SceneUuid = 1; * @return {number} */ proto.DungeonSyncData.prototype.getSceneuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setSceneuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearSceneuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasSceneuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional DungeonFlowInfo FlowInfo = 2; * @return {?proto.DungeonFlowInfo} */ proto.DungeonSyncData.prototype.getFlowinfo = function() { return /** @type{?proto.DungeonFlowInfo} */ ( jspb.Message.getWrapperField(this, proto.DungeonFlowInfo, 2)); }; /** * @param {?proto.DungeonFlowInfo|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setFlowinfo = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearFlowinfo = function() { return this.setFlowinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasFlowinfo = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional DungeonTitle Title = 3; * @return {?proto.DungeonTitle} */ proto.DungeonSyncData.prototype.getTitle = function() { return /** @type{?proto.DungeonTitle} */ ( jspb.Message.getWrapperField(this, proto.DungeonTitle, 3)); }; /** * @param {?proto.DungeonTitle|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setTitle = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearTitle = function() { return this.setTitle(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasTitle = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional DungeonTarget Target = 4; * @return {?proto.DungeonTarget} */ proto.DungeonSyncData.prototype.getTarget = function() { return /** @type{?proto.DungeonTarget} */ ( jspb.Message.getWrapperField(this, proto.DungeonTarget, 4)); }; /** * @param {?proto.DungeonTarget|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setTarget = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearTarget = function() { return this.setTarget(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasTarget = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional DungeonDamage Damage = 5; * @return {?proto.DungeonDamage} */ proto.DungeonSyncData.prototype.getDamage = function() { return /** @type{?proto.DungeonDamage} */ ( jspb.Message.getWrapperField(this, proto.DungeonDamage, 5)); }; /** * @param {?proto.DungeonDamage|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDamage = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDamage = function() { return this.setDamage(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDamage = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional DungeonVote Vote = 6; * @return {?proto.DungeonVote} */ proto.DungeonSyncData.prototype.getVote = function() { return /** @type{?proto.DungeonVote} */ ( jspb.Message.getWrapperField(this, proto.DungeonVote, 6)); }; /** * @param {?proto.DungeonVote|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setVote = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearVote = function() { return this.setVote(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasVote = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional DungeonSettlement Settlement = 7; * @return {?proto.DungeonSettlement} */ proto.DungeonSyncData.prototype.getSettlement = function() { return /** @type{?proto.DungeonSettlement} */ ( jspb.Message.getWrapperField(this, proto.DungeonSettlement, 7)); }; /** * @param {?proto.DungeonSettlement|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setSettlement = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearSettlement = function() { return this.setSettlement(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasSettlement = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional DungeonPioneer DungeonPioneer = 8; * @return {?proto.DungeonPioneer} */ proto.DungeonSyncData.prototype.getDungeonpioneer = function() { return /** @type{?proto.DungeonPioneer} */ ( jspb.Message.getWrapperField(this, proto.DungeonPioneer, 8)); }; /** * @param {?proto.DungeonPioneer|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonpioneer = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonpioneer = function() { return this.setDungeonpioneer(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonpioneer = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional DungeonPlanetMemoryRoom PlanetRoomInfo = 9; * @return {?proto.DungeonPlanetMemoryRoom} */ proto.DungeonSyncData.prototype.getPlanetroominfo = function() { return /** @type{?proto.DungeonPlanetMemoryRoom} */ ( jspb.Message.getWrapperField(this, proto.DungeonPlanetMemoryRoom, 9)); }; /** * @param {?proto.DungeonPlanetMemoryRoom|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setPlanetroominfo = function(value) { return jspb.Message.setWrapperField(this, 9, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearPlanetroominfo = function() { return this.setPlanetroominfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasPlanetroominfo = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional DungeonVar DungeonVar = 10; * @return {?proto.DungeonVar} */ proto.DungeonSyncData.prototype.getDungeonvar = function() { return /** @type{?proto.DungeonVar} */ ( jspb.Message.getWrapperField(this, proto.DungeonVar, 10)); }; /** * @param {?proto.DungeonVar|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonvar = function(value) { return jspb.Message.setWrapperField(this, 10, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonvar = function() { return this.setDungeonvar(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonvar = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional DungeonRankList DungeonRank = 11; * @return {?proto.DungeonRankList} */ proto.DungeonSyncData.prototype.getDungeonrank = function() { return /** @type{?proto.DungeonRankList} */ ( jspb.Message.getWrapperField(this, proto.DungeonRankList, 11)); }; /** * @param {?proto.DungeonRankList|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonrank = function(value) { return jspb.Message.setWrapperField(this, 11, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonrank = function() { return this.setDungeonrank(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonrank = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional DungeonAffixData DungeonAffixData = 12; * @return {?proto.DungeonAffixData} */ proto.DungeonSyncData.prototype.getDungeonaffixdata = function() { return /** @type{?proto.DungeonAffixData} */ ( jspb.Message.getWrapperField(this, proto.DungeonAffixData, 12)); }; /** * @param {?proto.DungeonAffixData|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonaffixdata = function(value) { return jspb.Message.setWrapperField(this, 12, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonaffixdata = function() { return this.setDungeonaffixdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonaffixdata = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional DungeonEvent DungeonEvent = 13; * @return {?proto.DungeonEvent} */ proto.DungeonSyncData.prototype.getDungeonevent = function() { return /** @type{?proto.DungeonEvent} */ ( jspb.Message.getWrapperField(this, proto.DungeonEvent, 13)); }; /** * @param {?proto.DungeonEvent|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonevent = function(value) { return jspb.Message.setWrapperField(this, 13, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonevent = function() { return this.setDungeonevent(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonevent = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional DungeonScore DungeonScore = 14; * @return {?proto.DungeonScore} */ proto.DungeonSyncData.prototype.getDungeonscore = function() { return /** @type{?proto.DungeonScore} */ ( jspb.Message.getWrapperField(this, proto.DungeonScore, 14)); }; /** * @param {?proto.DungeonScore|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonscore = function(value) { return jspb.Message.setWrapperField(this, 14, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonscore = function() { return this.setDungeonscore(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonscore = function() { return jspb.Message.getField(this, 14) != null; }; /** * optional DungeonTimerInfo TimerInfo = 15; * @return {?proto.DungeonTimerInfo} */ proto.DungeonSyncData.prototype.getTimerinfo = function() { return /** @type{?proto.DungeonTimerInfo} */ ( jspb.Message.getWrapperField(this, proto.DungeonTimerInfo, 15)); }; /** * @param {?proto.DungeonTimerInfo|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setTimerinfo = function(value) { return jspb.Message.setWrapperField(this, 15, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearTimerinfo = function() { return this.setTimerinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasTimerinfo = function() { return jspb.Message.getField(this, 15) != null; }; /** * optional DungeonHeroKeyInfo HeroKey = 16; * @return {?proto.DungeonHeroKeyInfo} */ proto.DungeonSyncData.prototype.getHerokey = function() { return /** @type{?proto.DungeonHeroKeyInfo} */ ( jspb.Message.getWrapperField(this, proto.DungeonHeroKeyInfo, 16)); }; /** * @param {?proto.DungeonHeroKeyInfo|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setHerokey = function(value) { return jspb.Message.setWrapperField(this, 16, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearHerokey = function() { return this.setHerokey(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasHerokey = function() { return jspb.Message.getField(this, 16) != null; }; /** * optional DungeonUnionInfo DungeonUnionInfo = 17; * @return {?proto.DungeonUnionInfo} */ proto.DungeonSyncData.prototype.getDungeonunioninfo = function() { return /** @type{?proto.DungeonUnionInfo} */ ( jspb.Message.getWrapperField(this, proto.DungeonUnionInfo, 17)); }; /** * @param {?proto.DungeonUnionInfo|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonunioninfo = function(value) { return jspb.Message.setWrapperField(this, 17, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonunioninfo = function() { return this.setDungeonunioninfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonunioninfo = function() { return jspb.Message.getField(this, 17) != null; }; /** * optional DungeonPlayerList DungeonPlayerList = 18; * @return {?proto.DungeonPlayerList} */ proto.DungeonSyncData.prototype.getDungeonplayerlist = function() { return /** @type{?proto.DungeonPlayerList} */ ( jspb.Message.getWrapperField(this, proto.DungeonPlayerList, 18)); }; /** * @param {?proto.DungeonPlayerList|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonplayerlist = function(value) { return jspb.Message.setWrapperField(this, 18, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonplayerlist = function() { return this.setDungeonplayerlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonplayerlist = function() { return jspb.Message.getField(this, 18) != null; }; /** * optional DungeonReviveInfo ReviveInfo = 19; * @return {?proto.DungeonReviveInfo} */ proto.DungeonSyncData.prototype.getReviveinfo = function() { return /** @type{?proto.DungeonReviveInfo} */ ( jspb.Message.getWrapperField(this, proto.DungeonReviveInfo, 19)); }; /** * @param {?proto.DungeonReviveInfo|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setReviveinfo = function(value) { return jspb.Message.setWrapperField(this, 19, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearReviveinfo = function() { return this.setReviveinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasReviveinfo = function() { return jspb.Message.getField(this, 19) != null; }; /** * optional DungeonRandomEntityConfigIdInfo RandomEntityConfigIdInfo = 20; * @return {?proto.DungeonRandomEntityConfigIdInfo} */ proto.DungeonSyncData.prototype.getRandomentityconfigidinfo = function() { return /** @type{?proto.DungeonRandomEntityConfigIdInfo} */ ( jspb.Message.getWrapperField(this, proto.DungeonRandomEntityConfigIdInfo, 20)); }; /** * @param {?proto.DungeonRandomEntityConfigIdInfo|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setRandomentityconfigidinfo = function(value) { return jspb.Message.setWrapperField(this, 20, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearRandomentityconfigidinfo = function() { return this.setRandomentityconfigidinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasRandomentityconfigidinfo = function() { return jspb.Message.getField(this, 20) != null; }; /** * optional DungeonSceneInfo DungeonSceneInfo = 21; * @return {?proto.DungeonSceneInfo} */ proto.DungeonSyncData.prototype.getDungeonsceneinfo = function() { return /** @type{?proto.DungeonSceneInfo} */ ( jspb.Message.getWrapperField(this, proto.DungeonSceneInfo, 21)); }; /** * @param {?proto.DungeonSceneInfo|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonsceneinfo = function(value) { return jspb.Message.setWrapperField(this, 21, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonsceneinfo = function() { return this.setDungeonsceneinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonsceneinfo = function() { return jspb.Message.getField(this, 21) != null; }; /** * optional DungeonVarAll DungeonVarAll = 22; * @return {?proto.DungeonVarAll} */ proto.DungeonSyncData.prototype.getDungeonvarall = function() { return /** @type{?proto.DungeonVarAll} */ ( jspb.Message.getWrapperField(this, proto.DungeonVarAll, 22)); }; /** * @param {?proto.DungeonVarAll|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonvarall = function(value) { return jspb.Message.setWrapperField(this, 22, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonvarall = function() { return this.setDungeonvarall(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonvarall = function() { return jspb.Message.getField(this, 22) != null; }; /** * optional DungeonRaidInfo DungeonRaidInfo = 23; * @return {?proto.DungeonRaidInfo} */ proto.DungeonSyncData.prototype.getDungeonraidinfo = function() { return /** @type{?proto.DungeonRaidInfo} */ ( jspb.Message.getWrapperField(this, proto.DungeonRaidInfo, 23)); }; /** * @param {?proto.DungeonRaidInfo|undefined} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setDungeonraidinfo = function(value) { return jspb.Message.setWrapperField(this, 23, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearDungeonraidinfo = function() { return this.setDungeonraidinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasDungeonraidinfo = function() { return jspb.Message.getField(this, 23) != null; }; /** * optional EErrorCode ErrCode = 24; * @return {!proto.EErrorCode} */ proto.DungeonSyncData.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 24, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 24, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonSyncData} returns this */ proto.DungeonSyncData.prototype.clearErrcode = function() { return jspb.Message.setField(this, 24, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonSyncData.prototype.hasErrcode = function() { return jspb.Message.getField(this, 24) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonTitle.prototype.toObject = function(opt_includeInstance) { return proto.DungeonTitle.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonTitle} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTitle.toObject = function(includeInstance, msg) { var f, obj = { titlelistMap: (f = msg.getTitlelistMap()) ? f.toObject(includeInstance, proto.DungeonTitleList.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonTitle} */ proto.DungeonTitle.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonTitle; return proto.DungeonTitle.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonTitle} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonTitle} */ proto.DungeonTitle.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getTitlelistMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.DungeonTitleList.deserializeBinaryFromReader, 0, new proto.DungeonTitleList()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonTitle.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonTitle.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonTitle} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTitle.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTitlelistMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonTitleList.serializeBinaryToWriter); } }; /** * map TitleList = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonTitle.prototype.getTitlelistMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonTitleList)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonTitle} returns this */ proto.DungeonTitle.prototype.clearTitlelistMap = function() { this.getTitlelistMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonTitleList.prototype.toObject = function(opt_includeInstance) { return proto.DungeonTitleList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonTitleList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTitleList.toObject = function(includeInstance, msg) { var f, obj = { titleinfoMap: (f = msg.getTitleinfoMap()) ? f.toObject(includeInstance, proto.DungeonTitleInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonTitleList} */ proto.DungeonTitleList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonTitleList; return proto.DungeonTitleList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonTitleList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonTitleList} */ proto.DungeonTitleList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getTitleinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonTitleInfo.deserializeBinaryFromReader, 0, new proto.DungeonTitleInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonTitleList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonTitleList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonTitleList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTitleList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTitleinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonTitleInfo.serializeBinaryToWriter); } }; /** * map TitleInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonTitleList.prototype.getTitleinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonTitleInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonTitleList} returns this */ proto.DungeonTitleList.prototype.clearTitleinfoMap = function() { this.getTitleinfoMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonTitleInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonTitleInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonTitleInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTitleInfo.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, titleid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonTitleInfo} */ proto.DungeonTitleInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonTitleInfo; return proto.DungeonTitleInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonTitleInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonTitleInfo} */ proto.DungeonTitleInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTitleid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonTitleInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonTitleInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonTitleInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTitleInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.DungeonTitleInfo.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonTitleInfo} returns this */ proto.DungeonTitleInfo.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTitleInfo} returns this */ proto.DungeonTitleInfo.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTitleInfo.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TitleId = 2; * @return {number} */ proto.DungeonTitleInfo.prototype.getTitleid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonTitleInfo} returns this */ proto.DungeonTitleInfo.prototype.setTitleid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTitleInfo} returns this */ proto.DungeonTitleInfo.prototype.clearTitleid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTitleInfo.prototype.hasTitleid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonTarget.prototype.toObject = function(opt_includeInstance) { return proto.DungeonTarget.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonTarget} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTarget.toObject = function(includeInstance, msg) { var f, obj = { targetdataMap: (f = msg.getTargetdataMap()) ? f.toObject(includeInstance, proto.DungeonTargetData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonTarget} */ proto.DungeonTarget.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonTarget; return proto.DungeonTarget.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonTarget} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonTarget} */ proto.DungeonTarget.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getTargetdataMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.DungeonTargetData.deserializeBinaryFromReader, 0, new proto.DungeonTargetData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonTarget.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonTarget.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonTarget} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTarget.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTargetdataMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonTargetData.serializeBinaryToWriter); } }; /** * map TargetData = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonTarget.prototype.getTargetdataMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonTargetData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonTarget} returns this */ proto.DungeonTarget.prototype.clearTargetdataMap = function() { this.getTargetdataMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonVote.prototype.toObject = function(opt_includeInstance) { return proto.DungeonVote.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonVote} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonVote.toObject = function(includeInstance, msg) { var f, obj = { voteMap: (f = msg.getVoteMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonVote} */ proto.DungeonVote.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonVote; return proto.DungeonVote.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonVote} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonVote} */ proto.DungeonVote.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getVoteMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonVote.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonVote.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonVote} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonVote.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVoteMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map Vote = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonVote.prototype.getVoteMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonVote} returns this */ proto.DungeonVote.prototype.clearVoteMap = function() { this.getVoteMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.DungeonVar.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonVar.prototype.toObject = function(opt_includeInstance) { return proto.DungeonVar.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonVar} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonVar.toObject = function(includeInstance, msg) { var f, obj = { dungeonvardataList: jspb.Message.toObjectList(msg.getDungeonvardataList(), proto.DungeonVarData.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonVar} */ proto.DungeonVar.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonVar; return proto.DungeonVar.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonVar} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonVar} */ proto.DungeonVar.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.DungeonVarData; reader.readMessage(value,proto.DungeonVarData.deserializeBinaryFromReader); msg.addDungeonvardata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonVar.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonVar.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonVar} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonVar.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDungeonvardataList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.DungeonVarData.serializeBinaryToWriter ); } }; /** * repeated DungeonVarData DungeonVarData = 1; * @return {!Array} */ proto.DungeonVar.prototype.getDungeonvardataList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.DungeonVarData, 1)); }; /** * @param {!Array} value * @return {!proto.DungeonVar} returns this */ proto.DungeonVar.prototype.setDungeonvardataList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.DungeonVarData=} opt_value * @param {number=} opt_index * @return {!proto.DungeonVarData} */ proto.DungeonVar.prototype.addDungeonvardata = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.DungeonVarData, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.DungeonVar} returns this */ proto.DungeonVar.prototype.clearDungeonvardataList = function() { return this.setDungeonvardataList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonVarData.prototype.toObject = function(opt_includeInstance) { return proto.DungeonVarData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonVarData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonVarData.toObject = function(includeInstance, msg) { var f, obj = { name: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, value: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonVarData} */ proto.DungeonVarData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonVarData; return proto.DungeonVarData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonVarData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonVarData} */ proto.DungeonVarData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setValue(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonVarData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonVarData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonVarData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonVarData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional string Name = 1; * @return {string} */ proto.DungeonVarData.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.DungeonVarData} returns this */ proto.DungeonVarData.prototype.setName = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonVarData} returns this */ proto.DungeonVarData.prototype.clearName = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonVarData.prototype.hasName = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Value = 2; * @return {number} */ proto.DungeonVarData.prototype.getValue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonVarData} returns this */ proto.DungeonVarData.prototype.setValue = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonVarData} returns this */ proto.DungeonVarData.prototype.clearValue = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonVarData.prototype.hasValue = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonTimerInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonTimerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonTimerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTimerInfo.toObject = function(includeInstance, msg) { var f, obj = { type: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, starttime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, dungeontimes: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, direction: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, index: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, changetime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, effecttype: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, pausetime: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, pausetotaltime: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, outlooktype: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonTimerInfo} */ proto.DungeonTimerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonTimerInfo; return proto.DungeonTimerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonTimerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonTimerInfo} */ proto.DungeonTimerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EDungeonTimerType} */ (reader.readEnum()); msg.setType(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setStarttime(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setDungeontimes(value); break; case 4: var value = /** @type {!proto.EDungeonTimerDirection} */ (reader.readEnum()); msg.setDirection(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setIndex(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setChangetime(value); break; case 7: var value = /** @type {!proto.EDungeonTimerEffectType} */ (reader.readEnum()); msg.setEffecttype(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setPausetime(value); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setPausetotaltime(value); break; case 10: var value = /** @type {!proto.EDungeonTimerTimerLookType} */ (reader.readEnum()); msg.setOutlooktype(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonTimerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonTimerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonTimerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonTimerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EDungeonTimerType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {!proto.EDungeonTimerDirection} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeEnum( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {!proto.EDungeonTimerEffectType} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeEnum( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt32( 9, f ); } f = /** @type {!proto.EDungeonTimerTimerLookType} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeEnum( 10, f ); } }; /** * optional EDungeonTimerType Type = 1; * @return {!proto.EDungeonTimerType} */ proto.DungeonTimerInfo.prototype.getType = function() { return /** @type {!proto.EDungeonTimerType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EDungeonTimerType} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setType = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearType = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasType = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 StartTime = 2; * @return {number} */ proto.DungeonTimerInfo.prototype.getStarttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setStarttime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearStarttime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasStarttime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 DungeonTimes = 3; * @return {number} */ proto.DungeonTimerInfo.prototype.getDungeontimes = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setDungeontimes = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearDungeontimes = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasDungeontimes = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional EDungeonTimerDirection Direction = 4; * @return {!proto.EDungeonTimerDirection} */ proto.DungeonTimerInfo.prototype.getDirection = function() { return /** @type {!proto.EDungeonTimerDirection} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {!proto.EDungeonTimerDirection} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setDirection = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearDirection = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasDirection = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 Index = 5; * @return {number} */ proto.DungeonTimerInfo.prototype.getIndex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setIndex = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearIndex = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasIndex = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 ChangeTime = 6; * @return {number} */ proto.DungeonTimerInfo.prototype.getChangetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setChangetime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearChangetime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasChangetime = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional EDungeonTimerEffectType EffectType = 7; * @return {!proto.EDungeonTimerEffectType} */ proto.DungeonTimerInfo.prototype.getEffecttype = function() { return /** @type {!proto.EDungeonTimerEffectType} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {!proto.EDungeonTimerEffectType} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setEffecttype = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearEffecttype = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasEffecttype = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 PauseTime = 8; * @return {number} */ proto.DungeonTimerInfo.prototype.getPausetime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setPausetime = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearPausetime = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasPausetime = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int32 PauseTotalTime = 9; * @return {number} */ proto.DungeonTimerInfo.prototype.getPausetotaltime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setPausetotaltime = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearPausetotaltime = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasPausetotaltime = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional EDungeonTimerTimerLookType OutLookType = 10; * @return {!proto.EDungeonTimerTimerLookType} */ proto.DungeonTimerInfo.prototype.getOutlooktype = function() { return /** @type {!proto.EDungeonTimerTimerLookType} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {!proto.EDungeonTimerTimerLookType} value * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.setOutlooktype = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonTimerInfo} returns this */ proto.DungeonTimerInfo.prototype.clearOutlooktype = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonTimerInfo.prototype.hasOutlooktype = function() { return jspb.Message.getField(this, 10) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonUnionInfo.prototype.toObject = function(opt_includeInstance) { return proto.DungeonUnionInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonUnionInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonUnionInfo.toObject = function(includeInstance, msg) { var f, obj = { unionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, unionbuildingsMap: (f = msg.getUnionbuildingsMap()) ? f.toObject(includeInstance, proto.UnionBuilding.toObject) : [], escreeninfosMap: (f = msg.getEscreeninfosMap()) ? f.toObject(includeInstance, proto.UnionEScreenInfo.toObject) : [], danceball: (f = msg.getDanceball()) && proto.DanceBall.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonUnionInfo} */ proto.DungeonUnionInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonUnionInfo; return proto.DungeonUnionInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonUnionInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonUnionInfo} */ proto.DungeonUnionInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUnionid(value); break; case 2: var value = msg.getUnionbuildingsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.UnionBuilding.deserializeBinaryFromReader, 0, new proto.UnionBuilding()); }); break; case 3: var value = msg.getEscreeninfosMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.UnionEScreenInfo.deserializeBinaryFromReader, 0, new proto.UnionEScreenInfo()); }); break; case 4: var value = new proto.DanceBall; reader.readMessage(value,proto.DanceBall.deserializeBinaryFromReader); msg.setDanceball(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonUnionInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonUnionInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonUnionInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonUnionInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getUnionbuildingsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.UnionBuilding.serializeBinaryToWriter); } f = message.getEscreeninfosMap(true); if (f && f.getLength() > 0) { f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.UnionEScreenInfo.serializeBinaryToWriter); } f = message.getDanceball(); if (f != null) { writer.writeMessage( 4, f, proto.DanceBall.serializeBinaryToWriter ); } }; /** * optional int64 UnionId = 1; * @return {number} */ proto.DungeonUnionInfo.prototype.getUnionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DungeonUnionInfo} returns this */ proto.DungeonUnionInfo.prototype.setUnionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DungeonUnionInfo} returns this */ proto.DungeonUnionInfo.prototype.clearUnionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonUnionInfo.prototype.hasUnionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * map UnionBuildings = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonUnionInfo.prototype.getUnionbuildingsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.UnionBuilding)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonUnionInfo} returns this */ proto.DungeonUnionInfo.prototype.clearUnionbuildingsMap = function() { this.getUnionbuildingsMap().clear(); return this; }; /** * map EScreenInfos = 3; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonUnionInfo.prototype.getEscreeninfosMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 3, opt_noLazyCreate, proto.UnionEScreenInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonUnionInfo} returns this */ proto.DungeonUnionInfo.prototype.clearEscreeninfosMap = function() { this.getEscreeninfosMap().clear(); return this; }; /** * optional DanceBall DanceBall = 4; * @return {?proto.DanceBall} */ proto.DungeonUnionInfo.prototype.getDanceball = function() { return /** @type{?proto.DanceBall} */ ( jspb.Message.getWrapperField(this, proto.DanceBall, 4)); }; /** * @param {?proto.DanceBall|undefined} value * @return {!proto.DungeonUnionInfo} returns this */ proto.DungeonUnionInfo.prototype.setDanceball = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.DungeonUnionInfo} returns this */ proto.DungeonUnionInfo.prototype.clearDanceball = function() { return this.setDanceball(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DungeonUnionInfo.prototype.hasDanceball = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UnionBuilding.prototype.toObject = function(opt_includeInstance) { return proto.UnionBuilding.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UnionBuilding} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionBuilding.toObject = function(includeInstance, msg) { var f, obj = { buildingid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, buildinglevel: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, upgradefinishtime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, hasspeedupsec: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UnionBuilding} */ proto.UnionBuilding.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UnionBuilding; return proto.UnionBuilding.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UnionBuilding} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UnionBuilding} */ proto.UnionBuilding.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setBuildingid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setBuildinglevel(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setUpgradefinishtime(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setHasspeedupsec(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UnionBuilding.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UnionBuilding.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UnionBuilding} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionBuilding.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } }; /** * optional int32 BuildingId = 1; * @return {number} */ proto.UnionBuilding.prototype.getBuildingid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UnionBuilding} returns this */ proto.UnionBuilding.prototype.setBuildingid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionBuilding} returns this */ proto.UnionBuilding.prototype.clearBuildingid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionBuilding.prototype.hasBuildingid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 BuildingLevel = 2; * @return {number} */ proto.UnionBuilding.prototype.getBuildinglevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UnionBuilding} returns this */ proto.UnionBuilding.prototype.setBuildinglevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionBuilding} returns this */ proto.UnionBuilding.prototype.clearBuildinglevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionBuilding.prototype.hasBuildinglevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 UpgradeFinishTime = 3; * @return {number} */ proto.UnionBuilding.prototype.getUpgradefinishtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.UnionBuilding} returns this */ proto.UnionBuilding.prototype.setUpgradefinishtime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionBuilding} returns this */ proto.UnionBuilding.prototype.clearUpgradefinishtime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionBuilding.prototype.hasUpgradefinishtime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 HasSpeedUpSec = 4; * @return {number} */ proto.UnionBuilding.prototype.getHasspeedupsec = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.UnionBuilding} returns this */ proto.UnionBuilding.prototype.setHasspeedupsec = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionBuilding} returns this */ proto.UnionBuilding.prototype.clearHasspeedupsec = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionBuilding.prototype.hasHasspeedupsec = function() { return jspb.Message.getField(this, 4) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.UnionEScreenInfo.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UnionEScreenInfo.prototype.toObject = function(opt_includeInstance) { return proto.UnionEScreenInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UnionEScreenInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionEScreenInfo.toObject = function(includeInstance, msg) { var f, obj = { escreenid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, photographsList: jspb.Message.toObjectList(msg.getPhotographsList(), proto.PhotoGraphShow.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UnionEScreenInfo} */ proto.UnionEScreenInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UnionEScreenInfo; return proto.UnionEScreenInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UnionEScreenInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UnionEScreenInfo} */ proto.UnionEScreenInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setEscreenid(value); break; case 2: var value = new proto.PhotoGraphShow; reader.readMessage(value,proto.PhotoGraphShow.deserializeBinaryFromReader); msg.addPhotographs(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UnionEScreenInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UnionEScreenInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UnionEScreenInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnionEScreenInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = message.getPhotographsList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.PhotoGraphShow.serializeBinaryToWriter ); } }; /** * optional int32 EScreenId = 1; * @return {number} */ proto.UnionEScreenInfo.prototype.getEscreenid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UnionEScreenInfo} returns this */ proto.UnionEScreenInfo.prototype.setEscreenid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UnionEScreenInfo} returns this */ proto.UnionEScreenInfo.prototype.clearEscreenid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnionEScreenInfo.prototype.hasEscreenid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated PhotoGraphShow PhotoGraphs = 2; * @return {!Array} */ proto.UnionEScreenInfo.prototype.getPhotographsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.PhotoGraphShow, 2)); }; /** * @param {!Array} value * @return {!proto.UnionEScreenInfo} returns this */ proto.UnionEScreenInfo.prototype.setPhotographsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.PhotoGraphShow=} opt_value * @param {number=} opt_index * @return {!proto.PhotoGraphShow} */ proto.UnionEScreenInfo.prototype.addPhotographs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.PhotoGraphShow, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UnionEScreenInfo} returns this */ proto.UnionEScreenInfo.prototype.clearPhotographsList = function() { return this.setPhotographsList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.PhotoGraphShow.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PhotoGraphShow.prototype.toObject = function(opt_includeInstance) { return proto.PhotoGraphShow.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PhotoGraphShow} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PhotoGraphShow.toObject = function(includeInstance, msg) { var f, obj = { photoid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, imagesList: jspb.Message.toObjectList(msg.getImagesList(), proto.ImageInfo.toObject, includeInstance), renderinfo: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, photodesc: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, ownerinfo: (f = msg.getOwnerinfo()) && proto.PhotoOwnerData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PhotoGraphShow} */ proto.PhotoGraphShow.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PhotoGraphShow; return proto.PhotoGraphShow.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PhotoGraphShow} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PhotoGraphShow} */ proto.PhotoGraphShow.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setPhotoid(value); break; case 2: var value = new proto.ImageInfo; reader.readMessage(value,proto.ImageInfo.deserializeBinaryFromReader); msg.addImages(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setRenderinfo(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setPhotodesc(value); break; case 5: var value = new proto.PhotoOwnerData; reader.readMessage(value,proto.PhotoOwnerData.deserializeBinaryFromReader); msg.setOwnerinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PhotoGraphShow.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PhotoGraphShow.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PhotoGraphShow} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PhotoGraphShow.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getImagesList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.ImageInfo.serializeBinaryToWriter ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = message.getOwnerinfo(); if (f != null) { writer.writeMessage( 5, f, proto.PhotoOwnerData.serializeBinaryToWriter ); } }; /** * optional uint32 PhotoId = 1; * @return {number} */ proto.PhotoGraphShow.prototype.getPhotoid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.setPhotoid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.clearPhotoid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PhotoGraphShow.prototype.hasPhotoid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated ImageInfo Images = 2; * @return {!Array} */ proto.PhotoGraphShow.prototype.getImagesList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ImageInfo, 2)); }; /** * @param {!Array} value * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.setImagesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.ImageInfo=} opt_value * @param {number=} opt_index * @return {!proto.ImageInfo} */ proto.PhotoGraphShow.prototype.addImages = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.ImageInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.clearImagesList = function() { return this.setImagesList([]); }; /** * optional string RenderInfo = 3; * @return {string} */ proto.PhotoGraphShow.prototype.getRenderinfo = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.setRenderinfo = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.clearRenderinfo = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PhotoGraphShow.prototype.hasRenderinfo = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string PhotoDesc = 4; * @return {string} */ proto.PhotoGraphShow.prototype.getPhotodesc = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.setPhotodesc = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.clearPhotodesc = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PhotoGraphShow.prototype.hasPhotodesc = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional PhotoOwnerData OwnerInfo = 5; * @return {?proto.PhotoOwnerData} */ proto.PhotoGraphShow.prototype.getOwnerinfo = function() { return /** @type{?proto.PhotoOwnerData} */ ( jspb.Message.getWrapperField(this, proto.PhotoOwnerData, 5)); }; /** * @param {?proto.PhotoOwnerData|undefined} value * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.setOwnerinfo = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.PhotoGraphShow} returns this */ proto.PhotoGraphShow.prototype.clearOwnerinfo = function() { return this.setOwnerinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PhotoGraphShow.prototype.hasOwnerinfo = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ImageInfo.prototype.toObject = function(opt_includeInstance) { return proto.ImageInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ImageInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ImageInfo.toObject = function(includeInstance, msg) { var f, obj = { type: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, size: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, version: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, cosurl: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, extrainfo: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, reviewstarttime: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ImageInfo} */ proto.ImageInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ImageInfo; return proto.ImageInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ImageInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ImageInfo} */ proto.ImageInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EPictureType} */ (reader.readEnum()); msg.setType(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setSize(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setVersion(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setCosurl(value); break; case 5: var value = /** @type {string} */ (reader.readString()); msg.setExtrainfo(value); break; case 6: var value = /** @type {number} */ (reader.readUint32()); msg.setReviewstarttime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ImageInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ImageInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ImageInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ImageInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EPictureType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeString( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeUint32( 6, f ); } }; /** * optional EPictureType Type = 1; * @return {!proto.EPictureType} */ proto.ImageInfo.prototype.getType = function() { return /** @type {!proto.EPictureType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EPictureType} value * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.setType = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.clearType = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ImageInfo.prototype.hasType = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 Size = 2; * @return {number} */ proto.ImageInfo.prototype.getSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.setSize = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.clearSize = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ImageInfo.prototype.hasSize = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 Version = 3; * @return {number} */ proto.ImageInfo.prototype.getVersion = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.setVersion = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.clearVersion = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ImageInfo.prototype.hasVersion = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string CosUrl = 4; * @return {string} */ proto.ImageInfo.prototype.getCosurl = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.setCosurl = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.clearCosurl = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ImageInfo.prototype.hasCosurl = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional string ExtraInfo = 5; * @return {string} */ proto.ImageInfo.prototype.getExtrainfo = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.setExtrainfo = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.clearExtrainfo = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ImageInfo.prototype.hasExtrainfo = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional uint32 ReviewStartTime = 6; * @return {number} */ proto.ImageInfo.prototype.getReviewstarttime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.setReviewstarttime = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.ImageInfo} returns this */ proto.ImageInfo.prototype.clearReviewstarttime = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ImageInfo.prototype.hasReviewstarttime = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PhotoOwnerData.prototype.toObject = function(opt_includeInstance) { return proto.PhotoOwnerData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PhotoOwnerData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PhotoOwnerData.toObject = function(includeInstance, msg) { var f, obj = { uploadcharid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, expiretime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, showid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, name: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PhotoOwnerData} */ proto.PhotoOwnerData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PhotoOwnerData; return proto.PhotoOwnerData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PhotoOwnerData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PhotoOwnerData} */ proto.PhotoOwnerData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUploadcharid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setExpiretime(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setShowid(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PhotoOwnerData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PhotoOwnerData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PhotoOwnerData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PhotoOwnerData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } }; /** * optional int64 UploadCharId = 1; * @return {number} */ proto.PhotoOwnerData.prototype.getUploadcharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PhotoOwnerData} returns this */ proto.PhotoOwnerData.prototype.setUploadcharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PhotoOwnerData} returns this */ proto.PhotoOwnerData.prototype.clearUploadcharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PhotoOwnerData.prototype.hasUploadcharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 ExpireTime = 2; * @return {number} */ proto.PhotoOwnerData.prototype.getExpiretime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PhotoOwnerData} returns this */ proto.PhotoOwnerData.prototype.setExpiretime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PhotoOwnerData} returns this */ proto.PhotoOwnerData.prototype.clearExpiretime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PhotoOwnerData.prototype.hasExpiretime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 ShowId = 3; * @return {number} */ proto.PhotoOwnerData.prototype.getShowid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PhotoOwnerData} returns this */ proto.PhotoOwnerData.prototype.setShowid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PhotoOwnerData} returns this */ proto.PhotoOwnerData.prototype.clearShowid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PhotoOwnerData.prototype.hasShowid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string Name = 4; * @return {string} */ proto.PhotoOwnerData.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.PhotoOwnerData} returns this */ proto.PhotoOwnerData.prototype.setName = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.PhotoOwnerData} returns this */ proto.PhotoOwnerData.prototype.clearName = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PhotoOwnerData.prototype.hasName = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DungeonVarAll.prototype.toObject = function(opt_includeInstance) { return proto.DungeonVarAll.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DungeonVarAll} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonVarAll.toObject = function(includeInstance, msg) { var f, obj = { dungeonvarallmapMap: (f = msg.getDungeonvarallmapMap()) ? f.toObject(includeInstance, proto.DungeonVar.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DungeonVarAll} */ proto.DungeonVarAll.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DungeonVarAll; return proto.DungeonVarAll.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DungeonVarAll} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DungeonVarAll} */ proto.DungeonVarAll.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getDungeonvarallmapMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.DungeonVar.deserializeBinaryFromReader, 0, new proto.DungeonVar()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DungeonVarAll.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DungeonVarAll.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DungeonVarAll} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DungeonVarAll.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDungeonvarallmapMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.DungeonVar.serializeBinaryToWriter); } }; /** * map DungeonVarAllMap = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.DungeonVarAll.prototype.getDungeonvarallmapMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.DungeonVar)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.DungeonVarAll} returns this */ proto.DungeonVarAll.prototype.clearDungeonvarallmapMap = function() { this.getDungeonvarallmapMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EnterSceneInfo.prototype.toObject = function(opt_includeInstance) { return proto.EnterSceneInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EnterSceneInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnterSceneInfo.toObject = function(includeInstance, msg) { var f, obj = { sceneattrs: (f = msg.getSceneattrs()) && proto.AttrCollection.toObject(includeInstance, f), playerent: (f = msg.getPlayerent()) && proto.Entity.toObject(includeInstance, f), sceneguid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, connectguid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, subsceneattrs: (f = msg.getSubsceneattrs()) && proto.AttrCollection.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EnterSceneInfo} */ proto.EnterSceneInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EnterSceneInfo; return proto.EnterSceneInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EnterSceneInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EnterSceneInfo} */ proto.EnterSceneInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.AttrCollection; reader.readMessage(value,proto.AttrCollection.deserializeBinaryFromReader); msg.setSceneattrs(value); break; case 2: var value = new proto.Entity; reader.readMessage(value,proto.Entity.deserializeBinaryFromReader); msg.setPlayerent(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setSceneguid(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setConnectguid(value); break; case 5: var value = new proto.AttrCollection; reader.readMessage(value,proto.AttrCollection.deserializeBinaryFromReader); msg.setSubsceneattrs(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EnterSceneInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EnterSceneInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EnterSceneInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnterSceneInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSceneattrs(); if (f != null) { writer.writeMessage( 1, f, proto.AttrCollection.serializeBinaryToWriter ); } f = message.getPlayerent(); if (f != null) { writer.writeMessage( 2, f, proto.Entity.serializeBinaryToWriter ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = message.getSubsceneattrs(); if (f != null) { writer.writeMessage( 5, f, proto.AttrCollection.serializeBinaryToWriter ); } }; /** * optional AttrCollection SceneAttrs = 1; * @return {?proto.AttrCollection} */ proto.EnterSceneInfo.prototype.getSceneattrs = function() { return /** @type{?proto.AttrCollection} */ ( jspb.Message.getWrapperField(this, proto.AttrCollection, 1)); }; /** * @param {?proto.AttrCollection|undefined} value * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.setSceneattrs = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.clearSceneattrs = function() { return this.setSceneattrs(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnterSceneInfo.prototype.hasSceneattrs = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Entity PlayerEnt = 2; * @return {?proto.Entity} */ proto.EnterSceneInfo.prototype.getPlayerent = function() { return /** @type{?proto.Entity} */ ( jspb.Message.getWrapperField(this, proto.Entity, 2)); }; /** * @param {?proto.Entity|undefined} value * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.setPlayerent = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.clearPlayerent = function() { return this.setPlayerent(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnterSceneInfo.prototype.hasPlayerent = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string SceneGuid = 3; * @return {string} */ proto.EnterSceneInfo.prototype.getSceneguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.setSceneguid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.clearSceneguid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnterSceneInfo.prototype.hasSceneguid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string ConnectGuid = 4; * @return {string} */ proto.EnterSceneInfo.prototype.getConnectguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.setConnectguid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.clearConnectguid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnterSceneInfo.prototype.hasConnectguid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional AttrCollection SubsceneAttrs = 5; * @return {?proto.AttrCollection} */ proto.EnterSceneInfo.prototype.getSubsceneattrs = function() { return /** @type{?proto.AttrCollection} */ ( jspb.Message.getWrapperField(this, proto.AttrCollection, 5)); }; /** * @param {?proto.AttrCollection|undefined} value * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.setSubsceneattrs = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.EnterSceneInfo} returns this */ proto.EnterSceneInfo.prototype.clearSubsceneattrs = function() { return this.setSubsceneattrs(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnterSceneInfo.prototype.hasSubsceneattrs = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Entity.prototype.toObject = function(opt_includeInstance) { return proto.Entity.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Entity} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Entity.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, enttype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, attrs: (f = msg.getAttrs()) && proto.AttrCollection.toObject(includeInstance, f), tempattrs: (f = msg.getTempattrs()) && proto.TempAttrCollection.toObject(includeInstance, f), bodypartinfos: (f = msg.getBodypartinfos()) && proto.ActorBodyPartInfos.toObject(includeInstance, f), passiveskillinfos: (f = msg.getPassiveskillinfos()) && proto.SeqPassiveSkillInfo.toObject(includeInstance, f), buffinfos: (f = msg.getBuffinfos()) && proto.BuffInfoSync.toObject(includeInstance, f), buffeffect: (f = msg.getBuffeffect()) && proto.BuffEffectSync.toObject(includeInstance, f), appeartype: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, magneticridequeuechangeinfodictMap: (f = msg.getMagneticridequeuechangeinfodictMap()) ? f.toObject(includeInstance, proto.MagneticQueueAppearInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Entity} */ proto.Entity.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Entity; return proto.Entity.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Entity} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Entity} */ proto.Entity.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = /** @type {!proto.EEntityType} */ (reader.readEnum()); msg.setEnttype(value); break; case 3: var value = new proto.AttrCollection; reader.readMessage(value,proto.AttrCollection.deserializeBinaryFromReader); msg.setAttrs(value); break; case 4: var value = new proto.TempAttrCollection; reader.readMessage(value,proto.TempAttrCollection.deserializeBinaryFromReader); msg.setTempattrs(value); break; case 5: var value = new proto.ActorBodyPartInfos; reader.readMessage(value,proto.ActorBodyPartInfos.deserializeBinaryFromReader); msg.setBodypartinfos(value); break; case 6: var value = new proto.SeqPassiveSkillInfo; reader.readMessage(value,proto.SeqPassiveSkillInfo.deserializeBinaryFromReader); msg.setPassiveskillinfos(value); break; case 7: var value = new proto.BuffInfoSync; reader.readMessage(value,proto.BuffInfoSync.deserializeBinaryFromReader); msg.setBuffinfos(value); break; case 8: var value = new proto.BuffEffectSync; reader.readMessage(value,proto.BuffEffectSync.deserializeBinaryFromReader); msg.setBuffeffect(value); break; case 9: var value = /** @type {!proto.EAppearType} */ (reader.readEnum()); msg.setAppeartype(value); break; case 10: var value = msg.getMagneticridequeuechangeinfodictMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.MagneticQueueAppearInfo.deserializeBinaryFromReader, 0, new proto.MagneticQueueAppearInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Entity.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Entity.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Entity} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Entity.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {!proto.EEntityType} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = message.getAttrs(); if (f != null) { writer.writeMessage( 3, f, proto.AttrCollection.serializeBinaryToWriter ); } f = message.getTempattrs(); if (f != null) { writer.writeMessage( 4, f, proto.TempAttrCollection.serializeBinaryToWriter ); } f = message.getBodypartinfos(); if (f != null) { writer.writeMessage( 5, f, proto.ActorBodyPartInfos.serializeBinaryToWriter ); } f = message.getPassiveskillinfos(); if (f != null) { writer.writeMessage( 6, f, proto.SeqPassiveSkillInfo.serializeBinaryToWriter ); } f = message.getBuffinfos(); if (f != null) { writer.writeMessage( 7, f, proto.BuffInfoSync.serializeBinaryToWriter ); } f = message.getBuffeffect(); if (f != null) { writer.writeMessage( 8, f, proto.BuffEffectSync.serializeBinaryToWriter ); } f = /** @type {!proto.EAppearType} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeEnum( 9, f ); } f = message.getMagneticridequeuechangeinfodictMap(true); if (f && f.getLength() > 0) { f.serializeBinary(10, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.MagneticQueueAppearInfo.serializeBinaryToWriter); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.Entity.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.Entity} returns this */ proto.Entity.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Entity.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EEntityType EntType = 2; * @return {!proto.EEntityType} */ proto.Entity.prototype.getEnttype = function() { return /** @type {!proto.EEntityType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EEntityType} value * @return {!proto.Entity} returns this */ proto.Entity.prototype.setEnttype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearEnttype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Entity.prototype.hasEnttype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional AttrCollection Attrs = 3; * @return {?proto.AttrCollection} */ proto.Entity.prototype.getAttrs = function() { return /** @type{?proto.AttrCollection} */ ( jspb.Message.getWrapperField(this, proto.AttrCollection, 3)); }; /** * @param {?proto.AttrCollection|undefined} value * @return {!proto.Entity} returns this */ proto.Entity.prototype.setAttrs = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearAttrs = function() { return this.setAttrs(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Entity.prototype.hasAttrs = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional TempAttrCollection TempAttrs = 4; * @return {?proto.TempAttrCollection} */ proto.Entity.prototype.getTempattrs = function() { return /** @type{?proto.TempAttrCollection} */ ( jspb.Message.getWrapperField(this, proto.TempAttrCollection, 4)); }; /** * @param {?proto.TempAttrCollection|undefined} value * @return {!proto.Entity} returns this */ proto.Entity.prototype.setTempattrs = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearTempattrs = function() { return this.setTempattrs(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Entity.prototype.hasTempattrs = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional ActorBodyPartInfos BodyPartInfos = 5; * @return {?proto.ActorBodyPartInfos} */ proto.Entity.prototype.getBodypartinfos = function() { return /** @type{?proto.ActorBodyPartInfos} */ ( jspb.Message.getWrapperField(this, proto.ActorBodyPartInfos, 5)); }; /** * @param {?proto.ActorBodyPartInfos|undefined} value * @return {!proto.Entity} returns this */ proto.Entity.prototype.setBodypartinfos = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearBodypartinfos = function() { return this.setBodypartinfos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Entity.prototype.hasBodypartinfos = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional SeqPassiveSkillInfo PassiveSkillInfos = 6; * @return {?proto.SeqPassiveSkillInfo} */ proto.Entity.prototype.getPassiveskillinfos = function() { return /** @type{?proto.SeqPassiveSkillInfo} */ ( jspb.Message.getWrapperField(this, proto.SeqPassiveSkillInfo, 6)); }; /** * @param {?proto.SeqPassiveSkillInfo|undefined} value * @return {!proto.Entity} returns this */ proto.Entity.prototype.setPassiveskillinfos = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearPassiveskillinfos = function() { return this.setPassiveskillinfos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Entity.prototype.hasPassiveskillinfos = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional BuffInfoSync BuffInfos = 7; * @return {?proto.BuffInfoSync} */ proto.Entity.prototype.getBuffinfos = function() { return /** @type{?proto.BuffInfoSync} */ ( jspb.Message.getWrapperField(this, proto.BuffInfoSync, 7)); }; /** * @param {?proto.BuffInfoSync|undefined} value * @return {!proto.Entity} returns this */ proto.Entity.prototype.setBuffinfos = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearBuffinfos = function() { return this.setBuffinfos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Entity.prototype.hasBuffinfos = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional BuffEffectSync BuffEffect = 8; * @return {?proto.BuffEffectSync} */ proto.Entity.prototype.getBuffeffect = function() { return /** @type{?proto.BuffEffectSync} */ ( jspb.Message.getWrapperField(this, proto.BuffEffectSync, 8)); }; /** * @param {?proto.BuffEffectSync|undefined} value * @return {!proto.Entity} returns this */ proto.Entity.prototype.setBuffeffect = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearBuffeffect = function() { return this.setBuffeffect(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Entity.prototype.hasBuffeffect = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional EAppearType AppearType = 9; * @return {!proto.EAppearType} */ proto.Entity.prototype.getAppeartype = function() { return /** @type {!proto.EAppearType} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {!proto.EAppearType} value * @return {!proto.Entity} returns this */ proto.Entity.prototype.setAppeartype = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearAppeartype = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Entity.prototype.hasAppeartype = function() { return jspb.Message.getField(this, 9) != null; }; /** * map MagneticRideQueueChangeInfoDict = 10; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.Entity.prototype.getMagneticridequeuechangeinfodictMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 10, opt_noLazyCreate, proto.MagneticQueueAppearInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.Entity} returns this */ proto.Entity.prototype.clearMagneticridequeuechangeinfodictMap = function() { this.getMagneticridequeuechangeinfodictMap().clear(); return this; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.MagneticQueueAppearInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MagneticQueueAppearInfo.prototype.toObject = function(opt_includeInstance) { return proto.MagneticQueueAppearInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MagneticQueueAppearInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MagneticQueueAppearInfo.toObject = function(includeInstance, msg) { var f, obj = { passengeruuidlistList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, iscircle: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, pathlength: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MagneticQueueAppearInfo} */ proto.MagneticQueueAppearInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MagneticQueueAppearInfo; return proto.MagneticQueueAppearInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MagneticQueueAppearInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MagneticQueueAppearInfo} */ proto.MagneticQueueAppearInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]); for (var i = 0; i < values.length; i++) { msg.addPassengeruuidlist(values[i]); } break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIscircle(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setPathlength(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MagneticQueueAppearInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MagneticQueueAppearInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MagneticQueueAppearInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MagneticQueueAppearInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPassengeruuidlistList(); if (f.length > 0) { writer.writePackedInt64( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } }; /** * repeated int64 PassengerUuidList = 1; * @return {!Array} */ proto.MagneticQueueAppearInfo.prototype.getPassengeruuidlistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.MagneticQueueAppearInfo} returns this */ proto.MagneticQueueAppearInfo.prototype.setPassengeruuidlistList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.MagneticQueueAppearInfo} returns this */ proto.MagneticQueueAppearInfo.prototype.addPassengeruuidlist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.MagneticQueueAppearInfo} returns this */ proto.MagneticQueueAppearInfo.prototype.clearPassengeruuidlistList = function() { return this.setPassengeruuidlistList([]); }; /** * optional bool IsCircle = 2; * @return {boolean} */ proto.MagneticQueueAppearInfo.prototype.getIscircle = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.MagneticQueueAppearInfo} returns this */ proto.MagneticQueueAppearInfo.prototype.setIscircle = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MagneticQueueAppearInfo} returns this */ proto.MagneticQueueAppearInfo.prototype.clearIscircle = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MagneticQueueAppearInfo.prototype.hasIscircle = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float PathLength = 3; * @return {number} */ proto.MagneticQueueAppearInfo.prototype.getPathlength = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.MagneticQueueAppearInfo} returns this */ proto.MagneticQueueAppearInfo.prototype.setPathlength = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MagneticQueueAppearInfo} returns this */ proto.MagneticQueueAppearInfo.prototype.clearPathlength = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MagneticQueueAppearInfo.prototype.hasPathlength = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FaceDataDb.prototype.toObject = function(opt_includeInstance) { return proto.FaceDataDb.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FaceDataDb} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FaceDataDb.toObject = function(includeInstance, msg) { var f, obj = { faceinfoMap: (f = msg.getFaceinfoMap()) ? f.toObject(includeInstance, undefined) : [], colorinfoMap: (f = msg.getColorinfoMap()) ? f.toObject(includeInstance, proto.IntVec3Db.toObject) : [], height: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FaceDataDb} */ proto.FaceDataDb.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FaceDataDb; return proto.FaceDataDb.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FaceDataDb} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FaceDataDb} */ proto.FaceDataDb.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getFaceinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; case 2: var value = msg.getColorinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.IntVec3Db.deserializeBinaryFromReader, 0, new proto.IntVec3Db()); }); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setHeight(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FaceDataDb.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FaceDataDb.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FaceDataDb} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FaceDataDb.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getFaceinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } f = message.getColorinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.IntVec3Db.serializeBinaryToWriter); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } }; /** * map FaceInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FaceDataDb.prototype.getFaceinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FaceDataDb} returns this */ proto.FaceDataDb.prototype.clearFaceinfoMap = function() { this.getFaceinfoMap().clear(); return this; }; /** * map ColorInfo = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.FaceDataDb.prototype.getColorinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.IntVec3Db)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.FaceDataDb} returns this */ proto.FaceDataDb.prototype.clearColorinfoMap = function() { this.getColorinfoMap().clear(); return this; }; /** * optional float Height = 3; * @return {number} */ proto.FaceDataDb.prototype.getHeight = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.FaceDataDb} returns this */ proto.FaceDataDb.prototype.setHeight = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FaceDataDb} returns this */ proto.FaceDataDb.prototype.clearHeight = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FaceDataDb.prototype.hasHeight = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.IntVec3Db.prototype.toObject = function(opt_includeInstance) { return proto.IntVec3Db.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.IntVec3Db} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.IntVec3Db.toObject = function(includeInstance, msg) { var f, obj = { x: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, y: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, z: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.IntVec3Db} */ proto.IntVec3Db.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.IntVec3Db; return proto.IntVec3Db.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.IntVec3Db} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.IntVec3Db} */ proto.IntVec3Db.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setX(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setY(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setZ(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.IntVec3Db.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.IntVec3Db.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.IntVec3Db} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.IntVec3Db.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 X = 1; * @return {number} */ proto.IntVec3Db.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.IntVec3Db} returns this */ proto.IntVec3Db.prototype.setX = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.IntVec3Db} returns this */ proto.IntVec3Db.prototype.clearX = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.IntVec3Db.prototype.hasX = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Y = 2; * @return {number} */ proto.IntVec3Db.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.IntVec3Db} returns this */ proto.IntVec3Db.prototype.setY = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.IntVec3Db} returns this */ proto.IntVec3Db.prototype.clearY = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.IntVec3Db.prototype.hasY = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Z = 3; * @return {number} */ proto.IntVec3Db.prototype.getZ = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.IntVec3Db} returns this */ proto.IntVec3Db.prototype.setZ = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.IntVec3Db} returns this */ proto.IntVec3Db.prototype.clearZ = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.IntVec3Db.prototype.hasZ = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FishingData.prototype.toObject = function(opt_includeInstance) { return proto.FishingData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FishingData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishingData.toObject = function(includeInstance, msg) { var f, obj = { rodid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, areaid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, fishid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, stage: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, isgetfish: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, size: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FishingData} */ proto.FishingData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FishingData; return proto.FishingData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FishingData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FishingData} */ proto.FishingData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setRodid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setAreaid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setFishid(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setStage(value); break; case 5: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsgetfish(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setSize(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FishingData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FishingData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FishingData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishingData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeBool( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } }; /** * optional int32 RodId = 1; * @return {number} */ proto.FishingData.prototype.getRodid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.setRodid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.clearRodid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishingData.prototype.hasRodid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 AreaId = 2; * @return {number} */ proto.FishingData.prototype.getAreaid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.setAreaid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.clearAreaid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishingData.prototype.hasAreaid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 FishId = 3; * @return {number} */ proto.FishingData.prototype.getFishid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.setFishid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.clearFishid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishingData.prototype.hasFishid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 Stage = 4; * @return {number} */ proto.FishingData.prototype.getStage = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.setStage = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.clearStage = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishingData.prototype.hasStage = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional bool IsGetFish = 5; * @return {boolean} */ proto.FishingData.prototype.getIsgetfish = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); }; /** * @param {boolean} value * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.setIsgetfish = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.clearIsgetfish = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishingData.prototype.hasIsgetfish = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 Size = 6; * @return {number} */ proto.FishingData.prototype.getSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.setSize = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.FishingData} returns this */ proto.FishingData.prototype.clearSize = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishingData.prototype.hasSize = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FishingSetStageRequest.prototype.toObject = function(opt_includeInstance) { return proto.FishingSetStageRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FishingSetStageRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishingSetStageRequest.toObject = function(includeInstance, msg) { var f, obj = { stage: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FishingSetStageRequest} */ proto.FishingSetStageRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FishingSetStageRequest; return proto.FishingSetStageRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FishingSetStageRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FishingSetStageRequest} */ proto.FishingSetStageRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setStage(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FishingSetStageRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FishingSetStageRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FishingSetStageRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishingSetStageRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 Stage = 1; * @return {number} */ proto.FishingSetStageRequest.prototype.getStage = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FishingSetStageRequest} returns this */ proto.FishingSetStageRequest.prototype.setStage = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FishingSetStageRequest} returns this */ proto.FishingSetStageRequest.prototype.clearStage = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishingSetStageRequest.prototype.hasStage = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetClientOptionsReply.prototype.toObject = function(opt_includeInstance) { return proto.GetClientOptionsReply.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetClientOptionsReply} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetClientOptionsReply.toObject = function(includeInstance, msg) { var f, obj = { optionsMap: (f = msg.getOptionsMap()) ? f.toObject(includeInstance, undefined) : [], errcode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetClientOptionsReply} */ proto.GetClientOptionsReply.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetClientOptionsReply; return proto.GetClientOptionsReply.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetClientOptionsReply} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetClientOptionsReply} */ proto.GetClientOptionsReply.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getOptionsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); }); break; case 2: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetClientOptionsReply.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetClientOptionsReply.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetClientOptionsReply} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetClientOptionsReply.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getOptionsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } }; /** * map Options = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.GetClientOptionsReply.prototype.getOptionsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.GetClientOptionsReply} returns this */ proto.GetClientOptionsReply.prototype.clearOptionsMap = function() { this.getOptionsMap().clear(); return this; }; /** * optional EErrorCode ErrCode = 2; * @return {!proto.EErrorCode} */ proto.GetClientOptionsReply.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.GetClientOptionsReply} returns this */ proto.GetClientOptionsReply.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.GetClientOptionsReply} returns this */ proto.GetClientOptionsReply.prototype.clearErrcode = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetClientOptionsReply.prototype.hasErrcode = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.GetClientOptionsRequest.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetClientOptionsRequest.prototype.toObject = function(opt_includeInstance) { return proto.GetClientOptionsRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetClientOptionsRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetClientOptionsRequest.toObject = function(includeInstance, msg) { var f, obj = { keysList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetClientOptionsRequest} */ proto.GetClientOptionsRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetClientOptionsRequest; return proto.GetClientOptionsRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetClientOptionsRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetClientOptionsRequest} */ proto.GetClientOptionsRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.addKeys(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetClientOptionsRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetClientOptionsRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetClientOptionsRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetClientOptionsRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getKeysList(); if (f.length > 0) { writer.writeRepeatedString( 1, f ); } }; /** * repeated string Keys = 1; * @return {!Array} */ proto.GetClientOptionsRequest.prototype.getKeysList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.GetClientOptionsRequest} returns this */ proto.GetClientOptionsRequest.prototype.setKeysList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.GetClientOptionsRequest} returns this */ proto.GetClientOptionsRequest.prototype.addKeys = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.GetClientOptionsRequest} returns this */ proto.GetClientOptionsRequest.prototype.clearKeysList = function() { return this.setKeysList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetGitVersionReply.prototype.toObject = function(opt_includeInstance) { return proto.GetGitVersionReply.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetGitVersionReply} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetGitVersionReply.toObject = function(includeInstance, msg) { var f, obj = { gitversion: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, errcode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetGitVersionReply} */ proto.GetGitVersionReply.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetGitVersionReply; return proto.GetGitVersionReply.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetGitVersionReply} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetGitVersionReply} */ proto.GetGitVersionReply.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setGitversion(value); break; case 2: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetGitVersionReply.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetGitVersionReply.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetGitVersionReply} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetGitVersionReply.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } }; /** * optional string GitVersion = 1; * @return {string} */ proto.GetGitVersionReply.prototype.getGitversion = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.GetGitVersionReply} returns this */ proto.GetGitVersionReply.prototype.setGitversion = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GetGitVersionReply} returns this */ proto.GetGitVersionReply.prototype.clearGitversion = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetGitVersionReply.prototype.hasGitversion = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EErrorCode ErrCode = 2; * @return {!proto.EErrorCode} */ proto.GetGitVersionReply.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.GetGitVersionReply} returns this */ proto.GetGitVersionReply.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.GetGitVersionReply} returns this */ proto.GetGitVersionReply.prototype.clearErrcode = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetGitVersionReply.prototype.hasErrcode = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetGitVersionRequest.prototype.toObject = function(opt_includeInstance) { return proto.GetGitVersionRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetGitVersionRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetGitVersionRequest.toObject = function(includeInstance, msg) { var f, obj = { }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetGitVersionRequest} */ proto.GetGitVersionRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetGitVersionRequest; return proto.GetGitVersionRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetGitVersionRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetGitVersionRequest} */ proto.GetGitVersionRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetGitVersionRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetGitVersionRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetGitVersionRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetGitVersionRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.GetHomelandBuildFurnitureInfoReply.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetHomelandBuildFurnitureInfoReply.prototype.toObject = function(opt_includeInstance) { return proto.GetHomelandBuildFurnitureInfoReply.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetHomelandBuildFurnitureInfoReply} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetHomelandBuildFurnitureInfoReply.toObject = function(includeInstance, msg) { var f, obj = { furnitureinfoList: jspb.Message.toObjectList(msg.getFurnitureinfoList(), proto.CommunityBuildFurnitureInfo.toObject, includeInstance), errcode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetHomelandBuildFurnitureInfoReply} */ proto.GetHomelandBuildFurnitureInfoReply.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetHomelandBuildFurnitureInfoReply; return proto.GetHomelandBuildFurnitureInfoReply.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetHomelandBuildFurnitureInfoReply} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetHomelandBuildFurnitureInfoReply} */ proto.GetHomelandBuildFurnitureInfoReply.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.CommunityBuildFurnitureInfo; reader.readMessage(value,proto.CommunityBuildFurnitureInfo.deserializeBinaryFromReader); msg.addFurnitureinfo(value); break; case 2: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetHomelandBuildFurnitureInfoReply.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetHomelandBuildFurnitureInfoReply.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetHomelandBuildFurnitureInfoReply} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetHomelandBuildFurnitureInfoReply.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getFurnitureinfoList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.CommunityBuildFurnitureInfo.serializeBinaryToWriter ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } }; /** * repeated CommunityBuildFurnitureInfo FurnitureInfo = 1; * @return {!Array} */ proto.GetHomelandBuildFurnitureInfoReply.prototype.getFurnitureinfoList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.CommunityBuildFurnitureInfo, 1)); }; /** * @param {!Array} value * @return {!proto.GetHomelandBuildFurnitureInfoReply} returns this */ proto.GetHomelandBuildFurnitureInfoReply.prototype.setFurnitureinfoList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.CommunityBuildFurnitureInfo=} opt_value * @param {number=} opt_index * @return {!proto.CommunityBuildFurnitureInfo} */ proto.GetHomelandBuildFurnitureInfoReply.prototype.addFurnitureinfo = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.CommunityBuildFurnitureInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.GetHomelandBuildFurnitureInfoReply} returns this */ proto.GetHomelandBuildFurnitureInfoReply.prototype.clearFurnitureinfoList = function() { return this.setFurnitureinfoList([]); }; /** * optional EErrorCode ErrCode = 2; * @return {!proto.EErrorCode} */ proto.GetHomelandBuildFurnitureInfoReply.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.GetHomelandBuildFurnitureInfoReply} returns this */ proto.GetHomelandBuildFurnitureInfoReply.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.GetHomelandBuildFurnitureInfoReply} returns this */ proto.GetHomelandBuildFurnitureInfoReply.prototype.clearErrcode = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetHomelandBuildFurnitureInfoReply.prototype.hasErrcode = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetHomelandBuildFurnitureInfoRequest.prototype.toObject = function(opt_includeInstance) { return proto.GetHomelandBuildFurnitureInfoRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetHomelandBuildFurnitureInfoRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetHomelandBuildFurnitureInfoRequest.toObject = function(includeInstance, msg) { var f, obj = { buildtype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetHomelandBuildFurnitureInfoRequest} */ proto.GetHomelandBuildFurnitureInfoRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetHomelandBuildFurnitureInfoRequest; return proto.GetHomelandBuildFurnitureInfoRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetHomelandBuildFurnitureInfoRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetHomelandBuildFurnitureInfoRequest} */ proto.GetHomelandBuildFurnitureInfoRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setBuildtype(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetHomelandBuildFurnitureInfoRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetHomelandBuildFurnitureInfoRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetHomelandBuildFurnitureInfoRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetHomelandBuildFurnitureInfoRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 BuildType = 1; * @return {number} */ proto.GetHomelandBuildFurnitureInfoRequest.prototype.getBuildtype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.GetHomelandBuildFurnitureInfoRequest} returns this */ proto.GetHomelandBuildFurnitureInfoRequest.prototype.setBuildtype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GetHomelandBuildFurnitureInfoRequest} returns this */ proto.GetHomelandBuildFurnitureInfoRequest.prototype.clearBuildtype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetHomelandBuildFurnitureInfoRequest.prototype.hasBuildtype = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetPathReply.prototype.toObject = function(opt_includeInstance) { return proto.GetPathReply.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetPathReply} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetPathReply.toObject = function(includeInstance, msg) { var f, obj = { errcode: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, replybytes: msg.getReplybytes_asB64() }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetPathReply} */ proto.GetPathReply.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetPathReply; return proto.GetPathReply.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetPathReply} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetPathReply} */ proto.GetPathReply.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; case 2: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setReplybytes(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetPathReply.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetPathReply.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetPathReply} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetPathReply.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBytes( 2, f ); } }; /** * optional EErrorCode ErrCode = 1; * @return {!proto.EErrorCode} */ proto.GetPathReply.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.GetPathReply} returns this */ proto.GetPathReply.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GetPathReply} returns this */ proto.GetPathReply.prototype.clearErrcode = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetPathReply.prototype.hasErrcode = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bytes ReplyBytes = 2; * @return {!(string|Uint8Array)} */ proto.GetPathReply.prototype.getReplybytes = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * optional bytes ReplyBytes = 2; * This is a type-conversion wrapper around `getReplybytes()` * @return {string} */ proto.GetPathReply.prototype.getReplybytes_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getReplybytes())); }; /** * optional bytes ReplyBytes = 2; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getReplybytes()` * @return {!Uint8Array} */ proto.GetPathReply.prototype.getReplybytes_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getReplybytes())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.GetPathReply} returns this */ proto.GetPathReply.prototype.setReplybytes = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.GetPathReply} returns this */ proto.GetPathReply.prototype.clearReplybytes = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetPathReply.prototype.hasReplybytes = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetPathRequest.prototype.toObject = function(opt_includeInstance) { return proto.GetPathRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetPathRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetPathRequest.toObject = function(includeInstance, msg) { var f, obj = { requestbytes: msg.getRequestbytes_asB64() }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetPathRequest} */ proto.GetPathRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetPathRequest; return proto.GetPathRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetPathRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetPathRequest} */ proto.GetPathRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setRequestbytes(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetPathRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetPathRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetPathRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetPathRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBytes( 1, f ); } }; /** * optional bytes RequestBytes = 1; * @return {!(string|Uint8Array)} */ proto.GetPathRequest.prototype.getRequestbytes = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * optional bytes RequestBytes = 1; * This is a type-conversion wrapper around `getRequestbytes()` * @return {string} */ proto.GetPathRequest.prototype.getRequestbytes_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getRequestbytes())); }; /** * optional bytes RequestBytes = 1; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getRequestbytes()` * @return {!Uint8Array} */ proto.GetPathRequest.prototype.getRequestbytes_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getRequestbytes())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.GetPathRequest} returns this */ proto.GetPathRequest.prototype.setRequestbytes = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GetPathRequest} returns this */ proto.GetPathRequest.prototype.clearRequestbytes = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetPathRequest.prototype.hasRequestbytes = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetSocialDataReply.prototype.toObject = function(opt_includeInstance) { return proto.GetSocialDataReply.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetSocialDataReply} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetSocialDataReply.toObject = function(includeInstance, msg) { var f, obj = { mask: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, data: (f = msg.getData()) && proto.SocialData.toObject(includeInstance, f), errcode: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetSocialDataReply} */ proto.GetSocialDataReply.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetSocialDataReply; return proto.GetSocialDataReply.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetSocialDataReply} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetSocialDataReply} */ proto.GetSocialDataReply.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setMask(value); break; case 2: var value = new proto.SocialData; reader.readMessage(value,proto.SocialData.deserializeBinaryFromReader); msg.setData(value); break; case 3: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetSocialDataReply.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetSocialDataReply.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetSocialDataReply} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetSocialDataReply.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getData(); if (f != null) { writer.writeMessage( 2, f, proto.SocialData.serializeBinaryToWriter ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, f ); } }; /** * optional int64 Mask = 1; * @return {number} */ proto.GetSocialDataReply.prototype.getMask = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.GetSocialDataReply} returns this */ proto.GetSocialDataReply.prototype.setMask = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GetSocialDataReply} returns this */ proto.GetSocialDataReply.prototype.clearMask = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetSocialDataReply.prototype.hasMask = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional SocialData Data = 2; * @return {?proto.SocialData} */ proto.GetSocialDataReply.prototype.getData = function() { return /** @type{?proto.SocialData} */ ( jspb.Message.getWrapperField(this, proto.SocialData, 2)); }; /** * @param {?proto.SocialData|undefined} value * @return {!proto.GetSocialDataReply} returns this */ proto.GetSocialDataReply.prototype.setData = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.GetSocialDataReply} returns this */ proto.GetSocialDataReply.prototype.clearData = function() { return this.setData(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetSocialDataReply.prototype.hasData = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional EErrorCode ErrCode = 3; * @return {!proto.EErrorCode} */ proto.GetSocialDataReply.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.GetSocialDataReply} returns this */ proto.GetSocialDataReply.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.GetSocialDataReply} returns this */ proto.GetSocialDataReply.prototype.clearErrcode = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetSocialDataReply.prototype.hasErrcode = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetSocialDataRequest.prototype.toObject = function(opt_includeInstance) { return proto.GetSocialDataRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetSocialDataRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetSocialDataRequest.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, mask: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetSocialDataRequest} */ proto.GetSocialDataRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetSocialDataRequest; return proto.GetSocialDataRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetSocialDataRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetSocialDataRequest} */ proto.GetSocialDataRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setMask(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetSocialDataRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetSocialDataRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetSocialDataRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetSocialDataRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.GetSocialDataRequest.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.GetSocialDataRequest} returns this */ proto.GetSocialDataRequest.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GetSocialDataRequest} returns this */ proto.GetSocialDataRequest.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetSocialDataRequest.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Mask = 2; * @return {number} */ proto.GetSocialDataRequest.prototype.getMask = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.GetSocialDataRequest} returns this */ proto.GetSocialDataRequest.prototype.setMask = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.GetSocialDataRequest} returns this */ proto.GetSocialDataRequest.prototype.clearMask = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetSocialDataRequest.prototype.hasMask = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GmCmd.prototype.toObject = function(opt_includeInstance) { return proto.GmCmd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GmCmd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GmCmd.toObject = function(includeInstance, msg) { var f, obj = { command: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetcharid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, parsingtype: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, parameter: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GmCmd} */ proto.GmCmd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GmCmd; return proto.GmCmd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GmCmd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GmCmd} */ proto.GmCmd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setCommand(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetcharid(value); break; case 3: var value = /** @type {!proto.EGmParsingType} */ (reader.readEnum()); msg.setParsingtype(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setParameter(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GmCmd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GmCmd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GmCmd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GmCmd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {!proto.EGmParsingType} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } }; /** * optional string Command = 1; * @return {string} */ proto.GmCmd.prototype.getCommand = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.GmCmd} returns this */ proto.GmCmd.prototype.setCommand = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GmCmd} returns this */ proto.GmCmd.prototype.clearCommand = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GmCmd.prototype.hasCommand = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 TargetCharId = 2; * @return {number} */ proto.GmCmd.prototype.getTargetcharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.GmCmd} returns this */ proto.GmCmd.prototype.setTargetcharid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.GmCmd} returns this */ proto.GmCmd.prototype.clearTargetcharid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GmCmd.prototype.hasTargetcharid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional EGmParsingType ParsingType = 3; * @return {!proto.EGmParsingType} */ proto.GmCmd.prototype.getParsingtype = function() { return /** @type {!proto.EGmParsingType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {!proto.EGmParsingType} value * @return {!proto.GmCmd} returns this */ proto.GmCmd.prototype.setParsingtype = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.GmCmd} returns this */ proto.GmCmd.prototype.clearParsingtype = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GmCmd.prototype.hasParsingtype = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string Parameter = 4; * @return {string} */ proto.GmCmd.prototype.getParameter = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.GmCmd} returns this */ proto.GmCmd.prototype.setParameter = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.GmCmd} returns this */ proto.GmCmd.prototype.clearParameter = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GmCmd.prototype.hasParameter = function() { return jspb.Message.getField(this, 4) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.GmResult.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GmResult.prototype.toObject = function(opt_includeInstance) { return proto.GmResult.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GmResult} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GmResult.toObject = function(includeInstance, msg) { var f, obj = { success: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, failreason: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, retparamsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, errcode: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GmResult} */ proto.GmResult.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GmResult; return proto.GmResult.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GmResult} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GmResult} */ proto.GmResult.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setSuccess(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setFailreason(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.addRetparams(value); break; case 4: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GmResult.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GmResult.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GmResult} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GmResult.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = message.getRetparamsList(); if (f.length > 0) { writer.writeRepeatedString( 3, f ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeEnum( 4, f ); } }; /** * optional bool Success = 1; * @return {boolean} */ proto.GmResult.prototype.getSuccess = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.GmResult} returns this */ proto.GmResult.prototype.setSuccess = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GmResult} returns this */ proto.GmResult.prototype.clearSuccess = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GmResult.prototype.hasSuccess = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string FailReason = 2; * @return {string} */ proto.GmResult.prototype.getFailreason = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.GmResult} returns this */ proto.GmResult.prototype.setFailreason = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.GmResult} returns this */ proto.GmResult.prototype.clearFailreason = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GmResult.prototype.hasFailreason = function() { return jspb.Message.getField(this, 2) != null; }; /** * repeated string RetParams = 3; * @return {!Array} */ proto.GmResult.prototype.getRetparamsList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.GmResult} returns this */ proto.GmResult.prototype.setRetparamsList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.GmResult} returns this */ proto.GmResult.prototype.addRetparams = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.GmResult} returns this */ proto.GmResult.prototype.clearRetparamsList = function() { return this.setRetparamsList([]); }; /** * optional EErrorCode ErrCode = 4; * @return {!proto.EErrorCode} */ proto.GmResult.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.GmResult} returns this */ proto.GmResult.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.GmResult} returns this */ proto.GmResult.prototype.clearErrcode = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GmResult.prototype.hasErrcode = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.httpCachePhotoInfo.prototype.toObject = function(opt_includeInstance) { return proto.httpCachePhotoInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.httpCachePhotoInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.httpCachePhotoInfo.toObject = function(includeInstance, msg) { var f, obj = { httpcachephotoinfodictMap: (f = msg.getHttpcachephotoinfodictMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.httpCachePhotoInfo} */ proto.httpCachePhotoInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.httpCachePhotoInfo; return proto.httpCachePhotoInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.httpCachePhotoInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.httpCachePhotoInfo} */ proto.httpCachePhotoInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getHttpcachephotoinfodictMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.httpCachePhotoInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.httpCachePhotoInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.httpCachePhotoInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.httpCachePhotoInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHttpcachephotoinfodictMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); } }; /** * map HttpCachePhotoInfoDict = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.httpCachePhotoInfo.prototype.getHttpcachephotoinfodictMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.httpCachePhotoInfo} returns this */ proto.httpCachePhotoInfo.prototype.clearHttpcachephotoinfodictMap = function() { this.getHttpcachephotoinfodictMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.InitHomeLandInfo.prototype.toObject = function(opt_includeInstance) { return proto.InitHomeLandInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.InitHomeLandInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InitHomeLandInfo.toObject = function(includeInstance, msg) { var f, obj = { isouter: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, structuresMap: (f = msg.getStructuresMap()) ? f.toObject(includeInstance, proto.Structure.toObject) : [], decorationinfo: (f = msg.getDecorationinfo()) && proto.HomelandDecorationInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.InitHomeLandInfo} */ proto.InitHomeLandInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.InitHomeLandInfo; return proto.InitHomeLandInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.InitHomeLandInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.InitHomeLandInfo} */ proto.InitHomeLandInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsouter(value); break; case 2: var value = msg.getStructuresMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt64, jspb.BinaryReader.prototype.readMessage, proto.Structure.deserializeBinaryFromReader, 0, new proto.Structure()); }); break; case 3: var value = new proto.HomelandDecorationInfo; reader.readMessage(value,proto.HomelandDecorationInfo.deserializeBinaryFromReader); msg.setDecorationinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.InitHomeLandInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.InitHomeLandInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.InitHomeLandInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InitHomeLandInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = message.getStructuresMap(true); if (f && f.getLength() > 0) { f.serializeBinary(2, writer, jspb.BinaryWriter.prototype.writeInt64, jspb.BinaryWriter.prototype.writeMessage, proto.Structure.serializeBinaryToWriter); } f = message.getDecorationinfo(); if (f != null) { writer.writeMessage( 3, f, proto.HomelandDecorationInfo.serializeBinaryToWriter ); } }; /** * optional bool IsOuter = 1; * @return {boolean} */ proto.InitHomeLandInfo.prototype.getIsouter = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.InitHomeLandInfo} returns this */ proto.InitHomeLandInfo.prototype.setIsouter = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.InitHomeLandInfo} returns this */ proto.InitHomeLandInfo.prototype.clearIsouter = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InitHomeLandInfo.prototype.hasIsouter = function() { return jspb.Message.getField(this, 1) != null; }; /** * map Structures = 2; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.InitHomeLandInfo.prototype.getStructuresMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 2, opt_noLazyCreate, proto.Structure)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.InitHomeLandInfo} returns this */ proto.InitHomeLandInfo.prototype.clearStructuresMap = function() { this.getStructuresMap().clear(); return this; }; /** * optional HomelandDecorationInfo DecorationInfo = 3; * @return {?proto.HomelandDecorationInfo} */ proto.InitHomeLandInfo.prototype.getDecorationinfo = function() { return /** @type{?proto.HomelandDecorationInfo} */ ( jspb.Message.getWrapperField(this, proto.HomelandDecorationInfo, 3)); }; /** * @param {?proto.HomelandDecorationInfo|undefined} value * @return {!proto.InitHomeLandInfo} returns this */ proto.InitHomeLandInfo.prototype.setDecorationinfo = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.InitHomeLandInfo} returns this */ proto.InitHomeLandInfo.prototype.clearDecorationinfo = function() { return this.setDecorationinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InitHomeLandInfo.prototype.hasDecorationinfo = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.InteractionTemplateData.prototype.toObject = function(opt_includeInstance) { return proto.InteractionTemplateData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.InteractionTemplateData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InteractionTemplateData.toObject = function(includeInstance, msg) { var f, obj = { type: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, objectid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, templateid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, homelandid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, posid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, subtemplateid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.InteractionTemplateData} */ proto.InteractionTemplateData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.InteractionTemplateData; return proto.InteractionTemplateData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.InteractionTemplateData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.InteractionTemplateData} */ proto.InteractionTemplateData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EInteractionTemplateAction} */ (reader.readEnum()); msg.setType(value); break; case 2: var value = /** @type {number} */ (reader.readUint64()); msg.setObjectid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setTemplateid(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setHomelandid(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setPosid(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setSubtemplateid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.InteractionTemplateData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.InteractionTemplateData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.InteractionTemplateData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InteractionTemplateData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EInteractionTemplateAction} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } }; /** * optional EInteractionTemplateAction Type = 1; * @return {!proto.EInteractionTemplateAction} */ proto.InteractionTemplateData.prototype.getType = function() { return /** @type {!proto.EInteractionTemplateAction} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EInteractionTemplateAction} value * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.setType = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.clearType = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionTemplateData.prototype.hasType = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint64 ObjectId = 2; * @return {number} */ proto.InteractionTemplateData.prototype.getObjectid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.setObjectid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.clearObjectid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionTemplateData.prototype.hasObjectid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 TemplateId = 3; * @return {number} */ proto.InteractionTemplateData.prototype.getTemplateid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.setTemplateid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.clearTemplateid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionTemplateData.prototype.hasTemplateid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 HomelandId = 4; * @return {number} */ proto.InteractionTemplateData.prototype.getHomelandid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.setHomelandid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.clearHomelandid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionTemplateData.prototype.hasHomelandid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 PosId = 5; * @return {number} */ proto.InteractionTemplateData.prototype.getPosid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.setPosid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.clearPosid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionTemplateData.prototype.hasPosid = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 SubTemplateId = 6; * @return {number} */ proto.InteractionTemplateData.prototype.getSubtemplateid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.setSubtemplateid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionTemplateData} returns this */ proto.InteractionTemplateData.prototype.clearSubtemplateid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionTemplateData.prototype.hasSubtemplateid = function() { return jspb.Message.getField(this, 6) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.LinkingInfo.repeatedFields_ = [4]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LinkingInfo.prototype.toObject = function(opt_includeInstance) { return proto.LinkingInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LinkingInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LinkingInfo.toObject = function(includeInstance, msg) { var f, obj = { isdelete: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, effectid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, buffuuid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, targetuuidsList: jspb.Message.toObjectList(msg.getTargetuuidsList(), proto.ActorUuidStru.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LinkingInfo} */ proto.LinkingInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LinkingInfo; return proto.LinkingInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LinkingInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LinkingInfo} */ proto.LinkingInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsdelete(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setEffectid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setBuffuuid(value); break; case 4: var value = new proto.ActorUuidStru; reader.readMessage(value,proto.ActorUuidStru.deserializeBinaryFromReader); msg.addTargetuuids(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LinkingInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LinkingInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LinkingInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LinkingInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = message.getTargetuuidsList(); if (f.length > 0) { writer.writeRepeatedMessage( 4, f, proto.ActorUuidStru.serializeBinaryToWriter ); } }; /** * optional bool IsDelete = 1; * @return {boolean} */ proto.LinkingInfo.prototype.getIsdelete = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.LinkingInfo} returns this */ proto.LinkingInfo.prototype.setIsdelete = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LinkingInfo} returns this */ proto.LinkingInfo.prototype.clearIsdelete = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LinkingInfo.prototype.hasIsdelete = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Effectid = 2; * @return {number} */ proto.LinkingInfo.prototype.getEffectid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LinkingInfo} returns this */ proto.LinkingInfo.prototype.setEffectid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LinkingInfo} returns this */ proto.LinkingInfo.prototype.clearEffectid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LinkingInfo.prototype.hasEffectid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 BuffUuid = 3; * @return {number} */ proto.LinkingInfo.prototype.getBuffuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.LinkingInfo} returns this */ proto.LinkingInfo.prototype.setBuffuuid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.LinkingInfo} returns this */ proto.LinkingInfo.prototype.clearBuffuuid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LinkingInfo.prototype.hasBuffuuid = function() { return jspb.Message.getField(this, 3) != null; }; /** * repeated ActorUuidStru TargetUuids = 4; * @return {!Array} */ proto.LinkingInfo.prototype.getTargetuuidsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ActorUuidStru, 4)); }; /** * @param {!Array} value * @return {!proto.LinkingInfo} returns this */ proto.LinkingInfo.prototype.setTargetuuidsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 4, value); }; /** * @param {!proto.ActorUuidStru=} opt_value * @param {number=} opt_index * @return {!proto.ActorUuidStru} */ proto.LinkingInfo.prototype.addTargetuuids = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.ActorUuidStru, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.LinkingInfo} returns this */ proto.LinkingInfo.prototype.clearTargetuuidsList = function() { return this.setTargetuuidsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ActorUuidStru.prototype.toObject = function(opt_includeInstance) { return proto.ActorUuidStru.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ActorUuidStru} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ActorUuidStru.toObject = function(includeInstance, msg) { var f, obj = { actortype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, issummon: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, instanceid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ActorUuidStru} */ proto.ActorUuidStru.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ActorUuidStru; return proto.ActorUuidStru.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ActorUuidStru} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ActorUuidStru} */ proto.ActorUuidStru.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setActortype(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIssummon(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setInstanceid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ActorUuidStru.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ActorUuidStru.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ActorUuidStru} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ActorUuidStru.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 ActorType = 1; * @return {number} */ proto.ActorUuidStru.prototype.getActortype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ActorUuidStru} returns this */ proto.ActorUuidStru.prototype.setActortype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ActorUuidStru} returns this */ proto.ActorUuidStru.prototype.clearActortype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActorUuidStru.prototype.hasActortype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsSummon = 2; * @return {boolean} */ proto.ActorUuidStru.prototype.getIssummon = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.ActorUuidStru} returns this */ proto.ActorUuidStru.prototype.setIssummon = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ActorUuidStru} returns this */ proto.ActorUuidStru.prototype.clearIssummon = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActorUuidStru.prototype.hasIssummon = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 InstanceId = 3; * @return {number} */ proto.ActorUuidStru.prototype.getInstanceid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ActorUuidStru} returns this */ proto.ActorUuidStru.prototype.setInstanceid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ActorUuidStru} returns this */ proto.ActorUuidStru.prototype.clearInstanceid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ActorUuidStru.prototype.hasInstanceid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LoadMapSuccessParam.prototype.toObject = function(opt_includeInstance) { return proto.LoadMapSuccessParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LoadMapSuccessParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LoadMapSuccessParam.toObject = function(includeInstance, msg) { var f, obj = { sceneguid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, aoisynccount: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, connectguid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LoadMapSuccessParam} */ proto.LoadMapSuccessParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LoadMapSuccessParam; return proto.LoadMapSuccessParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LoadMapSuccessParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LoadMapSuccessParam} */ proto.LoadMapSuccessParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setSceneguid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setAoisynccount(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setConnectguid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LoadMapSuccessParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LoadMapSuccessParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LoadMapSuccessParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LoadMapSuccessParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } }; /** * optional string SceneGuid = 1; * @return {string} */ proto.LoadMapSuccessParam.prototype.getSceneguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.LoadMapSuccessParam} returns this */ proto.LoadMapSuccessParam.prototype.setSceneguid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LoadMapSuccessParam} returns this */ proto.LoadMapSuccessParam.prototype.clearSceneguid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LoadMapSuccessParam.prototype.hasSceneguid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 AoiSyncCount = 2; * @return {number} */ proto.LoadMapSuccessParam.prototype.getAoisynccount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.LoadMapSuccessParam} returns this */ proto.LoadMapSuccessParam.prototype.setAoisynccount = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LoadMapSuccessParam} returns this */ proto.LoadMapSuccessParam.prototype.clearAoisynccount = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LoadMapSuccessParam.prototype.hasAoisynccount = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string ConnectGuid = 3; * @return {string} */ proto.LoadMapSuccessParam.prototype.getConnectguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.LoadMapSuccessParam} returns this */ proto.LoadMapSuccessParam.prototype.setConnectguid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.LoadMapSuccessParam} returns this */ proto.LoadMapSuccessParam.prototype.clearConnectguid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LoadMapSuccessParam.prototype.hasConnectguid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LuaSceneAttrReply.prototype.toObject = function(opt_includeInstance) { return proto.LuaSceneAttrReply.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LuaSceneAttrReply} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LuaSceneAttrReply.toObject = function(includeInstance, msg) { var f, obj = { attr: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, errcode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LuaSceneAttrReply} */ proto.LuaSceneAttrReply.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LuaSceneAttrReply; return proto.LuaSceneAttrReply.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LuaSceneAttrReply} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LuaSceneAttrReply} */ proto.LuaSceneAttrReply.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setAttr(value); break; case 2: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LuaSceneAttrReply.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LuaSceneAttrReply.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LuaSceneAttrReply} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LuaSceneAttrReply.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } }; /** * optional string Attr = 1; * @return {string} */ proto.LuaSceneAttrReply.prototype.getAttr = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.LuaSceneAttrReply} returns this */ proto.LuaSceneAttrReply.prototype.setAttr = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LuaSceneAttrReply} returns this */ proto.LuaSceneAttrReply.prototype.clearAttr = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LuaSceneAttrReply.prototype.hasAttr = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EErrorCode ErrCode = 2; * @return {!proto.EErrorCode} */ proto.LuaSceneAttrReply.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.LuaSceneAttrReply} returns this */ proto.LuaSceneAttrReply.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.LuaSceneAttrReply} returns this */ proto.LuaSceneAttrReply.prototype.clearErrcode = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LuaSceneAttrReply.prototype.hasErrcode = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyAntiDataRequest.prototype.toObject = function(opt_includeInstance) { return proto.NotifyAntiDataRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyAntiDataRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyAntiDataRequest.toObject = function(includeInstance, msg) { var f, obj = { tssinfo: (f = msg.getTssinfo()) && proto.TssAccountInfoProto.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyAntiDataRequest} */ proto.NotifyAntiDataRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyAntiDataRequest; return proto.NotifyAntiDataRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyAntiDataRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyAntiDataRequest} */ proto.NotifyAntiDataRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TssAccountInfoProto; reader.readMessage(value,proto.TssAccountInfoProto.deserializeBinaryFromReader); msg.setTssinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyAntiDataRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyAntiDataRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyAntiDataRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyAntiDataRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTssinfo(); if (f != null) { writer.writeMessage( 1, f, proto.TssAccountInfoProto.serializeBinaryToWriter ); } }; /** * optional TssAccountInfoProto TssInfo = 1; * @return {?proto.TssAccountInfoProto} */ proto.NotifyAntiDataRequest.prototype.getTssinfo = function() { return /** @type{?proto.TssAccountInfoProto} */ ( jspb.Message.getWrapperField(this, proto.TssAccountInfoProto, 1)); }; /** * @param {?proto.TssAccountInfoProto|undefined} value * @return {!proto.NotifyAntiDataRequest} returns this */ proto.NotifyAntiDataRequest.prototype.setTssinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyAntiDataRequest} returns this */ proto.NotifyAntiDataRequest.prototype.clearTssinfo = function() { return this.setTssinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyAntiDataRequest.prototype.hasTssinfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TssAccountInfoProto.prototype.toObject = function(opt_includeInstance) { return proto.TssAccountInfoProto.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TssAccountInfoProto} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TssAccountInfoProto.toObject = function(includeInstance, msg) { var f, obj = { account: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, accounttype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, platid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, gameid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, worldid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, channelid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, roleid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, antidata: msg.getAntidata_asB64(), accountid: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, clientip: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, rolename: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f, index: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TssAccountInfoProto} */ proto.TssAccountInfoProto.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TssAccountInfoProto; return proto.TssAccountInfoProto.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TssAccountInfoProto} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TssAccountInfoProto} */ proto.TssAccountInfoProto.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setAccount(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setAccounttype(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setPlatid(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setGameid(value); break; case 5: var value = /** @type {number} */ (reader.readUint32()); msg.setWorldid(value); break; case 6: var value = /** @type {number} */ (reader.readUint32()); msg.setChannelid(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setRoleid(value); break; case 8: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setAntidata(value); break; case 9: var value = /** @type {string} */ (reader.readString()); msg.setAccountid(value); break; case 10: var value = /** @type {string} */ (reader.readString()); msg.setClientip(value); break; case 11: var value = /** @type {string} */ (reader.readString()); msg.setRolename(value); break; case 12: var value = /** @type {number} */ (reader.readUint32()); msg.setIndex(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TssAccountInfoProto.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TssAccountInfoProto.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TssAccountInfoProto} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TssAccountInfoProto.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeUint32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeUint32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeBytes( 8, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeString( 9, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeString( 10, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeString( 11, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 12)); if (f != null) { writer.writeUint32( 12, f ); } }; /** * optional string Account = 1; * @return {string} */ proto.TssAccountInfoProto.prototype.getAccount = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setAccount = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearAccount = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasAccount = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 AccountType = 2; * @return {number} */ proto.TssAccountInfoProto.prototype.getAccounttype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setAccounttype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearAccounttype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasAccounttype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 PlatId = 3; * @return {number} */ proto.TssAccountInfoProto.prototype.getPlatid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setPlatid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearPlatid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasPlatid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 GameId = 4; * @return {number} */ proto.TssAccountInfoProto.prototype.getGameid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setGameid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearGameid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasGameid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional uint32 WorldId = 5; * @return {number} */ proto.TssAccountInfoProto.prototype.getWorldid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setWorldid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearWorldid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasWorldid = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional uint32 ChannelId = 6; * @return {number} */ proto.TssAccountInfoProto.prototype.getChannelid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setChannelid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearChannelid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasChannelid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int64 RoleId = 7; * @return {number} */ proto.TssAccountInfoProto.prototype.getRoleid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setRoleid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearRoleid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasRoleid = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional bytes AntiData = 8; * @return {!(string|Uint8Array)} */ proto.TssAccountInfoProto.prototype.getAntidata = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * optional bytes AntiData = 8; * This is a type-conversion wrapper around `getAntidata()` * @return {string} */ proto.TssAccountInfoProto.prototype.getAntidata_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getAntidata())); }; /** * optional bytes AntiData = 8; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getAntidata()` * @return {!Uint8Array} */ proto.TssAccountInfoProto.prototype.getAntidata_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getAntidata())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setAntidata = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearAntidata = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasAntidata = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional string AccountId = 9; * @return {string} */ proto.TssAccountInfoProto.prototype.getAccountid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setAccountid = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearAccountid = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasAccountid = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional string ClientIp = 10; * @return {string} */ proto.TssAccountInfoProto.prototype.getClientip = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); }; /** * @param {string} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setClientip = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearClientip = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasClientip = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional string RoleName = 11; * @return {string} */ proto.TssAccountInfoProto.prototype.getRolename = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, "")); }; /** * @param {string} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setRolename = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearRolename = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasRolename = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional uint32 Index = 12; * @return {number} */ proto.TssAccountInfoProto.prototype.getIndex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0)); }; /** * @param {number} value * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.setIndex = function(value) { return jspb.Message.setField(this, 12, value); }; /** * Clears the field making it undefined. * @return {!proto.TssAccountInfoProto} returns this */ proto.TssAccountInfoProto.prototype.clearIndex = function() { return jspb.Message.setField(this, 12, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TssAccountInfoProto.prototype.hasIndex = function() { return jspb.Message.getField(this, 12) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyBuildFurnitureOp.prototype.toObject = function(opt_includeInstance) { return proto.NotifyBuildFurnitureOp.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyBuildFurnitureOp} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyBuildFurnitureOp.toObject = function(includeInstance, msg) { var f, obj = { optype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, furniture: (f = msg.getFurniture()) && proto.CommunityBuildFurnitureInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyBuildFurnitureOp} */ proto.NotifyBuildFurnitureOp.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyBuildFurnitureOp; return proto.NotifyBuildFurnitureOp.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyBuildFurnitureOp} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyBuildFurnitureOp} */ proto.NotifyBuildFurnitureOp.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.BuildFurnitureOpType} */ (reader.readEnum()); msg.setOptype(value); break; case 2: var value = new proto.CommunityBuildFurnitureInfo; reader.readMessage(value,proto.CommunityBuildFurnitureInfo.deserializeBinaryFromReader); msg.setFurniture(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyBuildFurnitureOp.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyBuildFurnitureOp.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyBuildFurnitureOp} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyBuildFurnitureOp.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.BuildFurnitureOpType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = message.getFurniture(); if (f != null) { writer.writeMessage( 2, f, proto.CommunityBuildFurnitureInfo.serializeBinaryToWriter ); } }; /** * optional BuildFurnitureOpType OpType = 1; * @return {!proto.BuildFurnitureOpType} */ proto.NotifyBuildFurnitureOp.prototype.getOptype = function() { return /** @type {!proto.BuildFurnitureOpType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.BuildFurnitureOpType} value * @return {!proto.NotifyBuildFurnitureOp} returns this */ proto.NotifyBuildFurnitureOp.prototype.setOptype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyBuildFurnitureOp} returns this */ proto.NotifyBuildFurnitureOp.prototype.clearOptype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyBuildFurnitureOp.prototype.hasOptype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional CommunityBuildFurnitureInfo Furniture = 2; * @return {?proto.CommunityBuildFurnitureInfo} */ proto.NotifyBuildFurnitureOp.prototype.getFurniture = function() { return /** @type{?proto.CommunityBuildFurnitureInfo} */ ( jspb.Message.getWrapperField(this, proto.CommunityBuildFurnitureInfo, 2)); }; /** * @param {?proto.CommunityBuildFurnitureInfo|undefined} value * @return {!proto.NotifyBuildFurnitureOp} returns this */ proto.NotifyBuildFurnitureOp.prototype.setFurniture = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyBuildFurnitureOp} returns this */ proto.NotifyBuildFurnitureOp.prototype.clearFurniture = function() { return this.setFurniture(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyBuildFurnitureOp.prototype.hasFurniture = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.toObject = function(opt_includeInstance) { return proto.NotifyCommunityHomeLandDecorationInfoRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyCommunityHomeLandDecorationInfoRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandDecorationInfoRequest.toObject = function(includeInstance, msg) { var f, obj = { isouter: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, decorationinfo: (f = msg.getDecorationinfo()) && proto.HomelandDecorationInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyCommunityHomeLandDecorationInfoRequest} */ proto.NotifyCommunityHomeLandDecorationInfoRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyCommunityHomeLandDecorationInfoRequest; return proto.NotifyCommunityHomeLandDecorationInfoRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyCommunityHomeLandDecorationInfoRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyCommunityHomeLandDecorationInfoRequest} */ proto.NotifyCommunityHomeLandDecorationInfoRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsouter(value); break; case 2: var value = new proto.HomelandDecorationInfo; reader.readMessage(value,proto.HomelandDecorationInfo.deserializeBinaryFromReader); msg.setDecorationinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyCommunityHomeLandDecorationInfoRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyCommunityHomeLandDecorationInfoRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandDecorationInfoRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = message.getDecorationinfo(); if (f != null) { writer.writeMessage( 2, f, proto.HomelandDecorationInfo.serializeBinaryToWriter ); } }; /** * optional bool IsOuter = 1; * @return {boolean} */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.getIsouter = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.NotifyCommunityHomeLandDecorationInfoRequest} returns this */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.setIsouter = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyCommunityHomeLandDecorationInfoRequest} returns this */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.clearIsouter = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.hasIsouter = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional HomelandDecorationInfo DecorationInfo = 2; * @return {?proto.HomelandDecorationInfo} */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.getDecorationinfo = function() { return /** @type{?proto.HomelandDecorationInfo} */ ( jspb.Message.getWrapperField(this, proto.HomelandDecorationInfo, 2)); }; /** * @param {?proto.HomelandDecorationInfo|undefined} value * @return {!proto.NotifyCommunityHomeLandDecorationInfoRequest} returns this */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.setDecorationinfo = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyCommunityHomeLandDecorationInfoRequest} returns this */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.clearDecorationinfo = function() { return this.setDecorationinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandDecorationInfoRequest.prototype.hasDecorationinfo = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.toObject = function(opt_includeInstance) { return proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.toObject = function(includeInstance, msg) { var f, obj = { communityid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, homelandid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, oldhousingtype: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, newhousingtype: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyCommunityHomeLandHousingTypeUpdateRequest; return proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCommunityid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setHomelandid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setOldhousingtype(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setNewhousingtype(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } }; /** * optional int64 CommunityId = 1; * @return {number} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.getCommunityid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.setCommunityid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.clearCommunityid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.hasCommunityid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 HomelandId = 2; * @return {number} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.getHomelandid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.setHomelandid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.clearHomelandid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.hasHomelandid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 OldHousingType = 3; * @return {number} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.getOldhousingtype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.setOldhousingtype = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.clearOldhousingtype = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.hasOldhousingtype = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 NewHousingType = 4; * @return {number} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.getNewhousingtype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.setNewhousingtype = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.clearNewhousingtype = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.prototype.hasNewhousingtype = function() { return jspb.Message.getField(this, 4) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.repeatedFields_ = [3]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.toObject = function(opt_includeInstance) { return proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.toObject = function(includeInstance, msg) { var f, obj = { communityid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, homelandid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, unlockouterareasList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest; return proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCommunityid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setHomelandid(value); break; case 3: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addUnlockouterareas(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = message.getUnlockouterareasList(); if (f.length > 0) { writer.writePackedInt32( 3, f ); } }; /** * optional int64 CommunityId = 1; * @return {number} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.getCommunityid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} returns this */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.setCommunityid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} returns this */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.clearCommunityid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.hasCommunityid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 HomelandId = 2; * @return {number} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.getHomelandid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} returns this */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.setHomelandid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} returns this */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.clearHomelandid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.hasHomelandid = function() { return jspb.Message.getField(this, 2) != null; }; /** * repeated int32 UnlockOuterAreas = 3; * @return {!Array} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.getUnlockouterareasList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); }; /** * @param {!Array} value * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} returns this */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.setUnlockouterareasList = function(value) { return jspb.Message.setField(this, 3, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} returns this */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.addUnlockouterareas = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 3, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} returns this */ proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.prototype.clearUnlockouterareasList = function() { return this.setUnlockouterareasList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyEnterWorldRequest.prototype.toObject = function(opt_includeInstance) { return proto.NotifyEnterWorldRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyEnterWorldRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyEnterWorldRequest.toObject = function(includeInstance, msg) { var f, obj = { accountid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, token: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, sceneip: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, sceneport: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, transform: (f = msg.getTransform()) && proto.TransferParam.toObject(includeInstance, f), scenelinedata: (f = msg.getScenelinedata()) && proto.SceneLineData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyEnterWorldRequest} */ proto.NotifyEnterWorldRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyEnterWorldRequest; return proto.NotifyEnterWorldRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyEnterWorldRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyEnterWorldRequest} */ proto.NotifyEnterWorldRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setAccountid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setToken(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setSceneip(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneport(value); break; case 5: var value = new proto.TransferParam; reader.readMessage(value,proto.TransferParam.deserializeBinaryFromReader); msg.setTransform(value); break; case 6: var value = new proto.SceneLineData; reader.readMessage(value,proto.SceneLineData.deserializeBinaryFromReader); msg.setScenelinedata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyEnterWorldRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyEnterWorldRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyEnterWorldRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyEnterWorldRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = message.getTransform(); if (f != null) { writer.writeMessage( 5, f, proto.TransferParam.serializeBinaryToWriter ); } f = message.getScenelinedata(); if (f != null) { writer.writeMessage( 6, f, proto.SceneLineData.serializeBinaryToWriter ); } }; /** * optional string AccountId = 1; * @return {string} */ proto.NotifyEnterWorldRequest.prototype.getAccountid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.setAccountid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.clearAccountid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyEnterWorldRequest.prototype.hasAccountid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string Token = 2; * @return {string} */ proto.NotifyEnterWorldRequest.prototype.getToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.setToken = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.clearToken = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyEnterWorldRequest.prototype.hasToken = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string SceneIp = 3; * @return {string} */ proto.NotifyEnterWorldRequest.prototype.getSceneip = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.setSceneip = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.clearSceneip = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyEnterWorldRequest.prototype.hasSceneip = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 ScenePort = 4; * @return {number} */ proto.NotifyEnterWorldRequest.prototype.getSceneport = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.setSceneport = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.clearSceneport = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyEnterWorldRequest.prototype.hasSceneport = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional TransferParam Transform = 5; * @return {?proto.TransferParam} */ proto.NotifyEnterWorldRequest.prototype.getTransform = function() { return /** @type{?proto.TransferParam} */ ( jspb.Message.getWrapperField(this, proto.TransferParam, 5)); }; /** * @param {?proto.TransferParam|undefined} value * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.setTransform = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.clearTransform = function() { return this.setTransform(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyEnterWorldRequest.prototype.hasTransform = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional SceneLineData SceneLineData = 6; * @return {?proto.SceneLineData} */ proto.NotifyEnterWorldRequest.prototype.getScenelinedata = function() { return /** @type{?proto.SceneLineData} */ ( jspb.Message.getWrapperField(this, proto.SceneLineData, 6)); }; /** * @param {?proto.SceneLineData|undefined} value * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.setScenelinedata = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyEnterWorldRequest} returns this */ proto.NotifyEnterWorldRequest.prototype.clearScenelinedata = function() { return this.setScenelinedata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyEnterWorldRequest.prototype.hasScenelinedata = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TransferParam.prototype.toObject = function(opt_includeInstance) { return proto.TransferParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TransferParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TransferParam.toObject = function(includeInstance, msg) { var f, obj = { sceneid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, transfertype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, positionparam: (f = msg.getPositionparam()) && proto.PositionParam.toObject(includeInstance, f), changeflag: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, isserverswitch: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f, visuallayerconfigid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, sceneguid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, connectguid: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, subsceneuuid: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TransferParam} */ proto.TransferParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TransferParam; return proto.TransferParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TransferParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TransferParam} */ proto.TransferParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneid(value); break; case 2: var value = /** @type {!proto.EUserTransferType} */ (reader.readEnum()); msg.setTransfertype(value); break; case 3: var value = new proto.PositionParam; reader.readMessage(value,proto.PositionParam.deserializeBinaryFromReader); msg.setPositionparam(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setChangeflag(value); break; case 5: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsserverswitch(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setVisuallayerconfigid(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.setSceneguid(value); break; case 8: var value = /** @type {string} */ (reader.readString()); msg.setConnectguid(value); break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setSubsceneuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TransferParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TransferParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TransferParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TransferParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {!proto.EUserTransferType} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = message.getPositionparam(); if (f != null) { writer.writeMessage( 3, f, proto.PositionParam.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeBool( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeString( 7, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeString( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } }; /** * optional int32 SceneId = 1; * @return {number} */ proto.TransferParam.prototype.getSceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.setSceneid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.clearSceneid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TransferParam.prototype.hasSceneid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EUserTransferType TransferType = 2; * @return {!proto.EUserTransferType} */ proto.TransferParam.prototype.getTransfertype = function() { return /** @type {!proto.EUserTransferType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EUserTransferType} value * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.setTransfertype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.clearTransfertype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TransferParam.prototype.hasTransfertype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional PositionParam PositionParam = 3; * @return {?proto.PositionParam} */ proto.TransferParam.prototype.getPositionparam = function() { return /** @type{?proto.PositionParam} */ ( jspb.Message.getWrapperField(this, proto.PositionParam, 3)); }; /** * @param {?proto.PositionParam|undefined} value * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.setPositionparam = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.clearPositionparam = function() { return this.setPositionparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TransferParam.prototype.hasPositionparam = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 ChangeFlag = 4; * @return {number} */ proto.TransferParam.prototype.getChangeflag = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.setChangeflag = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.clearChangeflag = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TransferParam.prototype.hasChangeflag = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional bool IsServerSwitch = 5; * @return {boolean} */ proto.TransferParam.prototype.getIsserverswitch = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); }; /** * @param {boolean} value * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.setIsserverswitch = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.clearIsserverswitch = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TransferParam.prototype.hasIsserverswitch = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 VisualLayerConfigId = 6; * @return {number} */ proto.TransferParam.prototype.getVisuallayerconfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.setVisuallayerconfigid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.clearVisuallayerconfigid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TransferParam.prototype.hasVisuallayerconfigid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional string SceneGuid = 7; * @return {string} */ proto.TransferParam.prototype.getSceneguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.setSceneguid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.clearSceneguid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TransferParam.prototype.hasSceneguid = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional string ConnectGuid = 8; * @return {string} */ proto.TransferParam.prototype.getConnectguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.setConnectguid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.clearConnectguid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TransferParam.prototype.hasConnectguid = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int64 SubSceneUuid = 9; * @return {number} */ proto.TransferParam.prototype.getSubsceneuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.setSubsceneuuid = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.TransferParam} returns this */ proto.TransferParam.prototype.clearSubsceneuuid = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TransferParam.prototype.hasSubsceneuuid = function() { return jspb.Message.getField(this, 9) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PositionParam.prototype.toObject = function(opt_includeInstance) { return proto.PositionParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PositionParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PositionParam.toObject = function(includeInstance, msg) { var f, obj = { scenepointinfo: (f = msg.getScenepointinfo()) && proto.ScenePointInfo.toObject(includeInstance, f), sceneposinfo: (f = msg.getSceneposinfo()) && proto.ScenePosIdInfo.toObject(includeInstance, f), cutscenepointinfo: (f = msg.getCutscenepointinfo()) && proto.CutScenePointInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PositionParam} */ proto.PositionParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PositionParam; return proto.PositionParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PositionParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PositionParam} */ proto.PositionParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ScenePointInfo; reader.readMessage(value,proto.ScenePointInfo.deserializeBinaryFromReader); msg.setScenepointinfo(value); break; case 2: var value = new proto.ScenePosIdInfo; reader.readMessage(value,proto.ScenePosIdInfo.deserializeBinaryFromReader); msg.setSceneposinfo(value); break; case 3: var value = new proto.CutScenePointInfo; reader.readMessage(value,proto.CutScenePointInfo.deserializeBinaryFromReader); msg.setCutscenepointinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PositionParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PositionParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PositionParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PositionParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getScenepointinfo(); if (f != null) { writer.writeMessage( 1, f, proto.ScenePointInfo.serializeBinaryToWriter ); } f = message.getSceneposinfo(); if (f != null) { writer.writeMessage( 2, f, proto.ScenePosIdInfo.serializeBinaryToWriter ); } f = message.getCutscenepointinfo(); if (f != null) { writer.writeMessage( 3, f, proto.CutScenePointInfo.serializeBinaryToWriter ); } }; /** * optional ScenePointInfo ScenePointInfo = 1; * @return {?proto.ScenePointInfo} */ proto.PositionParam.prototype.getScenepointinfo = function() { return /** @type{?proto.ScenePointInfo} */ ( jspb.Message.getWrapperField(this, proto.ScenePointInfo, 1)); }; /** * @param {?proto.ScenePointInfo|undefined} value * @return {!proto.PositionParam} returns this */ proto.PositionParam.prototype.setScenepointinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.PositionParam} returns this */ proto.PositionParam.prototype.clearScenepointinfo = function() { return this.setScenepointinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PositionParam.prototype.hasScenepointinfo = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional ScenePosIdInfo ScenePosInfo = 2; * @return {?proto.ScenePosIdInfo} */ proto.PositionParam.prototype.getSceneposinfo = function() { return /** @type{?proto.ScenePosIdInfo} */ ( jspb.Message.getWrapperField(this, proto.ScenePosIdInfo, 2)); }; /** * @param {?proto.ScenePosIdInfo|undefined} value * @return {!proto.PositionParam} returns this */ proto.PositionParam.prototype.setSceneposinfo = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.PositionParam} returns this */ proto.PositionParam.prototype.clearSceneposinfo = function() { return this.setSceneposinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PositionParam.prototype.hasSceneposinfo = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional CutScenePointInfo CutScenePointInfo = 3; * @return {?proto.CutScenePointInfo} */ proto.PositionParam.prototype.getCutscenepointinfo = function() { return /** @type{?proto.CutScenePointInfo} */ ( jspb.Message.getWrapperField(this, proto.CutScenePointInfo, 3)); }; /** * @param {?proto.CutScenePointInfo|undefined} value * @return {!proto.PositionParam} returns this */ proto.PositionParam.prototype.setCutscenepointinfo = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.PositionParam} returns this */ proto.PositionParam.prototype.clearCutscenepointinfo = function() { return this.setCutscenepointinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PositionParam.prototype.hasCutscenepointinfo = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ScenePointInfo.prototype.toObject = function(opt_includeInstance) { return proto.ScenePointInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ScenePointInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ScenePointInfo.toObject = function(includeInstance, msg) { var f, obj = { position: (f = msg.getPosition()) && proto.Position.toObject(includeInstance, f), cameraid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, sceneareaid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ScenePointInfo} */ proto.ScenePointInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ScenePointInfo; return proto.ScenePointInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ScenePointInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ScenePointInfo} */ proto.ScenePointInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setPosition(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCameraid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneareaid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ScenePointInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ScenePointInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ScenePointInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ScenePointInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPosition(); if (f != null) { writer.writeMessage( 1, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional Position Position = 1; * @return {?proto.Position} */ proto.ScenePointInfo.prototype.getPosition = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 1)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.ScenePointInfo} returns this */ proto.ScenePointInfo.prototype.setPosition = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.ScenePointInfo} returns this */ proto.ScenePointInfo.prototype.clearPosition = function() { return this.setPosition(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ScenePointInfo.prototype.hasPosition = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 CameraId = 2; * @return {number} */ proto.ScenePointInfo.prototype.getCameraid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ScenePointInfo} returns this */ proto.ScenePointInfo.prototype.setCameraid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ScenePointInfo} returns this */ proto.ScenePointInfo.prototype.clearCameraid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ScenePointInfo.prototype.hasCameraid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 SceneAreaId = 3; * @return {number} */ proto.ScenePointInfo.prototype.getSceneareaid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ScenePointInfo} returns this */ proto.ScenePointInfo.prototype.setSceneareaid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ScenePointInfo} returns this */ proto.ScenePointInfo.prototype.clearSceneareaid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ScenePointInfo.prototype.hasSceneareaid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ScenePosIdInfo.prototype.toObject = function(opt_includeInstance) { return proto.ScenePosIdInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ScenePosIdInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ScenePosIdInfo.toObject = function(includeInstance, msg) { var f, obj = { sceneposid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ScenePosIdInfo} */ proto.ScenePosIdInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ScenePosIdInfo; return proto.ScenePosIdInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ScenePosIdInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ScenePosIdInfo} */ proto.ScenePosIdInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneposid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ScenePosIdInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ScenePosIdInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ScenePosIdInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ScenePosIdInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 ScenePosId = 1; * @return {number} */ proto.ScenePosIdInfo.prototype.getSceneposid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ScenePosIdInfo} returns this */ proto.ScenePosIdInfo.prototype.setSceneposid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ScenePosIdInfo} returns this */ proto.ScenePosIdInfo.prototype.clearSceneposid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ScenePosIdInfo.prototype.hasSceneposid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CutScenePointInfo.prototype.toObject = function(opt_includeInstance) { return proto.CutScenePointInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CutScenePointInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutScenePointInfo.toObject = function(includeInstance, msg) { var f, obj = { cutsceneid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CutScenePointInfo} */ proto.CutScenePointInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CutScenePointInfo; return proto.CutScenePointInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CutScenePointInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CutScenePointInfo} */ proto.CutScenePointInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setCutsceneid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CutScenePointInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CutScenePointInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CutScenePointInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutScenePointInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 CutSceneId = 1; * @return {number} */ proto.CutScenePointInfo.prototype.getCutsceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CutScenePointInfo} returns this */ proto.CutScenePointInfo.prototype.setCutsceneid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CutScenePointInfo} returns this */ proto.CutScenePointInfo.prototype.clearCutsceneid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CutScenePointInfo.prototype.hasCutsceneid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SceneLineData.prototype.toObject = function(opt_includeInstance) { return proto.SceneLineData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SceneLineData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneLineData.toObject = function(includeInstance, msg) { var f, obj = { lineid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, status: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, sceneguid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SceneLineData} */ proto.SceneLineData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SceneLineData; return proto.SceneLineData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SceneLineData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SceneLineData} */ proto.SceneLineData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setLineid(value); break; case 2: var value = /** @type {!proto.ESceneLineStatus} */ (reader.readEnum()); msg.setStatus(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setSceneguid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SceneLineData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SceneLineData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SceneLineData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneLineData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {!proto.ESceneLineStatus} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } }; /** * optional uint32 LineId = 1; * @return {number} */ proto.SceneLineData.prototype.getLineid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SceneLineData} returns this */ proto.SceneLineData.prototype.setLineid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneLineData} returns this */ proto.SceneLineData.prototype.clearLineid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneLineData.prototype.hasLineid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional ESceneLineStatus Status = 2; * @return {!proto.ESceneLineStatus} */ proto.SceneLineData.prototype.getStatus = function() { return /** @type {!proto.ESceneLineStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.ESceneLineStatus} value * @return {!proto.SceneLineData} returns this */ proto.SceneLineData.prototype.setStatus = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneLineData} returns this */ proto.SceneLineData.prototype.clearStatus = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneLineData.prototype.hasStatus = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string SceneGuid = 3; * @return {string} */ proto.SceneLineData.prototype.getSceneguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.SceneLineData} returns this */ proto.SceneLineData.prototype.setSceneguid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneLineData} returns this */ proto.SceneLineData.prototype.clearSceneguid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneLineData.prototype.hasSceneguid = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.NotifyFunctionParams.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyFunctionParams.prototype.toObject = function(opt_includeInstance) { return proto.NotifyFunctionParams.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyFunctionParams} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyFunctionParams.toObject = function(includeInstance, msg) { var f, obj = { closefunctionList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyFunctionParams} */ proto.NotifyFunctionParams.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyFunctionParams; return proto.NotifyFunctionParams.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyFunctionParams} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyFunctionParams} */ proto.NotifyFunctionParams.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addClosefunction(values[i]); } break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyFunctionParams.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyFunctionParams.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyFunctionParams} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyFunctionParams.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getClosefunctionList(); if (f.length > 0) { writer.writePackedInt32( 1, f ); } }; /** * repeated int32 CloseFunction = 1; * @return {!Array} */ proto.NotifyFunctionParams.prototype.getClosefunctionList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.NotifyFunctionParams} returns this */ proto.NotifyFunctionParams.prototype.setClosefunctionList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.NotifyFunctionParams} returns this */ proto.NotifyFunctionParams.prototype.addClosefunction = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.NotifyFunctionParams} returns this */ proto.NotifyFunctionParams.prototype.clearClosefunctionList = function() { return this.setClosefunctionList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.NotifyHomelandBuildFurnitureOpRequest.repeatedFields_ = [5]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.toObject = function(opt_includeInstance) { return proto.NotifyHomelandBuildFurnitureOpRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyHomelandBuildFurnitureOpRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyHomelandBuildFurnitureOpRequest.toObject = function(includeInstance, msg) { var f, obj = { communityid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, homelandid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, isouter: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, sceneguid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, buildfurnitureinfosList: jspb.Message.toObjectList(msg.getBuildfurnitureinfosList(), proto.NotifyBuildFurnitureOp.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} */ proto.NotifyHomelandBuildFurnitureOpRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyHomelandBuildFurnitureOpRequest; return proto.NotifyHomelandBuildFurnitureOpRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyHomelandBuildFurnitureOpRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} */ proto.NotifyHomelandBuildFurnitureOpRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCommunityid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setHomelandid(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsouter(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setSceneguid(value); break; case 5: var value = new proto.NotifyBuildFurnitureOp; reader.readMessage(value,proto.NotifyBuildFurnitureOp.deserializeBinaryFromReader); msg.addBuildfurnitureinfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyHomelandBuildFurnitureOpRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyHomelandBuildFurnitureOpRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyHomelandBuildFurnitureOpRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = message.getBuildfurnitureinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 5, f, proto.NotifyBuildFurnitureOp.serializeBinaryToWriter ); } }; /** * optional int64 CommunityId = 1; * @return {number} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.getCommunityid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.setCommunityid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.clearCommunityid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.hasCommunityid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 HomelandId = 2; * @return {number} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.getHomelandid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.setHomelandid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.clearHomelandid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.hasHomelandid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsOuter = 3; * @return {boolean} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.getIsouter = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.setIsouter = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.clearIsouter = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.hasIsouter = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string SceneGuid = 4; * @return {string} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.getSceneguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.setSceneguid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.clearSceneguid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.hasSceneguid = function() { return jspb.Message.getField(this, 4) != null; }; /** * repeated NotifyBuildFurnitureOp BuildFurnitureInfos = 5; * @return {!Array} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.getBuildfurnitureinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.NotifyBuildFurnitureOp, 5)); }; /** * @param {!Array} value * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.setBuildfurnitureinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 5, value); }; /** * @param {!proto.NotifyBuildFurnitureOp=} opt_value * @param {number=} opt_index * @return {!proto.NotifyBuildFurnitureOp} */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.addBuildfurnitureinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.NotifyBuildFurnitureOp, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.NotifyHomelandBuildFurnitureOpRequest} returns this */ proto.NotifyHomelandBuildFurnitureOpRequest.prototype.clearBuildfurnitureinfosList = function() { return this.setBuildfurnitureinfosList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyKickOutOffRequest.prototype.toObject = function(opt_includeInstance) { return proto.NotifyKickOutOffRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyKickOutOffRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyKickOutOffRequest.toObject = function(includeInstance, msg) { var f, obj = { errcode: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyKickOutOffRequest} */ proto.NotifyKickOutOffRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyKickOutOffRequest; return proto.NotifyKickOutOffRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyKickOutOffRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyKickOutOffRequest} */ proto.NotifyKickOutOffRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyKickOutOffRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyKickOutOffRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyKickOutOffRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyKickOutOffRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } }; /** * optional EErrorCode ErrCode = 1; * @return {!proto.EErrorCode} */ proto.NotifyKickOutOffRequest.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.NotifyKickOutOffRequest} returns this */ proto.NotifyKickOutOffRequest.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyKickOutOffRequest} returns this */ proto.NotifyKickOutOffRequest.prototype.clearErrcode = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyKickOutOffRequest.prototype.hasErrcode = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyLoadSceneEndResponse.prototype.toObject = function(opt_includeInstance) { return proto.NotifyLoadSceneEndResponse.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyLoadSceneEndResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyLoadSceneEndResponse.toObject = function(includeInstance, msg) { var f, obj = { sceneid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, sceneguid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyLoadSceneEndResponse} */ proto.NotifyLoadSceneEndResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyLoadSceneEndResponse; return proto.NotifyLoadSceneEndResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyLoadSceneEndResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyLoadSceneEndResponse} */ proto.NotifyLoadSceneEndResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setSceneguid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyLoadSceneEndResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyLoadSceneEndResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyLoadSceneEndResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyLoadSceneEndResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } }; /** * optional int32 SceneId = 1; * @return {number} */ proto.NotifyLoadSceneEndResponse.prototype.getSceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.NotifyLoadSceneEndResponse} returns this */ proto.NotifyLoadSceneEndResponse.prototype.setSceneid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyLoadSceneEndResponse} returns this */ proto.NotifyLoadSceneEndResponse.prototype.clearSceneid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyLoadSceneEndResponse.prototype.hasSceneid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string SceneGuid = 2; * @return {string} */ proto.NotifyLoadSceneEndResponse.prototype.getSceneguid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.NotifyLoadSceneEndResponse} returns this */ proto.NotifyLoadSceneEndResponse.prototype.setSceneguid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyLoadSceneEndResponse} returns this */ proto.NotifyLoadSceneEndResponse.prototype.clearSceneguid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyLoadSceneEndResponse.prototype.hasSceneguid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyPlayerBeginInteractionParam.prototype.toObject = function(opt_includeInstance) { return proto.NotifyPlayerBeginInteractionParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyPlayerBeginInteractionParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyPlayerBeginInteractionParam.toObject = function(includeInstance, msg) { var f, obj = { objectid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, templateid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyPlayerBeginInteractionParam} */ proto.NotifyPlayerBeginInteractionParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyPlayerBeginInteractionParam; return proto.NotifyPlayerBeginInteractionParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyPlayerBeginInteractionParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyPlayerBeginInteractionParam} */ proto.NotifyPlayerBeginInteractionParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); msg.setObjectid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTemplateid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyPlayerBeginInteractionParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyPlayerBeginInteractionParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyPlayerBeginInteractionParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyPlayerBeginInteractionParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional uint64 ObjectId = 1; * @return {number} */ proto.NotifyPlayerBeginInteractionParam.prototype.getObjectid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.NotifyPlayerBeginInteractionParam} returns this */ proto.NotifyPlayerBeginInteractionParam.prototype.setObjectid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyPlayerBeginInteractionParam} returns this */ proto.NotifyPlayerBeginInteractionParam.prototype.clearObjectid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyPlayerBeginInteractionParam.prototype.hasObjectid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 TemplateId = 2; * @return {number} */ proto.NotifyPlayerBeginInteractionParam.prototype.getTemplateid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.NotifyPlayerBeginInteractionParam} returns this */ proto.NotifyPlayerBeginInteractionParam.prototype.setTemplateid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyPlayerBeginInteractionParam} returns this */ proto.NotifyPlayerBeginInteractionParam.prototype.clearTemplateid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyPlayerBeginInteractionParam.prototype.hasTemplateid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifySwitchSceneRequest.prototype.toObject = function(opt_includeInstance) { return proto.NotifySwitchSceneRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifySwitchSceneRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifySwitchSceneRequest.toObject = function(includeInstance, msg) { var f, obj = { transferparam: (f = msg.getTransferparam()) && proto.TransferParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifySwitchSceneRequest} */ proto.NotifySwitchSceneRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifySwitchSceneRequest; return proto.NotifySwitchSceneRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifySwitchSceneRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifySwitchSceneRequest} */ proto.NotifySwitchSceneRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TransferParam; reader.readMessage(value,proto.TransferParam.deserializeBinaryFromReader); msg.setTransferparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifySwitchSceneRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifySwitchSceneRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifySwitchSceneRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifySwitchSceneRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTransferparam(); if (f != null) { writer.writeMessage( 1, f, proto.TransferParam.serializeBinaryToWriter ); } }; /** * optional TransferParam TransferParam = 1; * @return {?proto.TransferParam} */ proto.NotifySwitchSceneRequest.prototype.getTransferparam = function() { return /** @type{?proto.TransferParam} */ ( jspb.Message.getWrapperField(this, proto.TransferParam, 1)); }; /** * @param {?proto.TransferParam|undefined} value * @return {!proto.NotifySwitchSceneRequest} returns this */ proto.NotifySwitchSceneRequest.prototype.setTransferparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifySwitchSceneRequest} returns this */ proto.NotifySwitchSceneRequest.prototype.clearTransferparam = function() { return this.setTransferparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifySwitchSceneRequest.prototype.hasTransferparam = function() { return jspb.Message.getField(this, 1) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.NotifyTimerListParam.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyTimerListParam.prototype.toObject = function(opt_includeInstance) { return proto.NotifyTimerListParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyTimerListParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyTimerListParam.toObject = function(includeInstance, msg) { var f, obj = { timerinfolistList: jspb.Message.toObjectList(msg.getTimerinfolistList(), proto.TimerInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyTimerListParam} */ proto.NotifyTimerListParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyTimerListParam; return proto.NotifyTimerListParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyTimerListParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyTimerListParam} */ proto.NotifyTimerListParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TimerInfo; reader.readMessage(value,proto.TimerInfo.deserializeBinaryFromReader); msg.addTimerinfolist(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyTimerListParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyTimerListParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyTimerListParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyTimerListParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTimerinfolistList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.TimerInfo.serializeBinaryToWriter ); } }; /** * repeated TimerInfo TimerInfoList = 1; * @return {!Array} */ proto.NotifyTimerListParam.prototype.getTimerinfolistList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.TimerInfo, 1)); }; /** * @param {!Array} value * @return {!proto.NotifyTimerListParam} returns this */ proto.NotifyTimerListParam.prototype.setTimerinfolistList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.TimerInfo=} opt_value * @param {number=} opt_index * @return {!proto.TimerInfo} */ proto.NotifyTimerListParam.prototype.addTimerinfolist = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TimerInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.NotifyTimerListParam} returns this */ proto.NotifyTimerListParam.prototype.clearTimerinfolistList = function() { return this.setTimerinfolistList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.TimerInfo.repeatedFields_ = [10]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TimerInfo.prototype.toObject = function(opt_includeInstance) { return proto.TimerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TimerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TimerInfo.toObject = function(includeInstance, msg) { var f, obj = { cfgid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, timertype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, curtype: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, starttimestamp: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, endtimestamp: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, lasttimestamp: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, lastendtimestamp: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, nexttimestamp: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, nextendtimestamp: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, offsetlistList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, duration: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TimerInfo} */ proto.TimerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TimerInfo; return proto.TimerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TimerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TimerInfo} */ proto.TimerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setCfgid(value); break; case 2: var value = /** @type {!proto.ETimerType} */ (reader.readEnum()); msg.setTimertype(value); break; case 3: var value = /** @type {!proto.ETimerExeType} */ (reader.readEnum()); msg.setCurtype(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setStarttimestamp(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setEndtimestamp(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setLasttimestamp(value); break; case 7: var value = /** @type {number} */ (reader.readInt64()); msg.setLastendtimestamp(value); break; case 8: var value = /** @type {number} */ (reader.readInt64()); msg.setNexttimestamp(value); break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setNextendtimestamp(value); break; case 10: var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]); for (var i = 0; i < values.length; i++) { msg.addOffsetlist(values[i]); } break; case 11: var value = /** @type {number} */ (reader.readInt32()); msg.setDuration(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TimerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TimerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TimerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TimerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {!proto.ETimerType} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = /** @type {!proto.ETimerExeType} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt64( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt64( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = message.getOffsetlistList(); if (f.length > 0) { writer.writePackedInt32( 10, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeInt32( 11, f ); } }; /** * optional int32 CfgId = 1; * @return {number} */ proto.TimerInfo.prototype.getCfgid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setCfgid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearCfgid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasCfgid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional ETimerType TimerType = 2; * @return {!proto.ETimerType} */ proto.TimerInfo.prototype.getTimertype = function() { return /** @type {!proto.ETimerType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.ETimerType} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setTimertype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearTimertype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasTimertype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional ETimerExeType CurType = 3; * @return {!proto.ETimerExeType} */ proto.TimerInfo.prototype.getCurtype = function() { return /** @type {!proto.ETimerExeType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {!proto.ETimerExeType} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setCurtype = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearCurtype = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasCurtype = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 StartTimestamp = 4; * @return {number} */ proto.TimerInfo.prototype.getStarttimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setStarttimestamp = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearStarttimestamp = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasStarttimestamp = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 EndTimestamp = 5; * @return {number} */ proto.TimerInfo.prototype.getEndtimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setEndtimestamp = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearEndtimestamp = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasEndtimestamp = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int64 LastTimeStamp = 6; * @return {number} */ proto.TimerInfo.prototype.getLasttimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setLasttimestamp = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearLasttimestamp = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasLasttimestamp = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int64 LastEndTimeStamp = 7; * @return {number} */ proto.TimerInfo.prototype.getLastendtimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setLastendtimestamp = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearLastendtimestamp = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasLastendtimestamp = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int64 NextTimeStamp = 8; * @return {number} */ proto.TimerInfo.prototype.getNexttimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setNexttimestamp = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearNexttimestamp = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasNexttimestamp = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int64 NextEndTimeStamp = 9; * @return {number} */ proto.TimerInfo.prototype.getNextendtimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setNextendtimestamp = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearNextendtimestamp = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasNextendtimestamp = function() { return jspb.Message.getField(this, 9) != null; }; /** * repeated int32 OffsetList = 10; * @return {!Array} */ proto.TimerInfo.prototype.getOffsetlistList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); }; /** * @param {!Array} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setOffsetlistList = function(value) { return jspb.Message.setField(this, 10, value || []); }; /** * @param {number} value * @param {number=} opt_index * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.addOffsetlist = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 10, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearOffsetlistList = function() { return this.setOffsetlistList([]); }; /** * optional int32 Duration = 11; * @return {number} */ proto.TimerInfo.prototype.getDuration = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0)); }; /** * @param {number} value * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.setDuration = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.TimerInfo} returns this */ proto.TimerInfo.prototype.clearDuration = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TimerInfo.prototype.hasDuration = function() { return jspb.Message.getField(this, 11) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.PathNodeList.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PathNodeList.prototype.toObject = function(opt_includeInstance) { return proto.PathNodeList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PathNodeList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PathNodeList.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, nodesList: jspb.Message.toObjectList(msg.getNodesList(), proto.PathNode.toObject, includeInstance), errcode: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PathNodeList} */ proto.PathNodeList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PathNodeList; return proto.PathNodeList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PathNodeList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PathNodeList} */ proto.PathNodeList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = new proto.PathNode; reader.readMessage(value,proto.PathNode.deserializeBinaryFromReader); msg.addNodes(value); break; case 3: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PathNodeList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PathNodeList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PathNodeList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PathNodeList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getNodesList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.PathNode.serializeBinaryToWriter ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, f ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.PathNodeList.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PathNodeList} returns this */ proto.PathNodeList.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PathNodeList} returns this */ proto.PathNodeList.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathNodeList.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated PathNode Nodes = 2; * @return {!Array} */ proto.PathNodeList.prototype.getNodesList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.PathNode, 2)); }; /** * @param {!Array} value * @return {!proto.PathNodeList} returns this */ proto.PathNodeList.prototype.setNodesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.PathNode=} opt_value * @param {number=} opt_index * @return {!proto.PathNode} */ proto.PathNodeList.prototype.addNodes = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.PathNode, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.PathNodeList} returns this */ proto.PathNodeList.prototype.clearNodesList = function() { return this.setNodesList([]); }; /** * optional EErrorCode ErrCode = 3; * @return {!proto.EErrorCode} */ proto.PathNodeList.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.PathNodeList} returns this */ proto.PathNodeList.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PathNodeList} returns this */ proto.PathNodeList.prototype.clearErrcode = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathNodeList.prototype.hasErrcode = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PathNode.prototype.toObject = function(opt_includeInstance) { return proto.PathNode.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PathNode} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PathNode.toObject = function(includeInstance, msg) { var f, obj = { x: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, y: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, z: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, isbefore: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, isground: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PathNode} */ proto.PathNode.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PathNode; return proto.PathNode.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PathNode} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PathNode} */ proto.PathNode.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readFloat()); msg.setX(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setY(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setZ(value); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsbefore(value); break; case 5: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsground(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PathNode.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PathNode.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PathNode} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PathNode.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeFloat( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeFloat( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeBool( 5, f ); } }; /** * optional float X = 1; * @return {number} */ proto.PathNode.prototype.getX = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); }; /** * @param {number} value * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.setX = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.clearX = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathNode.prototype.hasX = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional float Y = 2; * @return {number} */ proto.PathNode.prototype.getY = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.setY = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.clearY = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathNode.prototype.hasY = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float Z = 3; * @return {number} */ proto.PathNode.prototype.getZ = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.setZ = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.clearZ = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathNode.prototype.hasZ = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional bool IsBefore = 4; * @return {boolean} */ proto.PathNode.prototype.getIsbefore = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.setIsbefore = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.clearIsbefore = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathNode.prototype.hasIsbefore = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional bool IsGround = 5; * @return {boolean} */ proto.PathNode.prototype.getIsground = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); }; /** * @param {boolean} value * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.setIsground = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.PathNode} returns this */ proto.PathNode.prototype.clearIsground = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PathNode.prototype.hasIsground = function() { return jspb.Message.getField(this, 5) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.photoInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.photoInfo.prototype.toObject = function(opt_includeInstance) { return proto.photoInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.photoInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.photoInfo.toObject = function(includeInstance, msg) { var f, obj = { tempphotokeysList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.photoInfo} */ proto.photoInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.photoInfo; return proto.photoInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.photoInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.photoInfo} */ proto.photoInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.addTempphotokeys(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.photoInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.photoInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.photoInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.photoInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTempphotokeysList(); if (f.length > 0) { writer.writeRepeatedString( 1, f ); } }; /** * repeated string TempPhotoKeys = 1; * @return {!Array} */ proto.photoInfo.prototype.getTempphotokeysList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.photoInfo} returns this */ proto.photoInfo.prototype.setTempphotokeysList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.photoInfo} returns this */ proto.photoInfo.prototype.addTempphotokeys = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.photoInfo} returns this */ proto.photoInfo.prototype.clearTempphotokeysList = function() { return this.setTempphotokeysList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderBuff.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderBuff.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderBuff} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderBuff.toObject = function(includeInstance, msg) { var f, obj = { buffid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderBuff} */ proto.PlaceHolderBuff.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderBuff; return proto.PlaceHolderBuff.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderBuff} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderBuff} */ proto.PlaceHolderBuff.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setBuffid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderBuff.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderBuff.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderBuff} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderBuff.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 BuffId = 1; * @return {number} */ proto.PlaceHolderBuff.prototype.getBuffid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderBuff} returns this */ proto.PlaceHolderBuff.prototype.setBuffid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderBuff} returns this */ proto.PlaceHolderBuff.prototype.clearBuffid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderBuff.prototype.hasBuffid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderFishItem.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderFishItem.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderFishItem} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderFishItem.toObject = function(includeInstance, msg) { var f, obj = { fishid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, size: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderFishItem} */ proto.PlaceHolderFishItem.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderFishItem; return proto.PlaceHolderFishItem.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderFishItem} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderFishItem} */ proto.PlaceHolderFishItem.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setFishid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSize(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderFishItem.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderFishItem.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderFishItem} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderFishItem.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 FishId = 1; * @return {number} */ proto.PlaceHolderFishItem.prototype.getFishid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishItem} returns this */ proto.PlaceHolderFishItem.prototype.setFishid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishItem} returns this */ proto.PlaceHolderFishItem.prototype.clearFishid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishItem.prototype.hasFishid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Size = 2; * @return {number} */ proto.PlaceHolderFishItem.prototype.getSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishItem} returns this */ proto.PlaceHolderFishItem.prototype.setSize = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishItem} returns this */ proto.PlaceHolderFishItem.prototype.clearSize = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishItem.prototype.hasSize = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderFishPersonalTotal.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderFishPersonalTotal.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderFishPersonalTotal} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderFishPersonalTotal.toObject = function(includeInstance, msg) { var f, obj = { total: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, mythtotal: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, sumfishtype: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, sumsealifetype: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, sumtrashtype: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, mostfishid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, favourzero: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, username: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, unionname: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, isnewbie: (f = jspb.Message.getBooleanField(msg, 10)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderFishPersonalTotal} */ proto.PlaceHolderFishPersonalTotal.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderFishPersonalTotal; return proto.PlaceHolderFishPersonalTotal.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderFishPersonalTotal} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderFishPersonalTotal} */ proto.PlaceHolderFishPersonalTotal.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTotal(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setMythtotal(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSumfishtype(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setSumsealifetype(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setSumtrashtype(value); break; case 6: var value = /** @type {number} */ (reader.readInt32()); msg.setMostfishid(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setFavourzero(value); break; case 8: var value = /** @type {string} */ (reader.readString()); msg.setUsername(value); break; case 9: var value = /** @type {string} */ (reader.readString()); msg.setUnionname(value); break; case 10: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsnewbie(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderFishPersonalTotal.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderFishPersonalTotal.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderFishPersonalTotal} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderFishPersonalTotal.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt32( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeString( 8, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeString( 9, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeBool( 10, f ); } }; /** * optional int64 Total = 1; * @return {number} */ proto.PlaceHolderFishPersonalTotal.prototype.getTotal = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setTotal = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearTotal = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasTotal = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 MythTotal = 2; * @return {number} */ proto.PlaceHolderFishPersonalTotal.prototype.getMythtotal = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setMythtotal = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearMythtotal = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasMythtotal = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 SumFishType = 3; * @return {number} */ proto.PlaceHolderFishPersonalTotal.prototype.getSumfishtype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setSumfishtype = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearSumfishtype = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasSumfishtype = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 SumSeaLifeType = 4; * @return {number} */ proto.PlaceHolderFishPersonalTotal.prototype.getSumsealifetype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setSumsealifetype = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearSumsealifetype = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasSumsealifetype = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 SumTrashType = 5; * @return {number} */ proto.PlaceHolderFishPersonalTotal.prototype.getSumtrashtype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setSumtrashtype = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearSumtrashtype = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasSumtrashtype = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int32 MostFishId = 6; * @return {number} */ proto.PlaceHolderFishPersonalTotal.prototype.getMostfishid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setMostfishid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearMostfishid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasMostfishid = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 FavourZero = 7; * @return {number} */ proto.PlaceHolderFishPersonalTotal.prototype.getFavourzero = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setFavourzero = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearFavourzero = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasFavourzero = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional string UserName = 8; * @return {string} */ proto.PlaceHolderFishPersonalTotal.prototype.getUsername = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setUsername = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearUsername = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasUsername = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional string UnionName = 9; * @return {string} */ proto.PlaceHolderFishPersonalTotal.prototype.getUnionname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, "")); }; /** * @param {string} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setUnionname = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearUnionname = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasUnionname = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional bool IsNewbie = 10; * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.getIsnewbie = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false)); }; /** * @param {boolean} value * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.setIsnewbie = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishPersonalTotal} returns this */ proto.PlaceHolderFishPersonalTotal.prototype.clearIsnewbie = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishPersonalTotal.prototype.hasIsnewbie = function() { return jspb.Message.getField(this, 10) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderFishRank.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderFishRank.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderFishRank} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderFishRank.toObject = function(includeInstance, msg) { var f, obj = { fishid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, size: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, rank: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderFishRank} */ proto.PlaceHolderFishRank.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderFishRank; return proto.PlaceHolderFishRank.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderFishRank} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderFishRank} */ proto.PlaceHolderFishRank.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setFishid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSize(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setRank(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderFishRank.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderFishRank.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderFishRank} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderFishRank.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 FishId = 1; * @return {number} */ proto.PlaceHolderFishRank.prototype.getFishid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishRank} returns this */ proto.PlaceHolderFishRank.prototype.setFishid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishRank} returns this */ proto.PlaceHolderFishRank.prototype.clearFishid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishRank.prototype.hasFishid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Size = 2; * @return {number} */ proto.PlaceHolderFishRank.prototype.getSize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishRank} returns this */ proto.PlaceHolderFishRank.prototype.setSize = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishRank} returns this */ proto.PlaceHolderFishRank.prototype.clearSize = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishRank.prototype.hasSize = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 Rank = 3; * @return {number} */ proto.PlaceHolderFishRank.prototype.getRank = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderFishRank} returns this */ proto.PlaceHolderFishRank.prototype.setRank = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderFishRank} returns this */ proto.PlaceHolderFishRank.prototype.clearRank = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderFishRank.prototype.hasRank = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderItem.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderItem.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderItem} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderItem.toObject = function(includeInstance, msg) { var f, obj = { configid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, itemdetail: (f = msg.getItemdetail()) && proto.Item.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderItem} */ proto.PlaceHolderItem.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderItem; return proto.PlaceHolderItem.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderItem} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderItem} */ proto.PlaceHolderItem.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setConfigid(value); break; case 2: var value = new proto.Item; reader.readMessage(value,proto.Item.deserializeBinaryFromReader); msg.setItemdetail(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderItem.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderItem.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderItem} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderItem.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = message.getItemdetail(); if (f != null) { writer.writeMessage( 2, f, proto.Item.serializeBinaryToWriter ); } }; /** * optional uint32 ConfigId = 1; * @return {number} */ proto.PlaceHolderItem.prototype.getConfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderItem} returns this */ proto.PlaceHolderItem.prototype.setConfigid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderItem} returns this */ proto.PlaceHolderItem.prototype.clearConfigid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderItem.prototype.hasConfigid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Item ItemDetail = 2; * @return {?proto.Item} */ proto.PlaceHolderItem.prototype.getItemdetail = function() { return /** @type{?proto.Item} */ ( jspb.Message.getWrapperField(this, proto.Item, 2)); }; /** * @param {?proto.Item|undefined} value * @return {!proto.PlaceHolderItem} returns this */ proto.PlaceHolderItem.prototype.setItemdetail = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.PlaceHolderItem} returns this */ proto.PlaceHolderItem.prototype.clearItemdetail = function() { return this.setItemdetail(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderItem.prototype.hasItemdetail = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderMasterMode.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderMasterMode.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderMasterMode} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderMasterMode.toObject = function(includeInstance, msg) { var f, obj = { mastermodeinfoMap: (f = msg.getMastermodeinfoMap()) ? f.toObject(includeInstance, proto.MasterModeDiffDungeonInfo.toObject) : [], username: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, seasonid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderMasterMode} */ proto.PlaceHolderMasterMode.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderMasterMode; return proto.PlaceHolderMasterMode.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderMasterMode} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderMasterMode} */ proto.PlaceHolderMasterMode.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getMastermodeinfoMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.MasterModeDiffDungeonInfo.deserializeBinaryFromReader, 0, new proto.MasterModeDiffDungeonInfo()); }); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setUsername(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSeasonid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderMasterMode.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderMasterMode.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderMasterMode} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderMasterMode.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMastermodeinfoMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.MasterModeDiffDungeonInfo.serializeBinaryToWriter); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * map MasterModeInfo = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.PlaceHolderMasterMode.prototype.getMastermodeinfoMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.MasterModeDiffDungeonInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.PlaceHolderMasterMode} returns this */ proto.PlaceHolderMasterMode.prototype.clearMastermodeinfoMap = function() { this.getMastermodeinfoMap().clear(); return this; }; /** * optional string UserName = 2; * @return {string} */ proto.PlaceHolderMasterMode.prototype.getUsername = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.PlaceHolderMasterMode} returns this */ proto.PlaceHolderMasterMode.prototype.setUsername = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderMasterMode} returns this */ proto.PlaceHolderMasterMode.prototype.clearUsername = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderMasterMode.prototype.hasUsername = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 SeasonId = 3; * @return {number} */ proto.PlaceHolderMasterMode.prototype.getSeasonid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderMasterMode} returns this */ proto.PlaceHolderMasterMode.prototype.setSeasonid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderMasterMode} returns this */ proto.PlaceHolderMasterMode.prototype.clearSeasonid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderMasterMode.prototype.hasSeasonid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderPlayer.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderPlayer.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderPlayer} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderPlayer.toObject = function(includeInstance, msg) { var f, obj = { charid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, name: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderPlayer} */ proto.PlaceHolderPlayer.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderPlayer; return proto.PlaceHolderPlayer.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderPlayer} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderPlayer} */ proto.PlaceHolderPlayer.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setName(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderPlayer.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderPlayer.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderPlayer} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderPlayer.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } }; /** * optional int64 CharId = 1; * @return {number} */ proto.PlaceHolderPlayer.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderPlayer} returns this */ proto.PlaceHolderPlayer.prototype.setCharid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderPlayer} returns this */ proto.PlaceHolderPlayer.prototype.clearCharid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderPlayer.prototype.hasCharid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string Name = 2; * @return {string} */ proto.PlaceHolderPlayer.prototype.getName = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.PlaceHolderPlayer} returns this */ proto.PlaceHolderPlayer.prototype.setName = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderPlayer} returns this */ proto.PlaceHolderPlayer.prototype.clearName = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderPlayer.prototype.hasName = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderStr.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderStr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderStr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderStr.toObject = function(includeInstance, msg) { var f, obj = { text: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderStr} */ proto.PlaceHolderStr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderStr; return proto.PlaceHolderStr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderStr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderStr} */ proto.PlaceHolderStr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setText(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderStr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderStr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderStr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderStr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } }; /** * optional string Text = 1; * @return {string} */ proto.PlaceHolderStr.prototype.getText = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.PlaceHolderStr} returns this */ proto.PlaceHolderStr.prototype.setText = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderStr} returns this */ proto.PlaceHolderStr.prototype.clearText = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderStr.prototype.hasText = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderTimestamp.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderTimestamp.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderTimestamp} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderTimestamp.toObject = function(includeInstance, msg) { var f, obj = { timestamp: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderTimestamp} */ proto.PlaceHolderTimestamp.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderTimestamp; return proto.PlaceHolderTimestamp.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderTimestamp} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderTimestamp} */ proto.PlaceHolderTimestamp.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTimestamp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderTimestamp.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderTimestamp.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderTimestamp} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderTimestamp.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 Timestamp = 1; * @return {number} */ proto.PlaceHolderTimestamp.prototype.getTimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderTimestamp} returns this */ proto.PlaceHolderTimestamp.prototype.setTimestamp = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderTimestamp} returns this */ proto.PlaceHolderTimestamp.prototype.clearTimestamp = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderTimestamp.prototype.hasTimestamp = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderUnion.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderUnion.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderUnion} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderUnion.toObject = function(includeInstance, msg) { var f, obj = { build: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderUnion} */ proto.PlaceHolderUnion.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderUnion; return proto.PlaceHolderUnion.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderUnion} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderUnion} */ proto.PlaceHolderUnion.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setBuild(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderUnion.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderUnion.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderUnion} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderUnion.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } }; /** * optional uint32 Build = 1; * @return {number} */ proto.PlaceHolderUnion.prototype.getBuild = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderUnion} returns this */ proto.PlaceHolderUnion.prototype.setBuild = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderUnion} returns this */ proto.PlaceHolderUnion.prototype.clearBuild = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderUnion.prototype.hasBuild = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlaceHolderVal.prototype.toObject = function(opt_includeInstance) { return proto.PlaceHolderVal.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlaceHolderVal} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderVal.toObject = function(includeInstance, msg) { var f, obj = { value: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlaceHolderVal} */ proto.PlaceHolderVal.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlaceHolderVal; return proto.PlaceHolderVal.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlaceHolderVal} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlaceHolderVal} */ proto.PlaceHolderVal.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setValue(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlaceHolderVal.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlaceHolderVal.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlaceHolderVal} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlaceHolderVal.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } }; /** * optional uint32 Value = 1; * @return {number} */ proto.PlaceHolderVal.prototype.getValue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlaceHolderVal} returns this */ proto.PlaceHolderVal.prototype.setValue = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlaceHolderVal} returns this */ proto.PlaceHolderVal.prototype.clearValue = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlaceHolderVal.prototype.hasValue = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayActionParam.prototype.toObject = function(opt_includeInstance) { return proto.PlayActionParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayActionParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayActionParam.toObject = function(includeInstance, msg) { var f, obj = { actionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, isupper: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, isdancetogether: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, mountid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, mountsize: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayActionParam} */ proto.PlayActionParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayActionParam; return proto.PlayActionParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayActionParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayActionParam} */ proto.PlayActionParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setActionid(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsupper(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsdancetogether(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setMountid(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setMountsize(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayActionParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayActionParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayActionParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayActionParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int32 ActionId = 1; * @return {number} */ proto.PlayActionParam.prototype.getActionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.setActionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.clearActionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayActionParam.prototype.hasActionid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsUpper = 2; * @return {boolean} */ proto.PlayActionParam.prototype.getIsupper = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.setIsupper = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.clearIsupper = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayActionParam.prototype.hasIsupper = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsDanceTogether = 3; * @return {boolean} */ proto.PlayActionParam.prototype.getIsdancetogether = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.setIsdancetogether = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.clearIsdancetogether = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayActionParam.prototype.hasIsdancetogether = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 MountId = 4; * @return {number} */ proto.PlayActionParam.prototype.getMountid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.setMountid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.clearMountid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayActionParam.prototype.hasMountid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 MountSize = 5; * @return {number} */ proto.PlayActionParam.prototype.getMountsize = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.setMountsize = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayActionParam} returns this */ proto.PlayActionParam.prototype.clearMountsize = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayActionParam.prototype.hasMountsize = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RecvAntiDataRequest.prototype.toObject = function(opt_includeInstance) { return proto.RecvAntiDataRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RecvAntiDataRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RecvAntiDataRequest.toObject = function(includeInstance, msg) { var f, obj = { tssinfo: (f = msg.getTssinfo()) && proto.TssAccountInfoProto.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RecvAntiDataRequest} */ proto.RecvAntiDataRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RecvAntiDataRequest; return proto.RecvAntiDataRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RecvAntiDataRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RecvAntiDataRequest} */ proto.RecvAntiDataRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TssAccountInfoProto; reader.readMessage(value,proto.TssAccountInfoProto.deserializeBinaryFromReader); msg.setTssinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RecvAntiDataRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RecvAntiDataRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RecvAntiDataRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RecvAntiDataRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTssinfo(); if (f != null) { writer.writeMessage( 1, f, proto.TssAccountInfoProto.serializeBinaryToWriter ); } }; /** * optional TssAccountInfoProto TssInfo = 1; * @return {?proto.TssAccountInfoProto} */ proto.RecvAntiDataRequest.prototype.getTssinfo = function() { return /** @type{?proto.TssAccountInfoProto} */ ( jspb.Message.getWrapperField(this, proto.TssAccountInfoProto, 1)); }; /** * @param {?proto.TssAccountInfoProto|undefined} value * @return {!proto.RecvAntiDataRequest} returns this */ proto.RecvAntiDataRequest.prototype.setTssinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.RecvAntiDataRequest} returns this */ proto.RecvAntiDataRequest.prototype.clearTssinfo = function() { return this.setTssinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RecvAntiDataRequest.prototype.hasTssinfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RequestConnectWorld.prototype.toObject = function(opt_includeInstance) { return proto.RequestConnectWorld.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RequestConnectWorld} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RequestConnectWorld.toObject = function(includeInstance, msg) { var f, obj = { accountid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, charid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, token: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, ackserversequence: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, sessiontoken: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, isaibot: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f, clientversion: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, clientresourceversion: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, os: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RequestConnectWorld} */ proto.RequestConnectWorld.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RequestConnectWorld; return proto.RequestConnectWorld.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RequestConnectWorld} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RequestConnectWorld} */ proto.RequestConnectWorld.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setAccountid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setCharid(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setToken(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setAckserversequence(value); break; case 5: var value = /** @type {string} */ (reader.readString()); msg.setSessiontoken(value); break; case 6: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsaibot(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.setClientversion(value); break; case 8: var value = /** @type {string} */ (reader.readString()); msg.setClientresourceversion(value); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setOs(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RequestConnectWorld.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RequestConnectWorld.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RequestConnectWorld} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RequestConnectWorld.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeString( 5, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeBool( 6, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeString( 7, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeString( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt32( 9, f ); } }; /** * optional string AccountId = 1; * @return {string} */ proto.RequestConnectWorld.prototype.getAccountid = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.setAccountid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.clearAccountid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RequestConnectWorld.prototype.hasAccountid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 CharId = 2; * @return {number} */ proto.RequestConnectWorld.prototype.getCharid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.setCharid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.clearCharid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RequestConnectWorld.prototype.hasCharid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string Token = 3; * @return {string} */ proto.RequestConnectWorld.prototype.getToken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.setToken = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.clearToken = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RequestConnectWorld.prototype.hasToken = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 AckServerSequence = 4; * @return {number} */ proto.RequestConnectWorld.prototype.getAckserversequence = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.setAckserversequence = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.clearAckserversequence = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RequestConnectWorld.prototype.hasAckserversequence = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional string SessionToken = 5; * @return {string} */ proto.RequestConnectWorld.prototype.getSessiontoken = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.setSessiontoken = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.clearSessiontoken = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RequestConnectWorld.prototype.hasSessiontoken = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional bool IsAiBot = 6; * @return {boolean} */ proto.RequestConnectWorld.prototype.getIsaibot = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.setIsaibot = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.clearIsaibot = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RequestConnectWorld.prototype.hasIsaibot = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional string ClientVersion = 7; * @return {string} */ proto.RequestConnectWorld.prototype.getClientversion = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.setClientversion = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.clearClientversion = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RequestConnectWorld.prototype.hasClientversion = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional string ClientResourceVersion = 8; * @return {string} */ proto.RequestConnectWorld.prototype.getClientresourceversion = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.setClientresourceversion = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.clearClientresourceversion = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RequestConnectWorld.prototype.hasClientresourceversion = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int32 Os = 9; * @return {number} */ proto.RequestConnectWorld.prototype.getOs = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.setOs = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.RequestConnectWorld} returns this */ proto.RequestConnectWorld.prototype.clearOs = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RequestConnectWorld.prototype.hasOs = function() { return jspb.Message.getField(this, 9) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ReviveInfo.prototype.toObject = function(opt_includeInstance) { return proto.ReviveInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ReviveInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ReviveInfo.toObject = function(includeInstance, msg) { var f, obj = { revivecountMap: (f = msg.getRevivecountMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ReviveInfo} */ proto.ReviveInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ReviveInfo; return proto.ReviveInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ReviveInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ReviveInfo} */ proto.ReviveInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getRevivecountMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readInt32, null, 0, 0); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ReviveInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ReviveInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ReviveInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ReviveInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRevivecountMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeInt32); } }; /** * map ReviveCount = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.ReviveInfo.prototype.getRevivecountMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.ReviveInfo} returns this */ proto.ReviveInfo.prototype.clearRevivecountMap = function() { this.getRevivecountMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SceneInteractionInfo.prototype.toObject = function(opt_includeInstance) { return proto.SceneInteractionInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SceneInteractionInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneInteractionInfo.toObject = function(includeInstance, msg) { var f, obj = { objid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, posid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, pos: (f = msg.getPos()) && proto.Vector3.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SceneInteractionInfo} */ proto.SceneInteractionInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SceneInteractionInfo; return proto.SceneInteractionInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SceneInteractionInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SceneInteractionInfo} */ proto.SceneInteractionInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setObjid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setPosid(value); break; case 3: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setPos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SceneInteractionInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SceneInteractionInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SceneInteractionInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SceneInteractionInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getPos(); if (f != null) { writer.writeMessage( 3, f, proto.Vector3.serializeBinaryToWriter ); } }; /** * optional int32 ObjId = 1; * @return {number} */ proto.SceneInteractionInfo.prototype.getObjid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SceneInteractionInfo} returns this */ proto.SceneInteractionInfo.prototype.setObjid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneInteractionInfo} returns this */ proto.SceneInteractionInfo.prototype.clearObjid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneInteractionInfo.prototype.hasObjid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 PosId = 2; * @return {number} */ proto.SceneInteractionInfo.prototype.getPosid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SceneInteractionInfo} returns this */ proto.SceneInteractionInfo.prototype.setPosid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SceneInteractionInfo} returns this */ proto.SceneInteractionInfo.prototype.clearPosid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneInteractionInfo.prototype.hasPosid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional Vector3 Pos = 3; * @return {?proto.Vector3} */ proto.SceneInteractionInfo.prototype.getPos = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 3)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.SceneInteractionInfo} returns this */ proto.SceneInteractionInfo.prototype.setPos = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.SceneInteractionInfo} returns this */ proto.SceneInteractionInfo.prototype.clearPos = function() { return this.setPos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SceneInteractionInfo.prototype.hasPos = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.schemeInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.schemeInfo.prototype.toObject = function(opt_includeInstance) { return proto.schemeInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.schemeInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.schemeInfo.toObject = function(includeInstance, msg) { var f, obj = { schemeinfokeysList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.schemeInfo} */ proto.schemeInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.schemeInfo; return proto.schemeInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.schemeInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.schemeInfo} */ proto.schemeInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.addSchemeinfokeys(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.schemeInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.schemeInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.schemeInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.schemeInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSchemeinfokeysList(); if (f.length > 0) { writer.writeRepeatedString( 1, f ); } }; /** * repeated string SchemeInfoKeys = 1; * @return {!Array} */ proto.schemeInfo.prototype.getSchemeinfokeysList = function() { return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); }; /** * @param {!Array} value * @return {!proto.schemeInfo} returns this */ proto.schemeInfo.prototype.setSchemeinfokeysList = function(value) { return jspb.Message.setField(this, 1, value || []); }; /** * @param {string} value * @param {number=} opt_index * @return {!proto.schemeInfo} returns this */ proto.schemeInfo.prototype.addSchemeinfokeys = function(value, opt_index) { return jspb.Message.addToRepeatedField(this, 1, value, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.schemeInfo} returns this */ proto.schemeInfo.prototype.clearSchemeinfokeysList = function() { return this.setSchemeinfokeysList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ServerSkillStageEnd.prototype.toObject = function(opt_includeInstance) { return proto.ServerSkillStageEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ServerSkillStageEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerSkillStageEnd.toObject = function(includeInstance, msg) { var f, obj = { skilluuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, stageid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, newstageid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, conditionid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ServerSkillStageEnd} */ proto.ServerSkillStageEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ServerSkillStageEnd; return proto.ServerSkillStageEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ServerSkillStageEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ServerSkillStageEnd} */ proto.ServerSkillStageEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setStageid(value); break; case 3: var value = /** @type {number} */ (reader.readUint32()); msg.setNewstageid(value); break; case 4: var value = /** @type {number} */ (reader.readUint32()); msg.setConditionid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ServerSkillStageEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ServerSkillStageEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ServerSkillStageEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerSkillStageEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeUint32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeUint32( 4, f ); } }; /** * optional int32 SkillUuid = 1; * @return {number} */ proto.ServerSkillStageEnd.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ServerSkillStageEnd} returns this */ proto.ServerSkillStageEnd.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ServerSkillStageEnd} returns this */ proto.ServerSkillStageEnd.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ServerSkillStageEnd.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 StageId = 2; * @return {number} */ proto.ServerSkillStageEnd.prototype.getStageid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ServerSkillStageEnd} returns this */ proto.ServerSkillStageEnd.prototype.setStageid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ServerSkillStageEnd} returns this */ proto.ServerSkillStageEnd.prototype.clearStageid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ServerSkillStageEnd.prototype.hasStageid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional uint32 NewStageId = 3; * @return {number} */ proto.ServerSkillStageEnd.prototype.getNewstageid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ServerSkillStageEnd} returns this */ proto.ServerSkillStageEnd.prototype.setNewstageid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ServerSkillStageEnd} returns this */ proto.ServerSkillStageEnd.prototype.clearNewstageid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ServerSkillStageEnd.prototype.hasNewstageid = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional uint32 ConditionId = 4; * @return {number} */ proto.ServerSkillStageEnd.prototype.getConditionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.ServerSkillStageEnd} returns this */ proto.ServerSkillStageEnd.prototype.setConditionid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ServerSkillStageEnd} returns this */ proto.ServerSkillStageEnd.prototype.clearConditionid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ServerSkillStageEnd.prototype.hasConditionid = function() { return jspb.Message.getField(this, 4) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ServerStateObjectInteractionList.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ServerStateObjectInteractionList.prototype.toObject = function(opt_includeInstance) { return proto.ServerStateObjectInteractionList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ServerStateObjectInteractionList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerStateObjectInteractionList.toObject = function(includeInstance, msg) { var f, obj = { personalobjlistList: jspb.Message.toObjectList(msg.getPersonalobjlistList(), proto.ServerStateObjectInteractionParam.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ServerStateObjectInteractionList} */ proto.ServerStateObjectInteractionList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ServerStateObjectInteractionList; return proto.ServerStateObjectInteractionList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ServerStateObjectInteractionList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ServerStateObjectInteractionList} */ proto.ServerStateObjectInteractionList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ServerStateObjectInteractionParam; reader.readMessage(value,proto.ServerStateObjectInteractionParam.deserializeBinaryFromReader); msg.addPersonalobjlist(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ServerStateObjectInteractionList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ServerStateObjectInteractionList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ServerStateObjectInteractionList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerStateObjectInteractionList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPersonalobjlistList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.ServerStateObjectInteractionParam.serializeBinaryToWriter ); } }; /** * repeated ServerStateObjectInteractionParam PersonalObjList = 1; * @return {!Array} */ proto.ServerStateObjectInteractionList.prototype.getPersonalobjlistList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ServerStateObjectInteractionParam, 1)); }; /** * @param {!Array} value * @return {!proto.ServerStateObjectInteractionList} returns this */ proto.ServerStateObjectInteractionList.prototype.setPersonalobjlistList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.ServerStateObjectInteractionParam=} opt_value * @param {number=} opt_index * @return {!proto.ServerStateObjectInteractionParam} */ proto.ServerStateObjectInteractionList.prototype.addPersonalobjlist = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ServerStateObjectInteractionParam, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ServerStateObjectInteractionList} returns this */ proto.ServerStateObjectInteractionList.prototype.clearPersonalobjlistList = function() { return this.setPersonalobjlistList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SetSlotAutoBattleRequest.prototype.toObject = function(opt_includeInstance) { return proto.SetSlotAutoBattleRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SetSlotAutoBattleRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetSlotAutoBattleRequest.toObject = function(includeInstance, msg) { var f, obj = { slotsMap: (f = msg.getSlotsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SetSlotAutoBattleRequest} */ proto.SetSlotAutoBattleRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SetSlotAutoBattleRequest; return proto.SetSlotAutoBattleRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SetSlotAutoBattleRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SetSlotAutoBattleRequest} */ proto.SetSlotAutoBattleRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSlotsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readBool, null, 0, false); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SetSlotAutoBattleRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SetSlotAutoBattleRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SetSlotAutoBattleRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetSlotAutoBattleRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSlotsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeBool); } }; /** * map Slots = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SetSlotAutoBattleRequest.prototype.getSlotsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, null)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SetSlotAutoBattleRequest} returns this */ proto.SetSlotAutoBattleRequest.prototype.clearSlotsMap = function() { this.getSlotsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ShowPieceAttr.prototype.toObject = function(opt_includeInstance) { return proto.ShowPieceAttr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ShowPieceAttr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPieceAttr.toObject = function(includeInstance, msg) { var f, obj = { pieceinfo: (f = msg.getPieceinfo()) && proto.ShowPiecePair.toObject(includeInstance, f), begintime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, endtime: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ShowPieceAttr} */ proto.ShowPieceAttr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ShowPieceAttr; return proto.ShowPieceAttr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ShowPieceAttr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ShowPieceAttr} */ proto.ShowPieceAttr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ShowPiecePair; reader.readMessage(value,proto.ShowPiecePair.deserializeBinaryFromReader); msg.setPieceinfo(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setEndtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ShowPieceAttr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ShowPieceAttr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ShowPieceAttr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPieceAttr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPieceinfo(); if (f != null) { writer.writeMessage( 1, f, proto.ShowPiecePair.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional ShowPiecePair PieceInfo = 1; * @return {?proto.ShowPiecePair} */ proto.ShowPieceAttr.prototype.getPieceinfo = function() { return /** @type{?proto.ShowPiecePair} */ ( jspb.Message.getWrapperField(this, proto.ShowPiecePair, 1)); }; /** * @param {?proto.ShowPiecePair|undefined} value * @return {!proto.ShowPieceAttr} returns this */ proto.ShowPieceAttr.prototype.setPieceinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.ShowPieceAttr} returns this */ proto.ShowPieceAttr.prototype.clearPieceinfo = function() { return this.setPieceinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShowPieceAttr.prototype.hasPieceinfo = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 BeginTime = 2; * @return {number} */ proto.ShowPieceAttr.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ShowPieceAttr} returns this */ proto.ShowPieceAttr.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ShowPieceAttr} returns this */ proto.ShowPieceAttr.prototype.clearBegintime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShowPieceAttr.prototype.hasBegintime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 EndTime = 3; * @return {number} */ proto.ShowPieceAttr.prototype.getEndtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ShowPieceAttr} returns this */ proto.ShowPieceAttr.prototype.setEndtime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ShowPieceAttr} returns this */ proto.ShowPieceAttr.prototype.clearEndtime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ShowPieceAttr.prototype.hasEndtime = function() { return jspb.Message.getField(this, 3) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.ShowPieceAttrList.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ShowPieceAttrList.prototype.toObject = function(opt_includeInstance) { return proto.ShowPieceAttrList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ShowPieceAttrList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPieceAttrList.toObject = function(includeInstance, msg) { var f, obj = { showpieceattrsList: jspb.Message.toObjectList(msg.getShowpieceattrsList(), proto.ShowPieceAttr.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ShowPieceAttrList} */ proto.ShowPieceAttrList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ShowPieceAttrList; return proto.ShowPieceAttrList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ShowPieceAttrList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ShowPieceAttrList} */ proto.ShowPieceAttrList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ShowPieceAttr; reader.readMessage(value,proto.ShowPieceAttr.deserializeBinaryFromReader); msg.addShowpieceattrs(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ShowPieceAttrList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ShowPieceAttrList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ShowPieceAttrList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ShowPieceAttrList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getShowpieceattrsList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.ShowPieceAttr.serializeBinaryToWriter ); } }; /** * repeated ShowPieceAttr ShowPieceAttrs = 1; * @return {!Array} */ proto.ShowPieceAttrList.prototype.getShowpieceattrsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ShowPieceAttr, 1)); }; /** * @param {!Array} value * @return {!proto.ShowPieceAttrList} returns this */ proto.ShowPieceAttrList.prototype.setShowpieceattrsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.ShowPieceAttr=} opt_value * @param {number=} opt_index * @return {!proto.ShowPieceAttr} */ proto.ShowPieceAttrList.prototype.addShowpieceattrs = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ShowPieceAttr, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.ShowPieceAttrList} returns this */ proto.ShowPieceAttrList.prototype.clearShowpieceattrsList = function() { return this.setShowpieceattrsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SkillSkin.prototype.toObject = function(opt_includeInstance) { return proto.SkillSkin.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SkillSkin} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SkillSkin.toObject = function(includeInstance, msg) { var f, obj = { skillid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skinid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SkillSkin} */ proto.SkillSkin.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SkillSkin; return proto.SkillSkin.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SkillSkin} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SkillSkin} */ proto.SkillSkin.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setSkillid(value); break; case 2: var value = /** @type {number} */ (reader.readUint32()); msg.setSkinid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SkillSkin.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SkillSkin.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SkillSkin} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SkillSkin.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeUint32( 2, f ); } }; /** * optional uint32 SkillId = 1; * @return {number} */ proto.SkillSkin.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SkillSkin} returns this */ proto.SkillSkin.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillSkin} returns this */ proto.SkillSkin.prototype.clearSkillid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillSkin.prototype.hasSkillid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional uint32 SkinId = 2; * @return {number} */ proto.SkillSkin.prototype.getSkinid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SkillSkin} returns this */ proto.SkillSkin.prototype.setSkinid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SkillSkin} returns this */ proto.SkillSkin.prototype.clearSkinid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SkillSkin.prototype.hasSkinid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SlotData.prototype.toObject = function(opt_includeInstance) { return proto.SlotData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SlotData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SlotData.toObject = function(includeInstance, msg) { var f, obj = { slotsMap: (f = msg.getSlotsMap()) ? f.toObject(includeInstance, proto.SlotInfoData.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SlotData} */ proto.SlotData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SlotData; return proto.SlotData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SlotData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SlotData} */ proto.SlotData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getSlotsMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readInt32, jspb.BinaryReader.prototype.readMessage, proto.SlotInfoData.deserializeBinaryFromReader, 0, new proto.SlotInfoData()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SlotData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SlotData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SlotData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SlotData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSlotsMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeInt32, jspb.BinaryWriter.prototype.writeMessage, proto.SlotInfoData.serializeBinaryToWriter); } }; /** * map Slots = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.SlotData.prototype.getSlotsMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.SlotInfoData)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.SlotData} returns this */ proto.SlotData.prototype.clearSlotsMap = function() { this.getSlotsMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SlotInfoData.prototype.toObject = function(opt_includeInstance) { return proto.SlotInfoData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SlotInfoData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SlotInfoData.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skillid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, isreplace: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f, showeffect: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, cd: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, isautobattleclose: (f = jspb.Message.getBooleanField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SlotInfoData} */ proto.SlotInfoData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SlotInfoData; return proto.SlotInfoData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SlotInfoData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SlotInfoData} */ proto.SlotInfoData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillid(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsreplace(value); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setShoweffect(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setCd(value); break; case 6: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsautobattleclose(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SlotInfoData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SlotInfoData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SlotInfoData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SlotInfoData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeBool( 6, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.SlotInfoData.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SlotInfoData.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SkillId = 2; * @return {number} */ proto.SlotInfoData.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.clearSkillid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SlotInfoData.prototype.hasSkillid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsReplace = 3; * @return {boolean} */ proto.SlotInfoData.prototype.getIsreplace = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.setIsreplace = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.clearIsreplace = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SlotInfoData.prototype.hasIsreplace = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional bool ShowEffect = 4; * @return {boolean} */ proto.SlotInfoData.prototype.getShoweffect = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.setShoweffect = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.clearShoweffect = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SlotInfoData.prototype.hasShoweffect = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 Cd = 5; * @return {number} */ proto.SlotInfoData.prototype.getCd = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.setCd = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.clearCd = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SlotInfoData.prototype.hasCd = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional bool IsAutoBattleClose = 6; * @return {boolean} */ proto.SlotInfoData.prototype.getIsautobattleclose = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); }; /** * @param {boolean} value * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.setIsautobattleclose = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.SlotInfoData} returns this */ proto.SlotInfoData.prototype.clearIsautobattleclose = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SlotInfoData.prototype.hasIsautobattleclose = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SwitchSceneRequest.prototype.toObject = function(opt_includeInstance) { return proto.SwitchSceneRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SwitchSceneRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SwitchSceneRequest.toObject = function(includeInstance, msg) { var f, obj = { transferparam: (f = msg.getTransferparam()) && proto.TransferParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SwitchSceneRequest} */ proto.SwitchSceneRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SwitchSceneRequest; return proto.SwitchSceneRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SwitchSceneRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SwitchSceneRequest} */ proto.SwitchSceneRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TransferParam; reader.readMessage(value,proto.TransferParam.deserializeBinaryFromReader); msg.setTransferparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SwitchSceneRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SwitchSceneRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SwitchSceneRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SwitchSceneRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTransferparam(); if (f != null) { writer.writeMessage( 1, f, proto.TransferParam.serializeBinaryToWriter ); } }; /** * optional TransferParam TransferParam = 1; * @return {?proto.TransferParam} */ proto.SwitchSceneRequest.prototype.getTransferparam = function() { return /** @type{?proto.TransferParam} */ ( jspb.Message.getWrapperField(this, proto.TransferParam, 1)); }; /** * @param {?proto.TransferParam|undefined} value * @return {!proto.SwitchSceneRequest} returns this */ proto.SwitchSceneRequest.prototype.setTransferparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SwitchSceneRequest} returns this */ proto.SwitchSceneRequest.prototype.clearTransferparam = function() { return this.setTransferparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SwitchSceneRequest.prototype.hasTransferparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SwitchSceneResponse.prototype.toObject = function(opt_includeInstance) { return proto.SwitchSceneResponse.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SwitchSceneResponse} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SwitchSceneResponse.toObject = function(includeInstance, msg) { var f, obj = { transferparam: (f = msg.getTransferparam()) && proto.TransferParam.toObject(includeInstance, f), errcode: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SwitchSceneResponse} */ proto.SwitchSceneResponse.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SwitchSceneResponse; return proto.SwitchSceneResponse.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SwitchSceneResponse} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SwitchSceneResponse} */ proto.SwitchSceneResponse.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TransferParam; reader.readMessage(value,proto.TransferParam.deserializeBinaryFromReader); msg.setTransferparam(value); break; case 2: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SwitchSceneResponse.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SwitchSceneResponse.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SwitchSceneResponse} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SwitchSceneResponse.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTransferparam(); if (f != null) { writer.writeMessage( 1, f, proto.TransferParam.serializeBinaryToWriter ); } f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } }; /** * optional TransferParam TransferParam = 1; * @return {?proto.TransferParam} */ proto.SwitchSceneResponse.prototype.getTransferparam = function() { return /** @type{?proto.TransferParam} */ ( jspb.Message.getWrapperField(this, proto.TransferParam, 1)); }; /** * @param {?proto.TransferParam|undefined} value * @return {!proto.SwitchSceneResponse} returns this */ proto.SwitchSceneResponse.prototype.setTransferparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SwitchSceneResponse} returns this */ proto.SwitchSceneResponse.prototype.clearTransferparam = function() { return this.setTransferparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SwitchSceneResponse.prototype.hasTransferparam = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EErrorCode ErrCode = 2; * @return {!proto.EErrorCode} */ proto.SwitchSceneResponse.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.SwitchSceneResponse} returns this */ proto.SwitchSceneResponse.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SwitchSceneResponse} returns this */ proto.SwitchSceneResponse.prototype.clearErrcode = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SwitchSceneResponse.prototype.hasErrcode = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TakeOnActivateRideSkinParam.prototype.toObject = function(opt_includeInstance) { return proto.TakeOnActivateRideSkinParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TakeOnActivateRideSkinParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnActivateRideSkinParam.toObject = function(includeInstance, msg) { var f, obj = { skinid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TakeOnActivateRideSkinParam} */ proto.TakeOnActivateRideSkinParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TakeOnActivateRideSkinParam; return proto.TakeOnActivateRideSkinParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TakeOnActivateRideSkinParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TakeOnActivateRideSkinParam} */ proto.TakeOnActivateRideSkinParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkinid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TakeOnActivateRideSkinParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TakeOnActivateRideSkinParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TakeOnActivateRideSkinParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnActivateRideSkinParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 SkinId = 1; * @return {number} */ proto.TakeOnActivateRideSkinParam.prototype.getSkinid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TakeOnActivateRideSkinParam} returns this */ proto.TakeOnActivateRideSkinParam.prototype.setSkinid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TakeOnActivateRideSkinParam} returns this */ proto.TakeOnActivateRideSkinParam.prototype.clearSkinid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TakeOnActivateRideSkinParam.prototype.hasSkinid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TakeOnSetRideSkinParam.prototype.toObject = function(opt_includeInstance) { return proto.TakeOnSetRideSkinParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TakeOnSetRideSkinParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnSetRideSkinParam.toObject = function(includeInstance, msg) { var f, obj = { skinid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TakeOnSetRideSkinParam} */ proto.TakeOnSetRideSkinParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TakeOnSetRideSkinParam; return proto.TakeOnSetRideSkinParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TakeOnSetRideSkinParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TakeOnSetRideSkinParam} */ proto.TakeOnSetRideSkinParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkinid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TakeOnSetRideSkinParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TakeOnSetRideSkinParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TakeOnSetRideSkinParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnSetRideSkinParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 SkinId = 1; * @return {number} */ proto.TakeOnSetRideSkinParam.prototype.getSkinid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.TakeOnSetRideSkinParam} returns this */ proto.TakeOnSetRideSkinParam.prototype.setSkinid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TakeOnSetRideSkinParam} returns this */ proto.TakeOnSetRideSkinParam.prototype.clearSkinid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TakeOnSetRideSkinParam.prototype.hasSkinid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TeleportParams.prototype.toObject = function(opt_includeInstance) { return proto.TeleportParams.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TeleportParams} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TeleportParams.toObject = function(includeInstance, msg) { var f, obj = { transferparams: (f = msg.getTransferparams()) && proto.TransferParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TeleportParams} */ proto.TeleportParams.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TeleportParams; return proto.TeleportParams.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TeleportParams} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TeleportParams} */ proto.TeleportParams.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TransferParam; reader.readMessage(value,proto.TransferParam.deserializeBinaryFromReader); msg.setTransferparams(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TeleportParams.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TeleportParams.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TeleportParams} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TeleportParams.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTransferparams(); if (f != null) { writer.writeMessage( 1, f, proto.TransferParam.serializeBinaryToWriter ); } }; /** * optional TransferParam TransferParams = 1; * @return {?proto.TransferParam} */ proto.TeleportParams.prototype.getTransferparams = function() { return /** @type{?proto.TransferParam} */ ( jspb.Message.getWrapperField(this, proto.TransferParam, 1)); }; /** * @param {?proto.TransferParam|undefined} value * @return {!proto.TeleportParams} returns this */ proto.TeleportParams.prototype.setTransferparams = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.TeleportParams} returns this */ proto.TeleportParams.prototype.clearTransferparams = function() { return this.setTransferparams(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TeleportParams.prototype.hasTransferparams = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.tempPhotoCache.prototype.toObject = function(opt_includeInstance) { return proto.tempPhotoCache.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.tempPhotoCache} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.tempPhotoCache.toObject = function(includeInstance, msg) { var f, obj = { tempphotocachedictMap: (f = msg.getTempphotocachedictMap()) ? f.toObject(includeInstance, proto.tempPhotoCacheInfo.toObject) : [] }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.tempPhotoCache} */ proto.tempPhotoCache.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.tempPhotoCache; return proto.tempPhotoCache.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.tempPhotoCache} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.tempPhotoCache} */ proto.tempPhotoCache.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = msg.getTempphotocachedictMap(); reader.readMessage(value, function(message, reader) { jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.tempPhotoCacheInfo.deserializeBinaryFromReader, "", new proto.tempPhotoCacheInfo()); }); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.tempPhotoCache.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.tempPhotoCache.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.tempPhotoCache} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.tempPhotoCache.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTempphotocachedictMap(true); if (f && f.getLength() > 0) { f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.tempPhotoCacheInfo.serializeBinaryToWriter); } }; /** * map TempPhotoCacheDict = 1; * @param {boolean=} opt_noLazyCreate Do not create the map if * empty, instead returning `undefined` * @return {!jspb.Map} */ proto.tempPhotoCache.prototype.getTempphotocachedictMap = function(opt_noLazyCreate) { return /** @type {!jspb.Map} */ ( jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.tempPhotoCacheInfo)); }; /** * Clears values from the map. The map will be non-null. * @return {!proto.tempPhotoCache} returns this */ proto.tempPhotoCache.prototype.clearTempphotocachedictMap = function() { this.getTempphotocachedictMap().clear(); return this; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.tempPhotoCacheInfo.prototype.toObject = function(opt_includeInstance) { return proto.tempPhotoCacheInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.tempPhotoCacheInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.tempPhotoCacheInfo.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, tempphoto: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, temporiphoto: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, tempthumbphoto: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, shottime: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, shottimestr: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, shotplace: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, decoratedata: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, height: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, width: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.tempPhotoCacheInfo} */ proto.tempPhotoCacheInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.tempPhotoCacheInfo; return proto.tempPhotoCacheInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.tempPhotoCacheInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.tempPhotoCacheInfo} */ proto.tempPhotoCacheInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setId(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setTempphoto(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setTemporiphoto(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setTempthumbphoto(value); break; case 5: var value = /** @type {number} */ (reader.readUint64()); msg.setShottime(value); break; case 6: var value = /** @type {string} */ (reader.readString()); msg.setShottimestr(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.setShotplace(value); break; case 8: var value = /** @type {string} */ (reader.readString()); msg.setDecoratedata(value); break; case 9: var value = /** @type {number} */ (reader.readUint32()); msg.setHeight(value); break; case 10: var value = /** @type {number} */ (reader.readUint32()); msg.setWidth(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.tempPhotoCacheInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.tempPhotoCacheInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.tempPhotoCacheInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.tempPhotoCacheInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeUint64( 5, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeString( 6, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeString( 7, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeString( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeUint32( 9, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeUint32( 10, f ); } }; /** * optional string Id = 1; * @return {string} */ proto.tempPhotoCacheInfo.prototype.getId = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string TempPhoto = 2; * @return {string} */ proto.tempPhotoCacheInfo.prototype.getTempphoto = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setTempphoto = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearTempphoto = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasTempphoto = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string TempOriPhoto = 3; * @return {string} */ proto.tempPhotoCacheInfo.prototype.getTemporiphoto = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setTemporiphoto = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearTemporiphoto = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasTemporiphoto = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string TempThumbPhoto = 4; * @return {string} */ proto.tempPhotoCacheInfo.prototype.getTempthumbphoto = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setTempthumbphoto = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearTempthumbphoto = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasTempthumbphoto = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional uint64 ShotTime = 5; * @return {number} */ proto.tempPhotoCacheInfo.prototype.getShottime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setShottime = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearShottime = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasShottime = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional string ShotTimeStr = 6; * @return {string} */ proto.tempPhotoCacheInfo.prototype.getShottimestr = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setShottimestr = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearShottimestr = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasShottimestr = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional string ShotPlace = 7; * @return {string} */ proto.tempPhotoCacheInfo.prototype.getShotplace = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setShotplace = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearShotplace = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasShotplace = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional string DecorateData = 8; * @return {string} */ proto.tempPhotoCacheInfo.prototype.getDecoratedata = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, "")); }; /** * @param {string} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setDecoratedata = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearDecoratedata = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasDecoratedata = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional uint32 Height = 9; * @return {number} */ proto.tempPhotoCacheInfo.prototype.getHeight = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setHeight = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearHeight = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasHeight = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional uint32 Width = 10; * @return {number} */ proto.tempPhotoCacheInfo.prototype.getWidth = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0)); }; /** * @param {number} value * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.setWidth = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.tempPhotoCacheInfo} returns this */ proto.tempPhotoCacheInfo.prototype.clearWidth = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.tempPhotoCacheInfo.prototype.hasWidth = function() { return jspb.Message.getField(this, 10) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ThrowMoveInfo.prototype.toObject = function(opt_includeInstance) { return proto.ThrowMoveInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ThrowMoveInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ThrowMoveInfo.toObject = function(includeInstance, msg) { var f, obj = { targetuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skillid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, skilllevel: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, stageid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, eventid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ThrowMoveInfo} */ proto.ThrowMoveInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ThrowMoveInfo; return proto.ThrowMoveInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ThrowMoveInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ThrowMoveInfo} */ proto.ThrowMoveInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilllevel(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setStageid(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setEventid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ThrowMoveInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ThrowMoveInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ThrowMoveInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ThrowMoveInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int64 TargetUuid = 1; * @return {number} */ proto.ThrowMoveInfo.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ThrowMoveInfo.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SkillId = 2; * @return {number} */ proto.ThrowMoveInfo.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.clearSkillid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ThrowMoveInfo.prototype.hasSkillid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 SkillLevel = 3; * @return {number} */ proto.ThrowMoveInfo.prototype.getSkilllevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.setSkilllevel = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.clearSkilllevel = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ThrowMoveInfo.prototype.hasSkilllevel = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 StageId = 4; * @return {number} */ proto.ThrowMoveInfo.prototype.getStageid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.setStageid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.clearStageid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ThrowMoveInfo.prototype.hasStageid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 EventId = 5; * @return {number} */ proto.ThrowMoveInfo.prototype.getEventid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.setEventid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.ThrowMoveInfo} returns this */ proto.ThrowMoveInfo.prototype.clearEventid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ThrowMoveInfo.prototype.hasEventid = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UnlockInfo.prototype.toObject = function(opt_includeInstance) { return proto.UnlockInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UnlockInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnlockInfo.toObject = function(includeInstance, msg) { var f, obj = { objectid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UnlockInfo} */ proto.UnlockInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UnlockInfo; return proto.UnlockInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UnlockInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UnlockInfo} */ proto.UnlockInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint64()); msg.setObjectid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UnlockInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UnlockInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UnlockInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UnlockInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint64( 1, f ); } }; /** * optional uint64 ObjectId = 1; * @return {number} */ proto.UnlockInfo.prototype.getObjectid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UnlockInfo} returns this */ proto.UnlockInfo.prototype.setObjectid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UnlockInfo} returns this */ proto.UnlockInfo.prototype.clearObjectid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UnlockInfo.prototype.hasObjectid = function() { return jspb.Message.getField(this, 1) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.UpdateStructureRequest.repeatedFields_ = [2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UpdateStructureRequest.prototype.toObject = function(opt_includeInstance) { return proto.UpdateStructureRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UpdateStructureRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UpdateStructureRequest.toObject = function(includeInstance, msg) { var f, obj = { homeid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, opsList: jspb.Message.toObjectList(msg.getOpsList(), proto.StructureOp.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UpdateStructureRequest} */ proto.UpdateStructureRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UpdateStructureRequest; return proto.UpdateStructureRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UpdateStructureRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UpdateStructureRequest} */ proto.UpdateStructureRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setHomeid(value); break; case 2: var value = new proto.StructureOp; reader.readMessage(value,proto.StructureOp.deserializeBinaryFromReader); msg.addOps(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UpdateStructureRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UpdateStructureRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UpdateStructureRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UpdateStructureRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = message.getOpsList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.StructureOp.serializeBinaryToWriter ); } }; /** * optional int64 HomeId = 1; * @return {number} */ proto.UpdateStructureRequest.prototype.getHomeid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UpdateStructureRequest} returns this */ proto.UpdateStructureRequest.prototype.setHomeid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UpdateStructureRequest} returns this */ proto.UpdateStructureRequest.prototype.clearHomeid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UpdateStructureRequest.prototype.hasHomeid = function() { return jspb.Message.getField(this, 1) != null; }; /** * repeated StructureOp Ops = 2; * @return {!Array} */ proto.UpdateStructureRequest.prototype.getOpsList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.StructureOp, 2)); }; /** * @param {!Array} value * @return {!proto.UpdateStructureRequest} returns this */ proto.UpdateStructureRequest.prototype.setOpsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.StructureOp=} opt_value * @param {number=} opt_index * @return {!proto.StructureOp} */ proto.UpdateStructureRequest.prototype.addOps = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.StructureOp, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.UpdateStructureRequest} returns this */ proto.UpdateStructureRequest.prototype.clearOpsList = function() { return this.setOpsList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserControlInfo.prototype.toObject = function(opt_includeInstance) { return proto.UserControlInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserControlInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserControlInfo.toObject = function(includeInstance, msg) { var f, obj = { isbegin: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f, type: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, secondarytype: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, remaintime: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f, step: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, horvelocity: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f, vervelocity: (f = jspb.Message.getOptionalFloatingPointField(msg, 7)) == null ? undefined : f, pitchangle: (f = jspb.Message.getOptionalFloatingPointField(msg, 8)) == null ? undefined : f, timestamp: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, rundir: (f = msg.getRundir()) && proto.Vector2.toObject(includeInstance, f), normal: (f = msg.getNormal()) && proto.Vector3.toObject(includeInstance, f), curpos: (f = msg.getCurpos()) && proto.Position.toObject(includeInstance, f), destpos: (f = msg.getDestpos()) && proto.Position.toObject(includeInstance, f), moveversion: (f = jspb.Message.getField(msg, 14)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserControlInfo} */ proto.UserControlInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserControlInfo; return proto.UserControlInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserControlInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserControlInfo} */ proto.UserControlInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsbegin(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setType(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSecondarytype(value); break; case 4: var value = /** @type {number} */ (reader.readFloat()); msg.setRemaintime(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setStep(value); break; case 6: var value = /** @type {number} */ (reader.readFloat()); msg.setHorvelocity(value); break; case 7: var value = /** @type {number} */ (reader.readFloat()); msg.setVervelocity(value); break; case 8: var value = /** @type {number} */ (reader.readFloat()); msg.setPitchangle(value); break; case 9: var value = /** @type {number} */ (reader.readInt64()); msg.setTimestamp(value); break; case 10: var value = new proto.Vector2; reader.readMessage(value,proto.Vector2.deserializeBinaryFromReader); msg.setRundir(value); break; case 11: var value = new proto.Vector3; reader.readMessage(value,proto.Vector3.deserializeBinaryFromReader); msg.setNormal(value); break; case 12: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setCurpos(value); break; case 13: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setDestpos(value); break; case 14: var value = /** @type {number} */ (reader.readInt32()); msg.setMoveversion(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserControlInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserControlInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserControlInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserControlInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeFloat( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeFloat( 6, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeFloat( 7, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeFloat( 8, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt64( 9, f ); } f = message.getRundir(); if (f != null) { writer.writeMessage( 10, f, proto.Vector2.serializeBinaryToWriter ); } f = message.getNormal(); if (f != null) { writer.writeMessage( 11, f, proto.Vector3.serializeBinaryToWriter ); } f = message.getCurpos(); if (f != null) { writer.writeMessage( 12, f, proto.Position.serializeBinaryToWriter ); } f = message.getDestpos(); if (f != null) { writer.writeMessage( 13, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 14)); if (f != null) { writer.writeInt32( 14, f ); } }; /** * optional bool IsBegin = 1; * @return {boolean} */ proto.UserControlInfo.prototype.getIsbegin = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setIsbegin = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearIsbegin = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasIsbegin = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Type = 2; * @return {number} */ proto.UserControlInfo.prototype.getType = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setType = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearType = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasType = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 SecondaryType = 3; * @return {number} */ proto.UserControlInfo.prototype.getSecondarytype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setSecondarytype = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearSecondarytype = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasSecondarytype = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional float RemainTime = 4; * @return {number} */ proto.UserControlInfo.prototype.getRemaintime = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); }; /** * @param {number} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setRemaintime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearRemaintime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasRemaintime = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 Step = 5; * @return {number} */ proto.UserControlInfo.prototype.getStep = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setStep = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearStep = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasStep = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional float HorVelocity = 6; * @return {number} */ proto.UserControlInfo.prototype.getHorvelocity = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0)); }; /** * @param {number} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setHorvelocity = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearHorvelocity = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasHorvelocity = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional float VerVelocity = 7; * @return {number} */ proto.UserControlInfo.prototype.getVervelocity = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0)); }; /** * @param {number} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setVervelocity = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearVervelocity = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasVervelocity = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional float PitchAngle = 8; * @return {number} */ proto.UserControlInfo.prototype.getPitchangle = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0)); }; /** * @param {number} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setPitchangle = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearPitchangle = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasPitchangle = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int64 TimeStamp = 9; * @return {number} */ proto.UserControlInfo.prototype.getTimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setTimestamp = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearTimestamp = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasTimestamp = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional Vector2 RunDir = 10; * @return {?proto.Vector2} */ proto.UserControlInfo.prototype.getRundir = function() { return /** @type{?proto.Vector2} */ ( jspb.Message.getWrapperField(this, proto.Vector2, 10)); }; /** * @param {?proto.Vector2|undefined} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setRundir = function(value) { return jspb.Message.setWrapperField(this, 10, value); }; /** * Clears the message field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearRundir = function() { return this.setRundir(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasRundir = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional Vector3 Normal = 11; * @return {?proto.Vector3} */ proto.UserControlInfo.prototype.getNormal = function() { return /** @type{?proto.Vector3} */ ( jspb.Message.getWrapperField(this, proto.Vector3, 11)); }; /** * @param {?proto.Vector3|undefined} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setNormal = function(value) { return jspb.Message.setWrapperField(this, 11, value); }; /** * Clears the message field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearNormal = function() { return this.setNormal(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasNormal = function() { return jspb.Message.getField(this, 11) != null; }; /** * optional Position CurPos = 12; * @return {?proto.Position} */ proto.UserControlInfo.prototype.getCurpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 12)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setCurpos = function(value) { return jspb.Message.setWrapperField(this, 12, value); }; /** * Clears the message field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearCurpos = function() { return this.setCurpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasCurpos = function() { return jspb.Message.getField(this, 12) != null; }; /** * optional Position DestPos = 13; * @return {?proto.Position} */ proto.UserControlInfo.prototype.getDestpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 13)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setDestpos = function(value) { return jspb.Message.setWrapperField(this, 13, value); }; /** * Clears the message field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearDestpos = function() { return this.setDestpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasDestpos = function() { return jspb.Message.getField(this, 13) != null; }; /** * optional int32 MoveVersion = 14; * @return {number} */ proto.UserControlInfo.prototype.getMoveversion = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0)); }; /** * @param {number} value * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.setMoveversion = function(value) { return jspb.Message.setField(this, 14, value); }; /** * Clears the field making it undefined. * @return {!proto.UserControlInfo} returns this */ proto.UserControlInfo.prototype.clearMoveversion = function() { return jspb.Message.setField(this, 14, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserControlInfo.prototype.hasMoveversion = function() { return jspb.Message.getField(this, 14) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserNotifyTriggerInfo.prototype.toObject = function(opt_includeInstance) { return proto.UserNotifyTriggerInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserNotifyTriggerInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserNotifyTriggerInfo.toObject = function(includeInstance, msg) { var f, obj = { type: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, targetuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, triggeractortype: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, triggeractorissummon: (f = jspb.Message.getBooleanField(msg, 4)) == null ? undefined : f, triggeractorinstanceid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, triggeractortableuid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserNotifyTriggerInfo} */ proto.UserNotifyTriggerInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserNotifyTriggerInfo; return proto.UserNotifyTriggerInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserNotifyTriggerInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserNotifyTriggerInfo} */ proto.UserNotifyTriggerInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.ENotifyTrigger} */ (reader.readEnum()); msg.setType(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; case 3: var value = /** @type {!proto.EEntityType} */ (reader.readEnum()); msg.setTriggeractortype(value); break; case 4: var value = /** @type {boolean} */ (reader.readBool()); msg.setTriggeractorissummon(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setTriggeractorinstanceid(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setTriggeractortableuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserNotifyTriggerInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserNotifyTriggerInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserNotifyTriggerInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserNotifyTriggerInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.ENotifyTrigger} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {!proto.EEntityType} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeBool( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } }; /** * optional ENotifyTrigger Type = 1; * @return {!proto.ENotifyTrigger} */ proto.UserNotifyTriggerInfo.prototype.getType = function() { return /** @type {!proto.ENotifyTrigger} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.ENotifyTrigger} value * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.setType = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.clearType = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserNotifyTriggerInfo.prototype.hasType = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 TargetUuid = 2; * @return {number} */ proto.UserNotifyTriggerInfo.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserNotifyTriggerInfo.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional EEntityType TriggerActorType = 3; * @return {!proto.EEntityType} */ proto.UserNotifyTriggerInfo.prototype.getTriggeractortype = function() { return /** @type {!proto.EEntityType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {!proto.EEntityType} value * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.setTriggeractortype = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.clearTriggeractortype = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserNotifyTriggerInfo.prototype.hasTriggeractortype = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional bool TriggerActorIsSummon = 4; * @return {boolean} */ proto.UserNotifyTriggerInfo.prototype.getTriggeractorissummon = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); }; /** * @param {boolean} value * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.setTriggeractorissummon = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.clearTriggeractorissummon = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserNotifyTriggerInfo.prototype.hasTriggeractorissummon = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 TriggerActorInstanceId = 5; * @return {number} */ proto.UserNotifyTriggerInfo.prototype.getTriggeractorinstanceid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.setTriggeractorinstanceid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.clearTriggeractorinstanceid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserNotifyTriggerInfo.prototype.hasTriggeractorinstanceid = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int64 TriggerActorTableUid = 6; * @return {number} */ proto.UserNotifyTriggerInfo.prototype.getTriggeractortableuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.setTriggeractortableuid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.UserNotifyTriggerInfo} returns this */ proto.UserNotifyTriggerInfo.prototype.clearTriggeractortableuid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserNotifyTriggerInfo.prototype.hasTriggeractortableuid = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UseSkillParam.prototype.toObject = function(opt_includeInstance) { return proto.UseSkillParam.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UseSkillParam} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UseSkillParam.toObject = function(includeInstance, msg) { var f, obj = { skilluuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skillid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, skilllevel: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, begintime: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, targetuuid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, targetpos: (f = msg.getTargetpos()) && proto.Position.toObject(includeInstance, f), curpos: (f = msg.getCurpos()) && proto.Position.toObject(includeInstance, f), targetpartid: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f, targetpartpos: (f = msg.getTargetpartpos()) && proto.Position.toObject(includeInstance, f), ispassive: (f = jspb.Message.getBooleanField(msg, 10)) == null ? undefined : f, isactivateroulette: (f = jspb.Message.getBooleanField(msg, 11)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UseSkillParam} */ proto.UseSkillParam.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UseSkillParam; return proto.UseSkillParam.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UseSkillParam} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UseSkillParam} */ proto.UseSkillParam.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillid(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilllevel(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setBegintime(value); break; case 5: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; case 6: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setTargetpos(value); break; case 7: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setCurpos(value); break; case 8: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetpartid(value); break; case 9: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setTargetpartpos(value); break; case 10: var value = /** @type {boolean} */ (reader.readBool()); msg.setIspassive(value); break; case 11: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsactivateroulette(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UseSkillParam.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UseSkillParam.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UseSkillParam} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UseSkillParam.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt64( 5, f ); } f = message.getTargetpos(); if (f != null) { writer.writeMessage( 6, f, proto.Position.serializeBinaryToWriter ); } f = message.getCurpos(); if (f != null) { writer.writeMessage( 7, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 8)); if (f != null) { writer.writeInt32( 8, f ); } f = message.getTargetpartpos(); if (f != null) { writer.writeMessage( 9, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 10)); if (f != null) { writer.writeBool( 10, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 11)); if (f != null) { writer.writeBool( 11, f ); } }; /** * optional int32 SkillUuid = 1; * @return {number} */ proto.UseSkillParam.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Skillid = 2; * @return {number} */ proto.UseSkillParam.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearSkillid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasSkillid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 SkillLevel = 3; * @return {number} */ proto.UseSkillParam.prototype.getSkilllevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setSkilllevel = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearSkilllevel = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasSkilllevel = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 BeginTime = 4; * @return {number} */ proto.UseSkillParam.prototype.getBegintime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setBegintime = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearBegintime = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasBegintime = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int64 TargetUuid = 5; * @return {number} */ proto.UseSkillParam.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional Position TargetPos = 6; * @return {?proto.Position} */ proto.UseSkillParam.prototype.getTargetpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 6)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setTargetpos = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearTargetpos = function() { return this.setTargetpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasTargetpos = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional Position CurPos = 7; * @return {?proto.Position} */ proto.UseSkillParam.prototype.getCurpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 7)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setCurpos = function(value) { return jspb.Message.setWrapperField(this, 7, value); }; /** * Clears the message field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearCurpos = function() { return this.setCurpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasCurpos = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional int32 TargetPartId = 8; * @return {number} */ proto.UseSkillParam.prototype.getTargetpartid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0)); }; /** * @param {number} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setTargetpartid = function(value) { return jspb.Message.setField(this, 8, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearTargetpartid = function() { return jspb.Message.setField(this, 8, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasTargetpartid = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional Position TargetPartPos = 9; * @return {?proto.Position} */ proto.UseSkillParam.prototype.getTargetpartpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 9)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setTargetpartpos = function(value) { return jspb.Message.setWrapperField(this, 9, value); }; /** * Clears the message field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearTargetpartpos = function() { return this.setTargetpartpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasTargetpartpos = function() { return jspb.Message.getField(this, 9) != null; }; /** * optional bool IsPassive = 10; * @return {boolean} */ proto.UseSkillParam.prototype.getIspassive = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false)); }; /** * @param {boolean} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setIspassive = function(value) { return jspb.Message.setField(this, 10, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearIspassive = function() { return jspb.Message.setField(this, 10, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasIspassive = function() { return jspb.Message.getField(this, 10) != null; }; /** * optional bool IsActivateRoulette = 11; * @return {boolean} */ proto.UseSkillParam.prototype.getIsactivateroulette = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false)); }; /** * @param {boolean} value * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.setIsactivateroulette = function(value) { return jspb.Message.setField(this, 11, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSkillParam} returns this */ proto.UseSkillParam.prototype.clearIsactivateroulette = function() { return jspb.Message.setField(this, 11, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkillParam.prototype.hasIsactivateroulette = function() { return jspb.Message.getField(this, 11) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UseSlotRequest.prototype.toObject = function(opt_includeInstance) { return proto.UseSlotRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UseSlotRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UseSlotRequest.toObject = function(includeInstance, msg) { var f, obj = { slotid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, usetype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, extradata: msg.getExtradata_asB64() }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UseSlotRequest} */ proto.UseSlotRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UseSlotRequest; return proto.UseSlotRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UseSlotRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UseSlotRequest} */ proto.UseSlotRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSlotid(value); break; case 2: var value = /** @type {!proto.EUseSlotType} */ (reader.readEnum()); msg.setUsetype(value); break; case 3: var value = /** @type {!Uint8Array} */ (reader.readBytes()); msg.setExtradata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UseSlotRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UseSlotRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UseSlotRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UseSlotRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {!proto.EUseSlotType} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBytes( 3, f ); } }; /** * optional int32 SlotId = 1; * @return {number} */ proto.UseSlotRequest.prototype.getSlotid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.UseSlotRequest} returns this */ proto.UseSlotRequest.prototype.setSlotid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSlotRequest} returns this */ proto.UseSlotRequest.prototype.clearSlotid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSlotRequest.prototype.hasSlotid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EUseSlotType UseType = 2; * @return {!proto.EUseSlotType} */ proto.UseSlotRequest.prototype.getUsetype = function() { return /** @type {!proto.EUseSlotType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EUseSlotType} value * @return {!proto.UseSlotRequest} returns this */ proto.UseSlotRequest.prototype.setUsetype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSlotRequest} returns this */ proto.UseSlotRequest.prototype.clearUsetype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSlotRequest.prototype.hasUsetype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bytes ExtraData = 3; * @return {!(string|Uint8Array)} */ proto.UseSlotRequest.prototype.getExtradata = function() { return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * optional bytes ExtraData = 3; * This is a type-conversion wrapper around `getExtradata()` * @return {string} */ proto.UseSlotRequest.prototype.getExtradata_asB64 = function() { return /** @type {string} */ (jspb.Message.bytesAsB64( this.getExtradata())); }; /** * optional bytes ExtraData = 3; * Note that Uint8Array is not supported on all browsers. * @see http://caniuse.com/Uint8Array * This is a type-conversion wrapper around `getExtradata()` * @return {!Uint8Array} */ proto.UseSlotRequest.prototype.getExtradata_asU8 = function() { return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8( this.getExtradata())); }; /** * @param {!(string|Uint8Array)} value * @return {!proto.UseSlotRequest} returns this */ proto.UseSlotRequest.prototype.setExtradata = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.UseSlotRequest} returns this */ proto.UseSlotRequest.prototype.clearExtradata = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSlotRequest.prototype.hasExtradata = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifySwitchScene.prototype.toObject = function(opt_includeInstance) { return proto.NotifySwitchScene.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifySwitchScene} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifySwitchScene.toObject = function(includeInstance, msg) { var f, obj = { request: (f = msg.getRequest()) && proto.NotifySwitchSceneRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifySwitchScene} */ proto.NotifySwitchScene.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifySwitchScene; return proto.NotifySwitchScene.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifySwitchScene} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifySwitchScene} */ proto.NotifySwitchScene.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifySwitchSceneRequest; reader.readMessage(value,proto.NotifySwitchSceneRequest.deserializeBinaryFromReader); msg.setRequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifySwitchScene.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifySwitchScene.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifySwitchScene} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifySwitchScene.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRequest(); if (f != null) { writer.writeMessage( 1, f, proto.NotifySwitchSceneRequest.serializeBinaryToWriter ); } }; /** * optional NotifySwitchSceneRequest Request = 1; * @return {?proto.NotifySwitchSceneRequest} */ proto.NotifySwitchScene.prototype.getRequest = function() { return /** @type{?proto.NotifySwitchSceneRequest} */ ( jspb.Message.getWrapperField(this, proto.NotifySwitchSceneRequest, 1)); }; /** * @param {?proto.NotifySwitchSceneRequest|undefined} value * @return {!proto.NotifySwitchScene} returns this */ proto.NotifySwitchScene.prototype.setRequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifySwitchScene} returns this */ proto.NotifySwitchScene.prototype.clearRequest = function() { return this.setRequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifySwitchScene.prototype.hasRequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifySwitchSceneEnd.prototype.toObject = function(opt_includeInstance) { return proto.NotifySwitchSceneEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifySwitchSceneEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifySwitchSceneEnd.toObject = function(includeInstance, msg) { var f, obj = { resp: (f = msg.getResp()) && proto.SwitchSceneResponse.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifySwitchSceneEnd} */ proto.NotifySwitchSceneEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifySwitchSceneEnd; return proto.NotifySwitchSceneEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifySwitchSceneEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifySwitchSceneEnd} */ proto.NotifySwitchSceneEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.SwitchSceneResponse; reader.readMessage(value,proto.SwitchSceneResponse.deserializeBinaryFromReader); msg.setResp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifySwitchSceneEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifySwitchSceneEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifySwitchSceneEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifySwitchSceneEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getResp(); if (f != null) { writer.writeMessage( 1, f, proto.SwitchSceneResponse.serializeBinaryToWriter ); } }; /** * optional SwitchSceneResponse Resp = 1; * @return {?proto.SwitchSceneResponse} */ proto.NotifySwitchSceneEnd.prototype.getResp = function() { return /** @type{?proto.SwitchSceneResponse} */ ( jspb.Message.getWrapperField(this, proto.SwitchSceneResponse, 1)); }; /** * @param {?proto.SwitchSceneResponse|undefined} value * @return {!proto.NotifySwitchSceneEnd} returns this */ proto.NotifySwitchSceneEnd.prototype.setResp = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifySwitchSceneEnd} returns this */ proto.NotifySwitchSceneEnd.prototype.clearResp = function() { return this.setResp(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifySwitchSceneEnd.prototype.hasResp = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.EnterScene.prototype.toObject = function(opt_includeInstance) { return proto.EnterScene.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.EnterScene} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnterScene.toObject = function(includeInstance, msg) { var f, obj = { entersceneinfo: (f = msg.getEntersceneinfo()) && proto.EnterSceneInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.EnterScene} */ proto.EnterScene.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.EnterScene; return proto.EnterScene.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.EnterScene} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.EnterScene} */ proto.EnterScene.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.EnterSceneInfo; reader.readMessage(value,proto.EnterSceneInfo.deserializeBinaryFromReader); msg.setEntersceneinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.EnterScene.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.EnterScene.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.EnterScene} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.EnterScene.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getEntersceneinfo(); if (f != null) { writer.writeMessage( 1, f, proto.EnterSceneInfo.serializeBinaryToWriter ); } }; /** * optional EnterSceneInfo EnterSceneInfo = 1; * @return {?proto.EnterSceneInfo} */ proto.EnterScene.prototype.getEntersceneinfo = function() { return /** @type{?proto.EnterSceneInfo} */ ( jspb.Message.getWrapperField(this, proto.EnterSceneInfo, 1)); }; /** * @param {?proto.EnterSceneInfo|undefined} value * @return {!proto.EnterScene} returns this */ proto.EnterScene.prototype.setEntersceneinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.EnterScene} returns this */ proto.EnterScene.prototype.clearEntersceneinfo = function() { return this.setEntersceneinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.EnterScene.prototype.hasEntersceneinfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyLoadSceneEnd.prototype.toObject = function(opt_includeInstance) { return proto.NotifyLoadSceneEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyLoadSceneEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyLoadSceneEnd.toObject = function(includeInstance, msg) { var f, obj = { resp: (f = msg.getResp()) && proto.NotifyLoadSceneEndResponse.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyLoadSceneEnd} */ proto.NotifyLoadSceneEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyLoadSceneEnd; return proto.NotifyLoadSceneEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyLoadSceneEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyLoadSceneEnd} */ proto.NotifyLoadSceneEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyLoadSceneEndResponse; reader.readMessage(value,proto.NotifyLoadSceneEndResponse.deserializeBinaryFromReader); msg.setResp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyLoadSceneEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyLoadSceneEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyLoadSceneEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyLoadSceneEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getResp(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyLoadSceneEndResponse.serializeBinaryToWriter ); } }; /** * optional NotifyLoadSceneEndResponse Resp = 1; * @return {?proto.NotifyLoadSceneEndResponse} */ proto.NotifyLoadSceneEnd.prototype.getResp = function() { return /** @type{?proto.NotifyLoadSceneEndResponse} */ ( jspb.Message.getWrapperField(this, proto.NotifyLoadSceneEndResponse, 1)); }; /** * @param {?proto.NotifyLoadSceneEndResponse|undefined} value * @return {!proto.NotifyLoadSceneEnd} returns this */ proto.NotifyLoadSceneEnd.prototype.setResp = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyLoadSceneEnd} returns this */ proto.NotifyLoadSceneEnd.prototype.clearResp = function() { return this.setResp(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyLoadSceneEnd.prototype.hasResp = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Teleport.prototype.toObject = function(opt_includeInstance) { return proto.Teleport.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Teleport} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Teleport.toObject = function(includeInstance, msg) { var f, obj = { teleportparams: (f = msg.getTeleportparams()) && proto.TeleportParams.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Teleport} */ proto.Teleport.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Teleport; return proto.Teleport.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Teleport} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Teleport} */ proto.Teleport.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TeleportParams; reader.readMessage(value,proto.TeleportParams.deserializeBinaryFromReader); msg.setTeleportparams(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Teleport.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Teleport.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Teleport} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Teleport.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTeleportparams(); if (f != null) { writer.writeMessage( 1, f, proto.TeleportParams.serializeBinaryToWriter ); } }; /** * optional TeleportParams TeleportParams = 1; * @return {?proto.TeleportParams} */ proto.Teleport.prototype.getTeleportparams = function() { return /** @type{?proto.TeleportParams} */ ( jspb.Message.getWrapperField(this, proto.TeleportParams, 1)); }; /** * @param {?proto.TeleportParams|undefined} value * @return {!proto.Teleport} returns this */ proto.Teleport.prototype.setTeleportparams = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.Teleport} returns this */ proto.Teleport.prototype.clearTeleportparams = function() { return this.setTeleportparams(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Teleport.prototype.hasTeleportparams = function() { return jspb.Message.getField(this, 1) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SyncNearEntities.repeatedFields_ = [1,2]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncNearEntities.prototype.toObject = function(opt_includeInstance) { return proto.SyncNearEntities.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncNearEntities} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncNearEntities.toObject = function(includeInstance, msg) { var f, obj = { appearList: jspb.Message.toObjectList(msg.getAppearList(), proto.Entity.toObject, includeInstance), disappearList: jspb.Message.toObjectList(msg.getDisappearList(), proto.DisappearEntity.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncNearEntities} */ proto.SyncNearEntities.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncNearEntities; return proto.SyncNearEntities.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncNearEntities} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncNearEntities} */ proto.SyncNearEntities.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Entity; reader.readMessage(value,proto.Entity.deserializeBinaryFromReader); msg.addAppear(value); break; case 2: var value = new proto.DisappearEntity; reader.readMessage(value,proto.DisappearEntity.deserializeBinaryFromReader); msg.addDisappear(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncNearEntities.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncNearEntities.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncNearEntities} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncNearEntities.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAppearList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.Entity.serializeBinaryToWriter ); } f = message.getDisappearList(); if (f.length > 0) { writer.writeRepeatedMessage( 2, f, proto.DisappearEntity.serializeBinaryToWriter ); } }; /** * repeated Entity Appear = 1; * @return {!Array} */ proto.SyncNearEntities.prototype.getAppearList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.Entity, 1)); }; /** * @param {!Array} value * @return {!proto.SyncNearEntities} returns this */ proto.SyncNearEntities.prototype.setAppearList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.Entity=} opt_value * @param {number=} opt_index * @return {!proto.Entity} */ proto.SyncNearEntities.prototype.addAppear = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Entity, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SyncNearEntities} returns this */ proto.SyncNearEntities.prototype.clearAppearList = function() { return this.setAppearList([]); }; /** * repeated DisappearEntity Disappear = 2; * @return {!Array} */ proto.SyncNearEntities.prototype.getDisappearList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.DisappearEntity, 2)); }; /** * @param {!Array} value * @return {!proto.SyncNearEntities} returns this */ proto.SyncNearEntities.prototype.setDisappearList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 2, value); }; /** * @param {!proto.DisappearEntity=} opt_value * @param {number=} opt_index * @return {!proto.DisappearEntity} */ proto.SyncNearEntities.prototype.addDisappear = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.DisappearEntity, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SyncNearEntities} returns this */ proto.SyncNearEntities.prototype.clearDisappearList = function() { return this.setDisappearList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DisappearEntity.prototype.toObject = function(opt_includeInstance) { return proto.DisappearEntity.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DisappearEntity} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DisappearEntity.toObject = function(includeInstance, msg) { var f, obj = { uuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, type: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DisappearEntity} */ proto.DisappearEntity.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DisappearEntity; return proto.DisappearEntity.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DisappearEntity} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DisappearEntity} */ proto.DisappearEntity.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setUuid(value); break; case 2: var value = /** @type {!proto.EDisappearType} */ (reader.readEnum()); msg.setType(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DisappearEntity.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DisappearEntity.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DisappearEntity} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DisappearEntity.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {!proto.EDisappearType} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } }; /** * optional int64 Uuid = 1; * @return {number} */ proto.DisappearEntity.prototype.getUuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.DisappearEntity} returns this */ proto.DisappearEntity.prototype.setUuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DisappearEntity} returns this */ proto.DisappearEntity.prototype.clearUuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DisappearEntity.prototype.hasUuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EDisappearType Type = 2; * @return {!proto.EDisappearType} */ proto.DisappearEntity.prototype.getType = function() { return /** @type {!proto.EDisappearType} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EDisappearType} value * @return {!proto.DisappearEntity} returns this */ proto.DisappearEntity.prototype.setType = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.DisappearEntity} returns this */ proto.DisappearEntity.prototype.clearType = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DisappearEntity.prototype.hasType = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncSceneAttrs.prototype.toObject = function(opt_includeInstance) { return proto.SyncSceneAttrs.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncSceneAttrs} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSceneAttrs.toObject = function(includeInstance, msg) { var f, obj = { attrs: (f = msg.getAttrs()) && proto.AttrCollection.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncSceneAttrs} */ proto.SyncSceneAttrs.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncSceneAttrs; return proto.SyncSceneAttrs.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncSceneAttrs} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncSceneAttrs} */ proto.SyncSceneAttrs.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.AttrCollection; reader.readMessage(value,proto.AttrCollection.deserializeBinaryFromReader); msg.setAttrs(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncSceneAttrs.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncSceneAttrs.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncSceneAttrs} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSceneAttrs.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAttrs(); if (f != null) { writer.writeMessage( 1, f, proto.AttrCollection.serializeBinaryToWriter ); } }; /** * optional AttrCollection Attrs = 1; * @return {?proto.AttrCollection} */ proto.SyncSceneAttrs.prototype.getAttrs = function() { return /** @type{?proto.AttrCollection} */ ( jspb.Message.getWrapperField(this, proto.AttrCollection, 1)); }; /** * @param {?proto.AttrCollection|undefined} value * @return {!proto.SyncSceneAttrs} returns this */ proto.SyncSceneAttrs.prototype.setAttrs = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncSceneAttrs} returns this */ proto.SyncSceneAttrs.prototype.clearAttrs = function() { return this.setAttrs(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSceneAttrs.prototype.hasAttrs = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncSceneEvents.prototype.toObject = function(opt_includeInstance) { return proto.SyncSceneEvents.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncSceneEvents} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSceneEvents.toObject = function(includeInstance, msg) { var f, obj = { evt: (f = msg.getEvt()) && proto.EventDataList.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncSceneEvents} */ proto.SyncSceneEvents.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncSceneEvents; return proto.SyncSceneEvents.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncSceneEvents} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncSceneEvents} */ proto.SyncSceneEvents.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.EventDataList; reader.readMessage(value,proto.EventDataList.deserializeBinaryFromReader); msg.setEvt(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncSceneEvents.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncSceneEvents.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncSceneEvents} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSceneEvents.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getEvt(); if (f != null) { writer.writeMessage( 1, f, proto.EventDataList.serializeBinaryToWriter ); } }; /** * optional EventDataList Evt = 1; * @return {?proto.EventDataList} */ proto.SyncSceneEvents.prototype.getEvt = function() { return /** @type{?proto.EventDataList} */ ( jspb.Message.getWrapperField(this, proto.EventDataList, 1)); }; /** * @param {?proto.EventDataList|undefined} value * @return {!proto.SyncSceneEvents} returns this */ proto.SyncSceneEvents.prototype.setEvt = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncSceneEvents} returns this */ proto.SyncSceneEvents.prototype.clearEvt = function() { return this.setEvt(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSceneEvents.prototype.hasEvt = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncEntityBehaviorTree.prototype.toObject = function(opt_includeInstance) { return proto.SyncEntityBehaviorTree.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncEntityBehaviorTree} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncEntityBehaviorTree.toObject = function(includeInstance, msg) { var f, obj = { entityid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, json: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncEntityBehaviorTree} */ proto.SyncEntityBehaviorTree.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncEntityBehaviorTree; return proto.SyncEntityBehaviorTree.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncEntityBehaviorTree} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncEntityBehaviorTree} */ proto.SyncEntityBehaviorTree.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setEntityid(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setJson(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncEntityBehaviorTree.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncEntityBehaviorTree.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncEntityBehaviorTree} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncEntityBehaviorTree.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } }; /** * optional int64 EntityId = 1; * @return {number} */ proto.SyncEntityBehaviorTree.prototype.getEntityid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncEntityBehaviorTree} returns this */ proto.SyncEntityBehaviorTree.prototype.setEntityid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncEntityBehaviorTree} returns this */ proto.SyncEntityBehaviorTree.prototype.clearEntityid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncEntityBehaviorTree.prototype.hasEntityid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string Json = 2; * @return {string} */ proto.SyncEntityBehaviorTree.prototype.getJson = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.SyncEntityBehaviorTree} returns this */ proto.SyncEntityBehaviorTree.prototype.setJson = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncEntityBehaviorTree} returns this */ proto.SyncEntityBehaviorTree.prototype.clearJson = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncEntityBehaviorTree.prototype.hasJson = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncPlayCameraAnimation.prototype.toObject = function(opt_includeInstance) { return proto.SyncPlayCameraAnimation.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncPlayCameraAnimation} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncPlayCameraAnimation.toObject = function(includeInstance, msg) { var f, obj = { id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncPlayCameraAnimation} */ proto.SyncPlayCameraAnimation.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncPlayCameraAnimation; return proto.SyncPlayCameraAnimation.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncPlayCameraAnimation} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncPlayCameraAnimation} */ proto.SyncPlayCameraAnimation.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setId(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncPlayCameraAnimation.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncPlayCameraAnimation.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncPlayCameraAnimation} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncPlayCameraAnimation.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 Id = 1; * @return {number} */ proto.SyncPlayCameraAnimation.prototype.getId = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncPlayCameraAnimation} returns this */ proto.SyncPlayCameraAnimation.prototype.setId = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncPlayCameraAnimation} returns this */ proto.SyncPlayCameraAnimation.prototype.clearId = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncPlayCameraAnimation.prototype.hasId = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncFieldOfView.prototype.toObject = function(opt_includeInstance) { return proto.SyncFieldOfView.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncFieldOfView} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncFieldOfView.toObject = function(includeInstance, msg) { var f, obj = { json: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncFieldOfView} */ proto.SyncFieldOfView.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncFieldOfView; return proto.SyncFieldOfView.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncFieldOfView} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncFieldOfView} */ proto.SyncFieldOfView.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setJson(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncFieldOfView.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncFieldOfView.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncFieldOfView} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncFieldOfView.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } }; /** * optional string Json = 1; * @return {string} */ proto.SyncFieldOfView.prototype.getJson = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.SyncFieldOfView} returns this */ proto.SyncFieldOfView.prototype.setJson = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncFieldOfView} returns this */ proto.SyncFieldOfView.prototype.clearJson = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncFieldOfView.prototype.hasJson = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncLog.prototype.toObject = function(opt_includeInstance) { return proto.SyncLog.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncLog} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncLog.toObject = function(includeInstance, msg) { var f, obj = { log: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncLog} */ proto.SyncLog.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncLog; return proto.SyncLog.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncLog} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncLog} */ proto.SyncLog.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setLog(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncLog.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncLog.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncLog} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncLog.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } }; /** * optional string Log = 1; * @return {string} */ proto.SyncLog.prototype.getLog = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.SyncLog} returns this */ proto.SyncLog.prototype.setLog = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncLog} returns this */ proto.SyncLog.prototype.clearLog = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncLog.prototype.hasLog = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.WorldNtfSyncPathNode.prototype.toObject = function(opt_includeInstance) { return proto.WorldNtfSyncPathNode.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.WorldNtfSyncPathNode} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WorldNtfSyncPathNode.toObject = function(includeInstance, msg) { var f, obj = { lists: (f = msg.getLists()) && proto.PathNodeList.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.WorldNtfSyncPathNode} */ proto.WorldNtfSyncPathNode.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.WorldNtfSyncPathNode; return proto.WorldNtfSyncPathNode.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.WorldNtfSyncPathNode} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.WorldNtfSyncPathNode} */ proto.WorldNtfSyncPathNode.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.PathNodeList; reader.readMessage(value,proto.PathNodeList.deserializeBinaryFromReader); msg.setLists(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.WorldNtfSyncPathNode.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.WorldNtfSyncPathNode.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.WorldNtfSyncPathNode} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.WorldNtfSyncPathNode.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getLists(); if (f != null) { writer.writeMessage( 1, f, proto.PathNodeList.serializeBinaryToWriter ); } }; /** * optional PathNodeList Lists = 1; * @return {?proto.PathNodeList} */ proto.WorldNtfSyncPathNode.prototype.getLists = function() { return /** @type{?proto.PathNodeList} */ ( jspb.Message.getWrapperField(this, proto.PathNodeList, 1)); }; /** * @param {?proto.PathNodeList|undefined} value * @return {!proto.WorldNtfSyncPathNode} returns this */ proto.WorldNtfSyncPathNode.prototype.setLists = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.WorldNtfSyncPathNode} returns this */ proto.WorldNtfSyncPathNode.prototype.clearLists = function() { return this.setLists(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.WorldNtfSyncPathNode.prototype.hasLists = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncServerData.prototype.toObject = function(opt_includeInstance) { return proto.SyncServerData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncServerData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerData.toObject = function(includeInstance, msg) { var f, obj = { serverdata: (f = msg.getServerdata()) && proto.ServerData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncServerData} */ proto.SyncServerData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncServerData; return proto.SyncServerData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncServerData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncServerData} */ proto.SyncServerData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ServerData; reader.readMessage(value,proto.ServerData.deserializeBinaryFromReader); msg.setServerdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncServerData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncServerData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncServerData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getServerdata(); if (f != null) { writer.writeMessage( 1, f, proto.ServerData.serializeBinaryToWriter ); } }; /** * optional ServerData ServerData = 1; * @return {?proto.ServerData} */ proto.SyncServerData.prototype.getServerdata = function() { return /** @type{?proto.ServerData} */ ( jspb.Message.getWrapperField(this, proto.ServerData, 1)); }; /** * @param {?proto.ServerData|undefined} value * @return {!proto.SyncServerData} returns this */ proto.SyncServerData.prototype.setServerdata = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncServerData} returns this */ proto.SyncServerData.prototype.clearServerdata = function() { return this.setServerdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncServerData.prototype.hasServerdata = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ServerData.prototype.toObject = function(opt_includeInstance) { return proto.ServerData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ServerData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerData.toObject = function(includeInstance, msg) { var f, obj = { openservertime: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ServerData} */ proto.ServerData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ServerData; return proto.ServerData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ServerData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ServerData} */ proto.ServerData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setOpenservertime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ServerData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ServerData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ServerData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 OpenServerTime = 1; * @return {number} */ proto.ServerData.prototype.getOpenservertime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ServerData} returns this */ proto.ServerData.prototype.setOpenservertime = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ServerData} returns this */ proto.ServerData.prototype.clearOpenservertime = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ServerData.prototype.hasOpenservertime = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ForcedPullBack.prototype.toObject = function(opt_includeInstance) { return proto.ForcedPullBack.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ForcedPullBack} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ForcedPullBack.toObject = function(includeInstance, msg) { var f, obj = { curpos: (f = msg.getCurpos()) && proto.Position.toObject(includeInstance, f), force: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ForcedPullBack} */ proto.ForcedPullBack.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ForcedPullBack; return proto.ForcedPullBack.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ForcedPullBack} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ForcedPullBack} */ proto.ForcedPullBack.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setCurpos(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setForce(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ForcedPullBack.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ForcedPullBack.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ForcedPullBack} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ForcedPullBack.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCurpos(); if (f != null) { writer.writeMessage( 1, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * optional Position CurPos = 1; * @return {?proto.Position} */ proto.ForcedPullBack.prototype.getCurpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 1)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.ForcedPullBack} returns this */ proto.ForcedPullBack.prototype.setCurpos = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.ForcedPullBack} returns this */ proto.ForcedPullBack.prototype.clearCurpos = function() { return this.setCurpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ForcedPullBack.prototype.hasCurpos = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool Force = 2; * @return {boolean} */ proto.ForcedPullBack.prototype.getForce = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.ForcedPullBack} returns this */ proto.ForcedPullBack.prototype.setForce = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ForcedPullBack} returns this */ proto.ForcedPullBack.prototype.clearForce = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ForcedPullBack.prototype.hasForce = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LineDrawing.prototype.toObject = function(opt_includeInstance) { return proto.LineDrawing.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LineDrawing} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LineDrawing.toObject = function(includeInstance, msg) { var f, obj = { lines: (f = msg.getLines()) && proto.DrawingLines.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LineDrawing} */ proto.LineDrawing.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LineDrawing; return proto.LineDrawing.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LineDrawing} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LineDrawing} */ proto.LineDrawing.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.DrawingLines; reader.readMessage(value,proto.DrawingLines.deserializeBinaryFromReader); msg.setLines(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LineDrawing.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LineDrawing.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LineDrawing} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LineDrawing.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getLines(); if (f != null) { writer.writeMessage( 1, f, proto.DrawingLines.serializeBinaryToWriter ); } }; /** * optional DrawingLines Lines = 1; * @return {?proto.DrawingLines} */ proto.LineDrawing.prototype.getLines = function() { return /** @type{?proto.DrawingLines} */ ( jspb.Message.getWrapperField(this, proto.DrawingLines, 1)); }; /** * @param {?proto.DrawingLines|undefined} value * @return {!proto.LineDrawing} returns this */ proto.LineDrawing.prototype.setLines = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.LineDrawing} returns this */ proto.LineDrawing.prototype.clearLines = function() { return this.setLines(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LineDrawing.prototype.hasLines = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncContainerData.prototype.toObject = function(opt_includeInstance) { return proto.SyncContainerData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncContainerData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncContainerData.toObject = function(includeInstance, msg) { var f, obj = { vdata: (f = msg.getVdata()) && proto.CharSerialize.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncContainerData} */ proto.SyncContainerData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncContainerData; return proto.SyncContainerData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncContainerData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncContainerData} */ proto.SyncContainerData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.CharSerialize; reader.readMessage(value,proto.CharSerialize.deserializeBinaryFromReader); msg.setVdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncContainerData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncContainerData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncContainerData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncContainerData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVdata(); if (f != null) { writer.writeMessage( 1, f, proto.CharSerialize.serializeBinaryToWriter ); } }; /** * optional CharSerialize VData = 1; * @return {?proto.CharSerialize} */ proto.SyncContainerData.prototype.getVdata = function() { return /** @type{?proto.CharSerialize} */ ( jspb.Message.getWrapperField(this, proto.CharSerialize, 1)); }; /** * @param {?proto.CharSerialize|undefined} value * @return {!proto.SyncContainerData} returns this */ proto.SyncContainerData.prototype.setVdata = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncContainerData} returns this */ proto.SyncContainerData.prototype.clearVdata = function() { return this.setVdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncContainerData.prototype.hasVdata = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncContainerDirtyData.prototype.toObject = function(opt_includeInstance) { return proto.SyncContainerDirtyData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncContainerDirtyData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncContainerDirtyData.toObject = function(includeInstance, msg) { var f, obj = { vdata: (f = msg.getVdata()) && proto.BufferStream.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncContainerDirtyData} */ proto.SyncContainerDirtyData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncContainerDirtyData; return proto.SyncContainerDirtyData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncContainerDirtyData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncContainerDirtyData} */ proto.SyncContainerDirtyData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BufferStream; reader.readMessage(value,proto.BufferStream.deserializeBinaryFromReader); msg.setVdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncContainerDirtyData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncContainerDirtyData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncContainerDirtyData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncContainerDirtyData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVdata(); if (f != null) { writer.writeMessage( 1, f, proto.BufferStream.serializeBinaryToWriter ); } }; /** * optional BufferStream VData = 1; * @return {?proto.BufferStream} */ proto.SyncContainerDirtyData.prototype.getVdata = function() { return /** @type{?proto.BufferStream} */ ( jspb.Message.getWrapperField(this, proto.BufferStream, 1)); }; /** * @param {?proto.BufferStream|undefined} value * @return {!proto.SyncContainerDirtyData} returns this */ proto.SyncContainerDirtyData.prototype.setVdata = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncContainerDirtyData} returns this */ proto.SyncContainerDirtyData.prototype.clearVdata = function() { return this.setVdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncContainerDirtyData.prototype.hasVdata = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncDungeonData.prototype.toObject = function(opt_includeInstance) { return proto.SyncDungeonData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncDungeonData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncDungeonData.toObject = function(includeInstance, msg) { var f, obj = { vdata: (f = msg.getVdata()) && proto.DungeonSyncData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncDungeonData} */ proto.SyncDungeonData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncDungeonData; return proto.SyncDungeonData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncDungeonData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncDungeonData} */ proto.SyncDungeonData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.DungeonSyncData; reader.readMessage(value,proto.DungeonSyncData.deserializeBinaryFromReader); msg.setVdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncDungeonData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncDungeonData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncDungeonData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncDungeonData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVdata(); if (f != null) { writer.writeMessage( 1, f, proto.DungeonSyncData.serializeBinaryToWriter ); } }; /** * optional DungeonSyncData VData = 1; * @return {?proto.DungeonSyncData} */ proto.SyncDungeonData.prototype.getVdata = function() { return /** @type{?proto.DungeonSyncData} */ ( jspb.Message.getWrapperField(this, proto.DungeonSyncData, 1)); }; /** * @param {?proto.DungeonSyncData|undefined} value * @return {!proto.SyncDungeonData} returns this */ proto.SyncDungeonData.prototype.setVdata = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncDungeonData} returns this */ proto.SyncDungeonData.prototype.clearVdata = function() { return this.setVdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDungeonData.prototype.hasVdata = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncDungeonDirtyData.prototype.toObject = function(opt_includeInstance) { return proto.SyncDungeonDirtyData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncDungeonDirtyData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncDungeonDirtyData.toObject = function(includeInstance, msg) { var f, obj = { vdata: (f = msg.getVdata()) && proto.BufferStream.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncDungeonDirtyData} */ proto.SyncDungeonDirtyData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncDungeonDirtyData; return proto.SyncDungeonDirtyData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncDungeonDirtyData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncDungeonDirtyData} */ proto.SyncDungeonDirtyData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BufferStream; reader.readMessage(value,proto.BufferStream.deserializeBinaryFromReader); msg.setVdata(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncDungeonDirtyData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncDungeonDirtyData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncDungeonDirtyData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncDungeonDirtyData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVdata(); if (f != null) { writer.writeMessage( 1, f, proto.BufferStream.serializeBinaryToWriter ); } }; /** * optional BufferStream VData = 1; * @return {?proto.BufferStream} */ proto.SyncDungeonDirtyData.prototype.getVdata = function() { return /** @type{?proto.BufferStream} */ ( jspb.Message.getWrapperField(this, proto.BufferStream, 1)); }; /** * @param {?proto.BufferStream|undefined} value * @return {!proto.SyncDungeonDirtyData} returns this */ proto.SyncDungeonDirtyData.prototype.setVdata = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncDungeonDirtyData} returns this */ proto.SyncDungeonDirtyData.prototype.clearVdata = function() { return this.setVdata(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDungeonDirtyData.prototype.hasVdata = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncPersonalObject.prototype.toObject = function(opt_includeInstance) { return proto.SyncPersonalObject.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncPersonalObject} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncPersonalObject.toObject = function(includeInstance, msg) { var f, obj = { vdatas: (f = msg.getVdatas()) && proto.ScenePersonalObject.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncPersonalObject} */ proto.SyncPersonalObject.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncPersonalObject; return proto.SyncPersonalObject.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncPersonalObject} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncPersonalObject} */ proto.SyncPersonalObject.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ScenePersonalObject; reader.readMessage(value,proto.ScenePersonalObject.deserializeBinaryFromReader); msg.setVdatas(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncPersonalObject.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncPersonalObject.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncPersonalObject} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncPersonalObject.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVdatas(); if (f != null) { writer.writeMessage( 1, f, proto.ScenePersonalObject.serializeBinaryToWriter ); } }; /** * optional ScenePersonalObject VDatas = 1; * @return {?proto.ScenePersonalObject} */ proto.SyncPersonalObject.prototype.getVdatas = function() { return /** @type{?proto.ScenePersonalObject} */ ( jspb.Message.getWrapperField(this, proto.ScenePersonalObject, 1)); }; /** * @param {?proto.ScenePersonalObject|undefined} value * @return {!proto.SyncPersonalObject} returns this */ proto.SyncPersonalObject.prototype.setVdatas = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncPersonalObject} returns this */ proto.SyncPersonalObject.prototype.clearVdatas = function() { return this.setVdatas(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncPersonalObject.prototype.hasVdatas = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PersonalObjectUpdate.prototype.toObject = function(opt_includeInstance) { return proto.PersonalObjectUpdate.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PersonalObjectUpdate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalObjectUpdate.toObject = function(includeInstance, msg) { var f, obj = { vparam: (f = msg.getVparam()) && proto.ServerStateObjectInteractionParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PersonalObjectUpdate} */ proto.PersonalObjectUpdate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PersonalObjectUpdate; return proto.PersonalObjectUpdate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PersonalObjectUpdate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PersonalObjectUpdate} */ proto.PersonalObjectUpdate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ServerStateObjectInteractionParam; reader.readMessage(value,proto.ServerStateObjectInteractionParam.deserializeBinaryFromReader); msg.setVparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PersonalObjectUpdate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PersonalObjectUpdate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PersonalObjectUpdate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalObjectUpdate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVparam(); if (f != null) { writer.writeMessage( 1, f, proto.ServerStateObjectInteractionParam.serializeBinaryToWriter ); } }; /** * optional ServerStateObjectInteractionParam VParam = 1; * @return {?proto.ServerStateObjectInteractionParam} */ proto.PersonalObjectUpdate.prototype.getVparam = function() { return /** @type{?proto.ServerStateObjectInteractionParam} */ ( jspb.Message.getWrapperField(this, proto.ServerStateObjectInteractionParam, 1)); }; /** * @param {?proto.ServerStateObjectInteractionParam|undefined} value * @return {!proto.PersonalObjectUpdate} returns this */ proto.PersonalObjectUpdate.prototype.setVparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.PersonalObjectUpdate} returns this */ proto.PersonalObjectUpdate.prototype.clearVparam = function() { return this.setVparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalObjectUpdate.prototype.hasVparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyReviveUser.prototype.toObject = function(opt_includeInstance) { return proto.NotifyReviveUser.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyReviveUser} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyReviveUser.toObject = function(includeInstance, msg) { var f, obj = { vactoruuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyReviveUser} */ proto.NotifyReviveUser.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyReviveUser; return proto.NotifyReviveUser.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyReviveUser} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyReviveUser} */ proto.NotifyReviveUser.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setVactoruuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyReviveUser.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyReviveUser.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyReviveUser} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyReviveUser.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 VActorUuid = 1; * @return {number} */ proto.NotifyReviveUser.prototype.getVactoruuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.NotifyReviveUser} returns this */ proto.NotifyReviveUser.prototype.setVactoruuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyReviveUser} returns this */ proto.NotifyReviveUser.prototype.clearVactoruuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyReviveUser.prototype.hasVactoruuid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncServerTime.prototype.toObject = function(opt_includeInstance) { return proto.SyncServerTime.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncServerTime} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerTime.toObject = function(includeInstance, msg) { var f, obj = { clientmilliseconds: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, servermilliseconds: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncServerTime} */ proto.SyncServerTime.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncServerTime; return proto.SyncServerTime.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncServerTime} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncServerTime} */ proto.SyncServerTime.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setClientmilliseconds(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setServermilliseconds(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncServerTime.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncServerTime.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncServerTime} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerTime.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int64 ClientMilliseconds = 1; * @return {number} */ proto.SyncServerTime.prototype.getClientmilliseconds = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncServerTime} returns this */ proto.SyncServerTime.prototype.setClientmilliseconds = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncServerTime} returns this */ proto.SyncServerTime.prototype.clearClientmilliseconds = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncServerTime.prototype.hasClientmilliseconds = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 ServerMilliseconds = 2; * @return {number} */ proto.SyncServerTime.prototype.getServermilliseconds = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SyncServerTime} returns this */ proto.SyncServerTime.prototype.setServermilliseconds = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncServerTime} returns this */ proto.SyncServerTime.prototype.clearServermilliseconds = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncServerTime.prototype.hasServermilliseconds = function() { return jspb.Message.getField(this, 2) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SyncNearDeltaInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncNearDeltaInfo.prototype.toObject = function(opt_includeInstance) { return proto.SyncNearDeltaInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncNearDeltaInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncNearDeltaInfo.toObject = function(includeInstance, msg) { var f, obj = { deltainfosList: jspb.Message.toObjectList(msg.getDeltainfosList(), proto.AoiSyncDelta.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncNearDeltaInfo} */ proto.SyncNearDeltaInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncNearDeltaInfo; return proto.SyncNearDeltaInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncNearDeltaInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncNearDeltaInfo} */ proto.SyncNearDeltaInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.AoiSyncDelta; reader.readMessage(value,proto.AoiSyncDelta.deserializeBinaryFromReader); msg.addDeltainfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncNearDeltaInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncNearDeltaInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncNearDeltaInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncNearDeltaInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDeltainfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.AoiSyncDelta.serializeBinaryToWriter ); } }; /** * repeated AoiSyncDelta DeltaInfos = 1; * @return {!Array} */ proto.SyncNearDeltaInfo.prototype.getDeltainfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.AoiSyncDelta, 1)); }; /** * @param {!Array} value * @return {!proto.SyncNearDeltaInfo} returns this */ proto.SyncNearDeltaInfo.prototype.setDeltainfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.AoiSyncDelta=} opt_value * @param {number=} opt_index * @return {!proto.AoiSyncDelta} */ proto.SyncNearDeltaInfo.prototype.addDeltainfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.AoiSyncDelta, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SyncNearDeltaInfo} returns this */ proto.SyncNearDeltaInfo.prototype.clearDeltainfosList = function() { return this.setDeltainfosList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncToMeDeltaInfo.prototype.toObject = function(opt_includeInstance) { return proto.SyncToMeDeltaInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncToMeDeltaInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncToMeDeltaInfo.toObject = function(includeInstance, msg) { var f, obj = { deltainfo: (f = msg.getDeltainfo()) && proto.AoiSyncToMeDelta.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncToMeDeltaInfo} */ proto.SyncToMeDeltaInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncToMeDeltaInfo; return proto.SyncToMeDeltaInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncToMeDeltaInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncToMeDeltaInfo} */ proto.SyncToMeDeltaInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.AoiSyncToMeDelta; reader.readMessage(value,proto.AoiSyncToMeDelta.deserializeBinaryFromReader); msg.setDeltainfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncToMeDeltaInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncToMeDeltaInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncToMeDeltaInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncToMeDeltaInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getDeltainfo(); if (f != null) { writer.writeMessage( 1, f, proto.AoiSyncToMeDelta.serializeBinaryToWriter ); } }; /** * optional AoiSyncToMeDelta DeltaInfo = 1; * @return {?proto.AoiSyncToMeDelta} */ proto.SyncToMeDeltaInfo.prototype.getDeltainfo = function() { return /** @type{?proto.AoiSyncToMeDelta} */ ( jspb.Message.getWrapperField(this, proto.AoiSyncToMeDelta, 1)); }; /** * @param {?proto.AoiSyncToMeDelta|undefined} value * @return {!proto.SyncToMeDeltaInfo} returns this */ proto.SyncToMeDeltaInfo.prototype.setDeltainfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncToMeDeltaInfo} returns this */ proto.SyncToMeDeltaInfo.prototype.clearDeltainfo = function() { return this.setDeltainfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncToMeDeltaInfo.prototype.hasDeltainfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyClientKickOff.prototype.toObject = function(opt_includeInstance) { return proto.NotifyClientKickOff.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyClientKickOff} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyClientKickOff.toObject = function(includeInstance, msg) { var f, obj = { errcode: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyClientKickOff} */ proto.NotifyClientKickOff.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyClientKickOff; return proto.NotifyClientKickOff.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyClientKickOff} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyClientKickOff} */ proto.NotifyClientKickOff.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EErrorCode} */ (reader.readEnum()); msg.setErrcode(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyClientKickOff.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyClientKickOff.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyClientKickOff} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyClientKickOff.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EErrorCode} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } }; /** * optional EErrorCode ErrCode = 1; * @return {!proto.EErrorCode} */ proto.NotifyClientKickOff.prototype.getErrcode = function() { return /** @type {!proto.EErrorCode} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EErrorCode} value * @return {!proto.NotifyClientKickOff} returns this */ proto.NotifyClientKickOff.prototype.setErrcode = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyClientKickOff} returns this */ proto.NotifyClientKickOff.prototype.clearErrcode = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyClientKickOff.prototype.hasErrcode = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PersonalGroupObjectUpdate.prototype.toObject = function(opt_includeInstance) { return proto.PersonalGroupObjectUpdate.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PersonalGroupObjectUpdate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalGroupObjectUpdate.toObject = function(includeInstance, msg) { var f, obj = { vparamlist: (f = msg.getVparamlist()) && proto.ServerStateObjectInteractionList.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PersonalGroupObjectUpdate} */ proto.PersonalGroupObjectUpdate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PersonalGroupObjectUpdate; return proto.PersonalGroupObjectUpdate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PersonalGroupObjectUpdate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PersonalGroupObjectUpdate} */ proto.PersonalGroupObjectUpdate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ServerStateObjectInteractionList; reader.readMessage(value,proto.ServerStateObjectInteractionList.deserializeBinaryFromReader); msg.setVparamlist(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PersonalGroupObjectUpdate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PersonalGroupObjectUpdate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PersonalGroupObjectUpdate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalGroupObjectUpdate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVparamlist(); if (f != null) { writer.writeMessage( 1, f, proto.ServerStateObjectInteractionList.serializeBinaryToWriter ); } }; /** * optional ServerStateObjectInteractionList VParamList = 1; * @return {?proto.ServerStateObjectInteractionList} */ proto.PersonalGroupObjectUpdate.prototype.getVparamlist = function() { return /** @type{?proto.ServerStateObjectInteractionList} */ ( jspb.Message.getWrapperField(this, proto.ServerStateObjectInteractionList, 1)); }; /** * @param {?proto.ServerStateObjectInteractionList|undefined} value * @return {!proto.PersonalGroupObjectUpdate} returns this */ proto.PersonalGroupObjectUpdate.prototype.setVparamlist = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.PersonalGroupObjectUpdate} returns this */ proto.PersonalGroupObjectUpdate.prototype.clearVparamlist = function() { return this.setVparamlist(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalGroupObjectUpdate.prototype.hasVparamlist = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyUserCloseFunction.prototype.toObject = function(opt_includeInstance) { return proto.NotifyUserCloseFunction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyUserCloseFunction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyUserCloseFunction.toObject = function(includeInstance, msg) { var f, obj = { vparam: (f = msg.getVparam()) && proto.NotifyFunctionParams.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyUserCloseFunction} */ proto.NotifyUserCloseFunction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyUserCloseFunction; return proto.NotifyUserCloseFunction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyUserCloseFunction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyUserCloseFunction} */ proto.NotifyUserCloseFunction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyFunctionParams; reader.readMessage(value,proto.NotifyFunctionParams.deserializeBinaryFromReader); msg.setVparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyUserCloseFunction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyUserCloseFunction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyUserCloseFunction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyUserCloseFunction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVparam(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyFunctionParams.serializeBinaryToWriter ); } }; /** * optional NotifyFunctionParams VParam = 1; * @return {?proto.NotifyFunctionParams} */ proto.NotifyUserCloseFunction.prototype.getVparam = function() { return /** @type{?proto.NotifyFunctionParams} */ ( jspb.Message.getWrapperField(this, proto.NotifyFunctionParams, 1)); }; /** * @param {?proto.NotifyFunctionParams|undefined} value * @return {!proto.NotifyUserCloseFunction} returns this */ proto.NotifyUserCloseFunction.prototype.setVparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyUserCloseFunction} returns this */ proto.NotifyUserCloseFunction.prototype.clearVparam = function() { return this.setVparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyUserCloseFunction.prototype.hasVparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyServerCloseFunction.prototype.toObject = function(opt_includeInstance) { return proto.NotifyServerCloseFunction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyServerCloseFunction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyServerCloseFunction.toObject = function(includeInstance, msg) { var f, obj = { vparam: (f = msg.getVparam()) && proto.NotifyFunctionParams.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyServerCloseFunction} */ proto.NotifyServerCloseFunction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyServerCloseFunction; return proto.NotifyServerCloseFunction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyServerCloseFunction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyServerCloseFunction} */ proto.NotifyServerCloseFunction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyFunctionParams; reader.readMessage(value,proto.NotifyFunctionParams.deserializeBinaryFromReader); msg.setVparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyServerCloseFunction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyServerCloseFunction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyServerCloseFunction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyServerCloseFunction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVparam(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyFunctionParams.serializeBinaryToWriter ); } }; /** * optional NotifyFunctionParams VParam = 1; * @return {?proto.NotifyFunctionParams} */ proto.NotifyServerCloseFunction.prototype.getVparam = function() { return /** @type{?proto.NotifyFunctionParams} */ ( jspb.Message.getWrapperField(this, proto.NotifyFunctionParams, 1)); }; /** * @param {?proto.NotifyFunctionParams|undefined} value * @return {!proto.NotifyServerCloseFunction} returns this */ proto.NotifyServerCloseFunction.prototype.setVparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyServerCloseFunction} returns this */ proto.NotifyServerCloseFunction.prototype.clearVparam = function() { return this.setVparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyServerCloseFunction.prototype.hasVparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.BounceJump.prototype.toObject = function(opt_includeInstance) { return proto.BounceJump.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.BounceJump} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BounceJump.toObject = function(includeInstance, msg) { var f, obj = { bouncejumpid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, axisrefuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, veldirx: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, veldiry: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f, veldirz: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.BounceJump} */ proto.BounceJump.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.BounceJump; return proto.BounceJump.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.BounceJump} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.BounceJump} */ proto.BounceJump.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setBouncejumpid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setAxisrefuuid(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setVeldirx(value); break; case 4: var value = /** @type {number} */ (reader.readFloat()); msg.setVeldiry(value); break; case 5: var value = /** @type {number} */ (reader.readFloat()); msg.setVeldirz(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.BounceJump.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.BounceJump.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.BounceJump} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.BounceJump.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeFloat( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeFloat( 5, f ); } }; /** * optional int32 BounceJumpId = 1; * @return {number} */ proto.BounceJump.prototype.getBouncejumpid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.setBouncejumpid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.clearBouncejumpid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BounceJump.prototype.hasBouncejumpid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 AxisRefUuid = 2; * @return {number} */ proto.BounceJump.prototype.getAxisrefuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.setAxisrefuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.clearAxisrefuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BounceJump.prototype.hasAxisrefuuid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float VelDirX = 3; * @return {number} */ proto.BounceJump.prototype.getVeldirx = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.setVeldirx = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.clearVeldirx = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BounceJump.prototype.hasVeldirx = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional float VelDirY = 4; * @return {number} */ proto.BounceJump.prototype.getVeldiry = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); }; /** * @param {number} value * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.setVeldiry = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.clearVeldiry = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BounceJump.prototype.hasVeldiry = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional float VelDirZ = 5; * @return {number} */ proto.BounceJump.prototype.getVeldirz = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0)); }; /** * @param {number} value * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.setVeldirz = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.BounceJump} returns this */ proto.BounceJump.prototype.clearVeldirz = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.BounceJump.prototype.hasVeldirz = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ServerStateObjectUpdate.prototype.toObject = function(opt_includeInstance) { return proto.ServerStateObjectUpdate.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ServerStateObjectUpdate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerStateObjectUpdate.toObject = function(includeInstance, msg) { var f, obj = { vobject: (f = msg.getVobject()) && proto.ServerStateObjectInteractionList.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ServerStateObjectUpdate} */ proto.ServerStateObjectUpdate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ServerStateObjectUpdate; return proto.ServerStateObjectUpdate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ServerStateObjectUpdate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ServerStateObjectUpdate} */ proto.ServerStateObjectUpdate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ServerStateObjectInteractionList; reader.readMessage(value,proto.ServerStateObjectInteractionList.deserializeBinaryFromReader); msg.setVobject(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ServerStateObjectUpdate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ServerStateObjectUpdate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ServerStateObjectUpdate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ServerStateObjectUpdate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVobject(); if (f != null) { writer.writeMessage( 1, f, proto.ServerStateObjectInteractionList.serializeBinaryToWriter ); } }; /** * optional ServerStateObjectInteractionList VObject = 1; * @return {?proto.ServerStateObjectInteractionList} */ proto.ServerStateObjectUpdate.prototype.getVobject = function() { return /** @type{?proto.ServerStateObjectInteractionList} */ ( jspb.Message.getWrapperField(this, proto.ServerStateObjectInteractionList, 1)); }; /** * @param {?proto.ServerStateObjectInteractionList|undefined} value * @return {!proto.ServerStateObjectUpdate} returns this */ proto.ServerStateObjectUpdate.prototype.setVobject = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.ServerStateObjectUpdate} returns this */ proto.ServerStateObjectUpdate.prototype.clearVobject = function() { return this.setVobject(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ServerStateObjectUpdate.prototype.hasVobject = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncAllServerStateObject.prototype.toObject = function(opt_includeInstance) { return proto.SyncAllServerStateObject.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncAllServerStateObject} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncAllServerStateObject.toObject = function(includeInstance, msg) { var f, obj = { vobject: (f = msg.getVobject()) && proto.ServerStateObjectInteractionList.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncAllServerStateObject} */ proto.SyncAllServerStateObject.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncAllServerStateObject; return proto.SyncAllServerStateObject.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncAllServerStateObject} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncAllServerStateObject} */ proto.SyncAllServerStateObject.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ServerStateObjectInteractionList; reader.readMessage(value,proto.ServerStateObjectInteractionList.deserializeBinaryFromReader); msg.setVobject(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncAllServerStateObject.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncAllServerStateObject.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncAllServerStateObject} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncAllServerStateObject.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVobject(); if (f != null) { writer.writeMessage( 1, f, proto.ServerStateObjectInteractionList.serializeBinaryToWriter ); } }; /** * optional ServerStateObjectInteractionList VObject = 1; * @return {?proto.ServerStateObjectInteractionList} */ proto.SyncAllServerStateObject.prototype.getVobject = function() { return /** @type{?proto.ServerStateObjectInteractionList} */ ( jspb.Message.getWrapperField(this, proto.ServerStateObjectInteractionList, 1)); }; /** * @param {?proto.ServerStateObjectInteractionList|undefined} value * @return {!proto.SyncAllServerStateObject} returns this */ proto.SyncAllServerStateObject.prototype.setVobject = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncAllServerStateObject} returns this */ proto.SyncAllServerStateObject.prototype.clearVobject = function() { return this.setVobject(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncAllServerStateObject.prototype.hasVobject = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyTimerList.prototype.toObject = function(opt_includeInstance) { return proto.NotifyTimerList.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyTimerList} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyTimerList.toObject = function(includeInstance, msg) { var f, obj = { timerinfo: (f = msg.getTimerinfo()) && proto.NotifyTimerListParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyTimerList} */ proto.NotifyTimerList.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyTimerList; return proto.NotifyTimerList.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyTimerList} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyTimerList} */ proto.NotifyTimerList.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyTimerListParam; reader.readMessage(value,proto.NotifyTimerListParam.deserializeBinaryFromReader); msg.setTimerinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyTimerList.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyTimerList.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyTimerList} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyTimerList.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTimerinfo(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyTimerListParam.serializeBinaryToWriter ); } }; /** * optional NotifyTimerListParam TimerInfo = 1; * @return {?proto.NotifyTimerListParam} */ proto.NotifyTimerList.prototype.getTimerinfo = function() { return /** @type{?proto.NotifyTimerListParam} */ ( jspb.Message.getWrapperField(this, proto.NotifyTimerListParam, 1)); }; /** * @param {?proto.NotifyTimerListParam|undefined} value * @return {!proto.NotifyTimerList} returns this */ proto.NotifyTimerList.prototype.setTimerinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyTimerList} returns this */ proto.NotifyTimerList.prototype.clearTimerinfo = function() { return this.setTimerinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyTimerList.prototype.hasTimerinfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyTimerUpdate.prototype.toObject = function(opt_includeInstance) { return proto.NotifyTimerUpdate.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyTimerUpdate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyTimerUpdate.toObject = function(includeInstance, msg) { var f, obj = { timerinfo: (f = msg.getTimerinfo()) && proto.TimerInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyTimerUpdate} */ proto.NotifyTimerUpdate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyTimerUpdate; return proto.NotifyTimerUpdate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyTimerUpdate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyTimerUpdate} */ proto.NotifyTimerUpdate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TimerInfo; reader.readMessage(value,proto.TimerInfo.deserializeBinaryFromReader); msg.setTimerinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyTimerUpdate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyTimerUpdate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyTimerUpdate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyTimerUpdate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTimerinfo(); if (f != null) { writer.writeMessage( 1, f, proto.TimerInfo.serializeBinaryToWriter ); } }; /** * optional TimerInfo TimerInfo = 1; * @return {?proto.TimerInfo} */ proto.NotifyTimerUpdate.prototype.getTimerinfo = function() { return /** @type{?proto.TimerInfo} */ ( jspb.Message.getWrapperField(this, proto.TimerInfo, 1)); }; /** * @param {?proto.TimerInfo|undefined} value * @return {!proto.NotifyTimerUpdate} returns this */ proto.NotifyTimerUpdate.prototype.setTimerinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyTimerUpdate} returns this */ proto.NotifyTimerUpdate.prototype.clearTimerinfo = function() { return this.setTimerinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyTimerUpdate.prototype.hasTimerinfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyPlayerBeginInteraction.prototype.toObject = function(opt_includeInstance) { return proto.NotifyPlayerBeginInteraction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyPlayerBeginInteraction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyPlayerBeginInteraction.toObject = function(includeInstance, msg) { var f, obj = { vparam: (f = msg.getVparam()) && proto.NotifyPlayerBeginInteractionParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyPlayerBeginInteraction} */ proto.NotifyPlayerBeginInteraction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyPlayerBeginInteraction; return proto.NotifyPlayerBeginInteraction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyPlayerBeginInteraction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyPlayerBeginInteraction} */ proto.NotifyPlayerBeginInteraction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyPlayerBeginInteractionParam; reader.readMessage(value,proto.NotifyPlayerBeginInteractionParam.deserializeBinaryFromReader); msg.setVparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyPlayerBeginInteraction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyPlayerBeginInteraction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyPlayerBeginInteraction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyPlayerBeginInteraction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVparam(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyPlayerBeginInteractionParam.serializeBinaryToWriter ); } }; /** * optional NotifyPlayerBeginInteractionParam VParam = 1; * @return {?proto.NotifyPlayerBeginInteractionParam} */ proto.NotifyPlayerBeginInteraction.prototype.getVparam = function() { return /** @type{?proto.NotifyPlayerBeginInteractionParam} */ ( jspb.Message.getWrapperField(this, proto.NotifyPlayerBeginInteractionParam, 1)); }; /** * @param {?proto.NotifyPlayerBeginInteractionParam|undefined} value * @return {!proto.NotifyPlayerBeginInteraction} returns this */ proto.NotifyPlayerBeginInteraction.prototype.setVparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyPlayerBeginInteraction} returns this */ proto.NotifyPlayerBeginInteraction.prototype.clearVparam = function() { return this.setVparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyPlayerBeginInteraction.prototype.hasVparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncSubSceneAttrs.prototype.toObject = function(opt_includeInstance) { return proto.SyncSubSceneAttrs.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncSubSceneAttrs} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSubSceneAttrs.toObject = function(includeInstance, msg) { var f, obj = { attrs: (f = msg.getAttrs()) && proto.AttrCollection.toObject(includeInstance, f), isfirstenter: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncSubSceneAttrs} */ proto.SyncSubSceneAttrs.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncSubSceneAttrs; return proto.SyncSubSceneAttrs.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncSubSceneAttrs} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncSubSceneAttrs} */ proto.SyncSubSceneAttrs.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.AttrCollection; reader.readMessage(value,proto.AttrCollection.deserializeBinaryFromReader); msg.setAttrs(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsfirstenter(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncSubSceneAttrs.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncSubSceneAttrs.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncSubSceneAttrs} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSubSceneAttrs.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAttrs(); if (f != null) { writer.writeMessage( 1, f, proto.AttrCollection.serializeBinaryToWriter ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * optional AttrCollection Attrs = 1; * @return {?proto.AttrCollection} */ proto.SyncSubSceneAttrs.prototype.getAttrs = function() { return /** @type{?proto.AttrCollection} */ ( jspb.Message.getWrapperField(this, proto.AttrCollection, 1)); }; /** * @param {?proto.AttrCollection|undefined} value * @return {!proto.SyncSubSceneAttrs} returns this */ proto.SyncSubSceneAttrs.prototype.setAttrs = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncSubSceneAttrs} returns this */ proto.SyncSubSceneAttrs.prototype.clearAttrs = function() { return this.setAttrs(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSubSceneAttrs.prototype.hasAttrs = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool IsFirstEnter = 2; * @return {boolean} */ proto.SyncSubSceneAttrs.prototype.getIsfirstenter = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.SyncSubSceneAttrs} returns this */ proto.SyncSubSceneAttrs.prototype.setIsfirstenter = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncSubSceneAttrs} returns this */ proto.SyncSubSceneAttrs.prototype.clearIsfirstenter = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSubSceneAttrs.prototype.hasIsfirstenter = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncClientUseSkill.prototype.toObject = function(opt_includeInstance) { return proto.SyncClientUseSkill.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncClientUseSkill} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncClientUseSkill.toObject = function(includeInstance, msg) { var f, obj = { skilltargetuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skilllevelid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncClientUseSkill} */ proto.SyncClientUseSkill.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncClientUseSkill; return proto.SyncClientUseSkill.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncClientUseSkill} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncClientUseSkill} */ proto.SyncClientUseSkill.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setSkilltargetuuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilllevelid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncClientUseSkill.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncClientUseSkill.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncClientUseSkill} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncClientUseSkill.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int64 SkillTargetUuid = 1; * @return {number} */ proto.SyncClientUseSkill.prototype.getSkilltargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncClientUseSkill} returns this */ proto.SyncClientUseSkill.prototype.setSkilltargetuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncClientUseSkill} returns this */ proto.SyncClientUseSkill.prototype.clearSkilltargetuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncClientUseSkill.prototype.hasSkilltargetuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SkillLevelId = 2; * @return {number} */ proto.SyncClientUseSkill.prototype.getSkilllevelid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SyncClientUseSkill} returns this */ proto.SyncClientUseSkill.prototype.setSkilllevelid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncClientUseSkill} returns this */ proto.SyncClientUseSkill.prototype.clearSkilllevelid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncClientUseSkill.prototype.hasSkilllevelid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyBuffChange.prototype.toObject = function(opt_includeInstance) { return proto.NotifyBuffChange.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyBuffChange} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyBuffChange.toObject = function(includeInstance, msg) { var f, obj = { oldbuffid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, newbuffid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyBuffChange} */ proto.NotifyBuffChange.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyBuffChange; return proto.NotifyBuffChange.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyBuffChange} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyBuffChange} */ proto.NotifyBuffChange.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setOldbuffid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setNewbuffid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyBuffChange.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyBuffChange.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyBuffChange} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyBuffChange.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 OldBuffId = 1; * @return {number} */ proto.NotifyBuffChange.prototype.getOldbuffid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.NotifyBuffChange} returns this */ proto.NotifyBuffChange.prototype.setOldbuffid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyBuffChange} returns this */ proto.NotifyBuffChange.prototype.clearOldbuffid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyBuffChange.prototype.hasOldbuffid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 NewBuffId = 2; * @return {number} */ proto.NotifyBuffChange.prototype.getNewbuffid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.NotifyBuffChange} returns this */ proto.NotifyBuffChange.prototype.setNewbuffid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.NotifyBuffChange} returns this */ proto.NotifyBuffChange.prototype.clearNewbuffid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyBuffChange.prototype.hasNewbuffid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncServerSkillStageEnd.prototype.toObject = function(opt_includeInstance) { return proto.SyncServerSkillStageEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncServerSkillStageEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerSkillStageEnd.toObject = function(includeInstance, msg) { var f, obj = { skillstageendinfo: (f = msg.getSkillstageendinfo()) && proto.ServerSkillStageEnd.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncServerSkillStageEnd} */ proto.SyncServerSkillStageEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncServerSkillStageEnd; return proto.SyncServerSkillStageEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncServerSkillStageEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncServerSkillStageEnd} */ proto.SyncServerSkillStageEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ServerSkillStageEnd; reader.readMessage(value,proto.ServerSkillStageEnd.deserializeBinaryFromReader); msg.setSkillstageendinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncServerSkillStageEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncServerSkillStageEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncServerSkillStageEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerSkillStageEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSkillstageendinfo(); if (f != null) { writer.writeMessage( 1, f, proto.ServerSkillStageEnd.serializeBinaryToWriter ); } }; /** * optional ServerSkillStageEnd SkillStageEndInfo = 1; * @return {?proto.ServerSkillStageEnd} */ proto.SyncServerSkillStageEnd.prototype.getSkillstageendinfo = function() { return /** @type{?proto.ServerSkillStageEnd} */ ( jspb.Message.getWrapperField(this, proto.ServerSkillStageEnd, 1)); }; /** * @param {?proto.ServerSkillStageEnd|undefined} value * @return {!proto.SyncServerSkillStageEnd} returns this */ proto.SyncServerSkillStageEnd.prototype.setSkillstageendinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncServerSkillStageEnd} returns this */ proto.SyncServerSkillStageEnd.prototype.clearSkillstageendinfo = function() { return this.setSkillstageendinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncServerSkillStageEnd.prototype.hasSkillstageendinfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncServerSkillEnd.prototype.toObject = function(opt_includeInstance) { return proto.SyncServerSkillEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncServerSkillEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerSkillEnd.toObject = function(includeInstance, msg) { var f, obj = { skilluuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncServerSkillEnd} */ proto.SyncServerSkillEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncServerSkillEnd; return proto.SyncServerSkillEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncServerSkillEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncServerSkillEnd} */ proto.SyncServerSkillEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncServerSkillEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncServerSkillEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncServerSkillEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerSkillEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 SkillUuid = 1; * @return {number} */ proto.SyncServerSkillEnd.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncServerSkillEnd} returns this */ proto.SyncServerSkillEnd.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncServerSkillEnd} returns this */ proto.SyncServerSkillEnd.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncServerSkillEnd.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncServerSkillSingingTimeSub.prototype.toObject = function(opt_includeInstance) { return proto.SyncServerSkillSingingTimeSub.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncServerSkillSingingTimeSub} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerSkillSingingTimeSub.toObject = function(includeInstance, msg) { var f, obj = { skilluuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, time: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncServerSkillSingingTimeSub} */ proto.SyncServerSkillSingingTimeSub.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncServerSkillSingingTimeSub; return proto.SyncServerSkillSingingTimeSub.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncServerSkillSingingTimeSub} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncServerSkillSingingTimeSub} */ proto.SyncServerSkillSingingTimeSub.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setTime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncServerSkillSingingTimeSub.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncServerSkillSingingTimeSub.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncServerSkillSingingTimeSub} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncServerSkillSingingTimeSub.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 SkillUuid = 1; * @return {number} */ proto.SyncServerSkillSingingTimeSub.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncServerSkillSingingTimeSub} returns this */ proto.SyncServerSkillSingingTimeSub.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncServerSkillSingingTimeSub} returns this */ proto.SyncServerSkillSingingTimeSub.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncServerSkillSingingTimeSub.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 Time = 2; * @return {number} */ proto.SyncServerSkillSingingTimeSub.prototype.getTime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SyncServerSkillSingingTimeSub} returns this */ proto.SyncServerSkillSingingTimeSub.prototype.setTime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncServerSkillSingingTimeSub} returns this */ proto.SyncServerSkillSingingTimeSub.prototype.clearTime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncServerSkillSingingTimeSub.prototype.hasTime = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyKickOutOff.prototype.toObject = function(opt_includeInstance) { return proto.NotifyKickOutOff.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyKickOutOff} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyKickOutOff.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.NotifyKickOutOffRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyKickOutOff} */ proto.NotifyKickOutOff.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyKickOutOff; return proto.NotifyKickOutOff.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyKickOutOff} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyKickOutOff} */ proto.NotifyKickOutOff.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyKickOutOffRequest; reader.readMessage(value,proto.NotifyKickOutOffRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyKickOutOff.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyKickOutOff.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyKickOutOff} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyKickOutOff.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyKickOutOffRequest.serializeBinaryToWriter ); } }; /** * optional NotifyKickOutOffRequest VRequest = 1; * @return {?proto.NotifyKickOutOffRequest} */ proto.NotifyKickOutOff.prototype.getVrequest = function() { return /** @type{?proto.NotifyKickOutOffRequest} */ ( jspb.Message.getWrapperField(this, proto.NotifyKickOutOffRequest, 1)); }; /** * @param {?proto.NotifyKickOutOffRequest|undefined} value * @return {!proto.NotifyKickOutOff} returns this */ proto.NotifyKickOutOff.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyKickOutOff} returns this */ proto.NotifyKickOutOff.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyKickOutOff.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyEnterWorld.prototype.toObject = function(opt_includeInstance) { return proto.NotifyEnterWorld.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyEnterWorld} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyEnterWorld.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.NotifyEnterWorldRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyEnterWorld} */ proto.NotifyEnterWorld.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyEnterWorld; return proto.NotifyEnterWorld.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyEnterWorld} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyEnterWorld} */ proto.NotifyEnterWorld.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyEnterWorldRequest; reader.readMessage(value,proto.NotifyEnterWorldRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyEnterWorld.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyEnterWorld.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyEnterWorld} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyEnterWorld.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyEnterWorldRequest.serializeBinaryToWriter ); } }; /** * optional NotifyEnterWorldRequest VRequest = 1; * @return {?proto.NotifyEnterWorldRequest} */ proto.NotifyEnterWorld.prototype.getVrequest = function() { return /** @type{?proto.NotifyEnterWorldRequest} */ ( jspb.Message.getWrapperField(this, proto.NotifyEnterWorldRequest, 1)); }; /** * @param {?proto.NotifyEnterWorldRequest|undefined} value * @return {!proto.NotifyEnterWorld} returns this */ proto.NotifyEnterWorld.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyEnterWorld} returns this */ proto.NotifyEnterWorld.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyEnterWorld.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ChangeCharFunctionState.prototype.toObject = function(opt_includeInstance) { return proto.ChangeCharFunctionState.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ChangeCharFunctionState} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ChangeCharFunctionState.toObject = function(includeInstance, msg) { var f, obj = { statetype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ChangeCharFunctionState} */ proto.ChangeCharFunctionState.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ChangeCharFunctionState; return proto.ChangeCharFunctionState.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ChangeCharFunctionState} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ChangeCharFunctionState} */ proto.ChangeCharFunctionState.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EActorState} */ (reader.readEnum()); msg.setStatetype(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ChangeCharFunctionState.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ChangeCharFunctionState.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ChangeCharFunctionState} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ChangeCharFunctionState.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EActorState} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } }; /** * optional EActorState StateType = 1; * @return {!proto.EActorState} */ proto.ChangeCharFunctionState.prototype.getStatetype = function() { return /** @type {!proto.EActorState} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EActorState} value * @return {!proto.ChangeCharFunctionState} returns this */ proto.ChangeCharFunctionState.prototype.setStatetype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ChangeCharFunctionState} returns this */ proto.ChangeCharFunctionState.prototype.clearStatetype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ChangeCharFunctionState.prototype.hasStatetype = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ClientBreakState.prototype.toObject = function(opt_includeInstance) { return proto.ClientBreakState.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ClientBreakState} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientBreakState.toObject = function(includeInstance, msg) { var f, obj = { voperator: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ClientBreakState} */ proto.ClientBreakState.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ClientBreakState; return proto.ClientBreakState.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ClientBreakState} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ClientBreakState} */ proto.ClientBreakState.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setVoperator(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ClientBreakState.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ClientBreakState.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ClientBreakState} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientBreakState.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 VOperator = 1; * @return {number} */ proto.ClientBreakState.prototype.getVoperator = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ClientBreakState} returns this */ proto.ClientBreakState.prototype.setVoperator = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientBreakState} returns this */ proto.ClientBreakState.prototype.clearVoperator = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientBreakState.prototype.hasVoperator = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GMCommand.prototype.toObject = function(opt_includeInstance) { return proto.GMCommand.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GMCommand} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GMCommand.toObject = function(includeInstance, msg) { var f, obj = { cmd: (f = msg.getCmd()) && proto.GmCmd.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GMCommand} */ proto.GMCommand.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GMCommand; return proto.GMCommand.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GMCommand} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GMCommand} */ proto.GMCommand.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.GmCmd; reader.readMessage(value,proto.GmCmd.deserializeBinaryFromReader); msg.setCmd(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GMCommand.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GMCommand.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GMCommand} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GMCommand.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCmd(); if (f != null) { writer.writeMessage( 1, f, proto.GmCmd.serializeBinaryToWriter ); } }; /** * optional GmCmd Cmd = 1; * @return {?proto.GmCmd} */ proto.GMCommand.prototype.getCmd = function() { return /** @type{?proto.GmCmd} */ ( jspb.Message.getWrapperField(this, proto.GmCmd, 1)); }; /** * @param {?proto.GmCmd|undefined} value * @return {!proto.GMCommand} returns this */ proto.GMCommand.prototype.setCmd = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.GMCommand} returns this */ proto.GMCommand.prototype.clearCmd = function() { return this.setCmd(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GMCommand.prototype.hasCmd = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonitorBehaviorTreeOfEntity.prototype.toObject = function(opt_includeInstance) { return proto.MonitorBehaviorTreeOfEntity.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonitorBehaviorTreeOfEntity} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonitorBehaviorTreeOfEntity.toObject = function(includeInstance, msg) { var f, obj = { entityid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonitorBehaviorTreeOfEntity} */ proto.MonitorBehaviorTreeOfEntity.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonitorBehaviorTreeOfEntity; return proto.MonitorBehaviorTreeOfEntity.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonitorBehaviorTreeOfEntity} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonitorBehaviorTreeOfEntity} */ proto.MonitorBehaviorTreeOfEntity.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setEntityid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonitorBehaviorTreeOfEntity.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonitorBehaviorTreeOfEntity.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonitorBehaviorTreeOfEntity} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonitorBehaviorTreeOfEntity.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 EntityId = 1; * @return {number} */ proto.MonitorBehaviorTreeOfEntity.prototype.getEntityid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MonitorBehaviorTreeOfEntity} returns this */ proto.MonitorBehaviorTreeOfEntity.prototype.setEntityid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MonitorBehaviorTreeOfEntity} returns this */ proto.MonitorBehaviorTreeOfEntity.prototype.clearEntityid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonitorBehaviorTreeOfEntity.prototype.hasEntityid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ReqServerTime.prototype.toObject = function(opt_includeInstance) { return proto.ReqServerTime.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ReqServerTime} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ReqServerTime.toObject = function(includeInstance, msg) { var f, obj = { clientmilliseconds: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ReqServerTime} */ proto.ReqServerTime.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ReqServerTime; return proto.ReqServerTime.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ReqServerTime} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ReqServerTime} */ proto.ReqServerTime.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setClientmilliseconds(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ReqServerTime.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ReqServerTime.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ReqServerTime} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ReqServerTime.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 ClientMilliseconds = 1; * @return {number} */ proto.ReqServerTime.prototype.getClientmilliseconds = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ReqServerTime} returns this */ proto.ReqServerTime.prototype.setClientmilliseconds = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ReqServerTime} returns this */ proto.ReqServerTime.prototype.clearClientmilliseconds = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ReqServerTime.prototype.hasClientmilliseconds = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncPathNode.prototype.toObject = function(opt_includeInstance) { return proto.SyncPathNode.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncPathNode} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncPathNode.toObject = function(includeInstance, msg) { var f, obj = { entityid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncPathNode} */ proto.SyncPathNode.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncPathNode; return proto.SyncPathNode.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncPathNode} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncPathNode} */ proto.SyncPathNode.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setEntityid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncPathNode.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncPathNode.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncPathNode} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncPathNode.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 EntityId = 1; * @return {number} */ proto.SyncPathNode.prototype.getEntityid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncPathNode} returns this */ proto.SyncPathNode.prototype.setEntityid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncPathNode} returns this */ proto.SyncPathNode.prototype.clearEntityid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncPathNode.prototype.hasEntityid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayEmote.prototype.toObject = function(opt_includeInstance) { return proto.PlayEmote.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayEmote} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayEmote.toObject = function(includeInstance, msg) { var f, obj = { emoteid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayEmote} */ proto.PlayEmote.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayEmote; return proto.PlayEmote.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayEmote} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayEmote} */ proto.PlayEmote.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setEmoteid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayEmote.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayEmote.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayEmote} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayEmote.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 EmoteId = 1; * @return {number} */ proto.PlayEmote.prototype.getEmoteid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PlayEmote} returns this */ proto.PlayEmote.prototype.setEmoteid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PlayEmote} returns this */ proto.PlayEmote.prototype.clearEmoteid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayEmote.prototype.hasEmoteid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LearnExpressionAction.prototype.toObject = function(opt_includeInstance) { return proto.LearnExpressionAction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LearnExpressionAction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LearnExpressionAction.toObject = function(includeInstance, msg) { var f, obj = { expressionid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LearnExpressionAction} */ proto.LearnExpressionAction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LearnExpressionAction; return proto.LearnExpressionAction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LearnExpressionAction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LearnExpressionAction} */ proto.LearnExpressionAction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setExpressionid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LearnExpressionAction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LearnExpressionAction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LearnExpressionAction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LearnExpressionAction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 ExpressionId = 1; * @return {number} */ proto.LearnExpressionAction.prototype.getExpressionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.LearnExpressionAction} returns this */ proto.LearnExpressionAction.prototype.setExpressionid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.LearnExpressionAction} returns this */ proto.LearnExpressionAction.prototype.clearExpressionid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LearnExpressionAction.prototype.hasExpressionid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonsterCastSkill.prototype.toObject = function(opt_includeInstance) { return proto.MonsterCastSkill.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonsterCastSkill} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterCastSkill.toObject = function(includeInstance, msg) { var f, obj = { selfuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skillid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, targetuuid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonsterCastSkill} */ proto.MonsterCastSkill.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonsterCastSkill; return proto.MonsterCastSkill.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonsterCastSkill} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonsterCastSkill} */ proto.MonsterCastSkill.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setSelfuuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillid(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonsterCastSkill.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonsterCastSkill.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonsterCastSkill} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterCastSkill.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } }; /** * optional int64 SelfUuid = 1; * @return {number} */ proto.MonsterCastSkill.prototype.getSelfuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.MonsterCastSkill} returns this */ proto.MonsterCastSkill.prototype.setSelfuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterCastSkill} returns this */ proto.MonsterCastSkill.prototype.clearSelfuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterCastSkill.prototype.hasSelfuuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SkillId = 2; * @return {number} */ proto.MonsterCastSkill.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.MonsterCastSkill} returns this */ proto.MonsterCastSkill.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterCastSkill} returns this */ proto.MonsterCastSkill.prototype.clearSkillid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterCastSkill.prototype.hasSkillid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 TargetUuid = 3; * @return {number} */ proto.MonsterCastSkill.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.MonsterCastSkill} returns this */ proto.MonsterCastSkill.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.MonsterCastSkill} returns this */ proto.MonsterCastSkill.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterCastSkill.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncDirWhenAiming.prototype.toObject = function(opt_includeInstance) { return proto.SyncDirWhenAiming.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncDirWhenAiming} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncDirWhenAiming.toObject = function(includeInstance, msg) { var f, obj = { dir: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, aimdir: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncDirWhenAiming} */ proto.SyncDirWhenAiming.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncDirWhenAiming; return proto.SyncDirWhenAiming.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncDirWhenAiming} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncDirWhenAiming} */ proto.SyncDirWhenAiming.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readFloat()); msg.setDir(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setAimdir(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncDirWhenAiming.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncDirWhenAiming.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncDirWhenAiming} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncDirWhenAiming.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeFloat( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeFloat( 2, f ); } }; /** * optional float Dir = 1; * @return {number} */ proto.SyncDirWhenAiming.prototype.getDir = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); }; /** * @param {number} value * @return {!proto.SyncDirWhenAiming} returns this */ proto.SyncDirWhenAiming.prototype.setDir = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDirWhenAiming} returns this */ proto.SyncDirWhenAiming.prototype.clearDir = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDirWhenAiming.prototype.hasDir = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional float AimDir = 2; * @return {number} */ proto.SyncDirWhenAiming.prototype.getAimdir = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.SyncDirWhenAiming} returns this */ proto.SyncDirWhenAiming.prototype.setAimdir = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncDirWhenAiming} returns this */ proto.SyncDirWhenAiming.prototype.clearAimdir = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncDirWhenAiming.prototype.hasAimdir = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SetPersonalState.prototype.toObject = function(opt_includeInstance) { return proto.SetPersonalState.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SetPersonalState} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetPersonalState.toObject = function(includeInstance, msg) { var f, obj = { vpersonalstate: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, visremove: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SetPersonalState} */ proto.SetPersonalState.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SetPersonalState; return proto.SetPersonalState.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SetPersonalState} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SetPersonalState} */ proto.SetPersonalState.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setVpersonalstate(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setVisremove(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SetPersonalState.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SetPersonalState.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SetPersonalState} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetPersonalState.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeBool( 2, f ); } }; /** * optional int32 VPersonalState = 1; * @return {number} */ proto.SetPersonalState.prototype.getVpersonalstate = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SetPersonalState} returns this */ proto.SetPersonalState.prototype.setVpersonalstate = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SetPersonalState} returns this */ proto.SetPersonalState.prototype.clearVpersonalstate = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetPersonalState.prototype.hasVpersonalstate = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional bool VIsRemove = 2; * @return {boolean} */ proto.SetPersonalState.prototype.getVisremove = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.SetPersonalState} returns this */ proto.SetPersonalState.prototype.setVisremove = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SetPersonalState} returns this */ proto.SetPersonalState.prototype.clearVisremove = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetPersonalState.prototype.hasVisremove = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.InstallResonanceSkillReq.prototype.toObject = function(opt_includeInstance) { return proto.InstallResonanceSkillReq.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.InstallResonanceSkillReq} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InstallResonanceSkillReq.toObject = function(includeInstance, msg) { var f, obj = { vposition: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, vresonanceid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.InstallResonanceSkillReq} */ proto.InstallResonanceSkillReq.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.InstallResonanceSkillReq; return proto.InstallResonanceSkillReq.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.InstallResonanceSkillReq} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.InstallResonanceSkillReq} */ proto.InstallResonanceSkillReq.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setVposition(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setVresonanceid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.InstallResonanceSkillReq.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.InstallResonanceSkillReq.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.InstallResonanceSkillReq} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InstallResonanceSkillReq.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 VPosition = 1; * @return {number} */ proto.InstallResonanceSkillReq.prototype.getVposition = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.InstallResonanceSkillReq} returns this */ proto.InstallResonanceSkillReq.prototype.setVposition = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.InstallResonanceSkillReq} returns this */ proto.InstallResonanceSkillReq.prototype.clearVposition = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InstallResonanceSkillReq.prototype.hasVposition = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 VResonanceId = 2; * @return {number} */ proto.InstallResonanceSkillReq.prototype.getVresonanceid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.InstallResonanceSkillReq} returns this */ proto.InstallResonanceSkillReq.prototype.setVresonanceid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.InstallResonanceSkillReq} returns this */ proto.InstallResonanceSkillReq.prototype.clearVresonanceid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InstallResonanceSkillReq.prototype.hasVresonanceid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PlayAction.prototype.toObject = function(opt_includeInstance) { return proto.PlayAction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PlayAction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayAction.toObject = function(includeInstance, msg) { var f, obj = { playactionparam: (f = msg.getPlayactionparam()) && proto.PlayActionParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PlayAction} */ proto.PlayAction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PlayAction; return proto.PlayAction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PlayAction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PlayAction} */ proto.PlayAction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.PlayActionParam; reader.readMessage(value,proto.PlayActionParam.deserializeBinaryFromReader); msg.setPlayactionparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PlayAction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PlayAction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PlayAction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PlayAction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPlayactionparam(); if (f != null) { writer.writeMessage( 1, f, proto.PlayActionParam.serializeBinaryToWriter ); } }; /** * optional PlayActionParam PlayActionParam = 1; * @return {?proto.PlayActionParam} */ proto.PlayAction.prototype.getPlayactionparam = function() { return /** @type{?proto.PlayActionParam} */ ( jspb.Message.getWrapperField(this, proto.PlayActionParam, 1)); }; /** * @param {?proto.PlayActionParam|undefined} value * @return {!proto.PlayAction} returns this */ proto.PlayAction.prototype.setPlayactionparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.PlayAction} returns this */ proto.PlayAction.prototype.clearPlayactionparam = function() { return this.setPlayactionparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PlayAction.prototype.hasPlayactionparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ConnectWorld.prototype.toObject = function(opt_includeInstance) { return proto.ConnectWorld.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ConnectWorld} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ConnectWorld.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.RequestConnectWorld.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ConnectWorld} */ proto.ConnectWorld.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ConnectWorld; return proto.ConnectWorld.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ConnectWorld} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ConnectWorld} */ proto.ConnectWorld.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.RequestConnectWorld; reader.readMessage(value,proto.RequestConnectWorld.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ConnectWorld.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ConnectWorld.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ConnectWorld} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ConnectWorld.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.RequestConnectWorld.serializeBinaryToWriter ); } }; /** * optional RequestConnectWorld VRequest = 1; * @return {?proto.RequestConnectWorld} */ proto.ConnectWorld.prototype.getVrequest = function() { return /** @type{?proto.RequestConnectWorld} */ ( jspb.Message.getWrapperField(this, proto.RequestConnectWorld, 1)); }; /** * @param {?proto.RequestConnectWorld|undefined} value * @return {!proto.ConnectWorld} returns this */ proto.ConnectWorld.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.ConnectWorld} returns this */ proto.ConnectWorld.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ConnectWorld.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UseSkill.prototype.toObject = function(opt_includeInstance) { return proto.UseSkill.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UseSkill} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UseSkill.toObject = function(includeInstance, msg) { var f, obj = { param: (f = msg.getParam()) && proto.UseSkillParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UseSkill} */ proto.UseSkill.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UseSkill; return proto.UseSkill.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UseSkill} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UseSkill} */ proto.UseSkill.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.UseSkillParam; reader.readMessage(value,proto.UseSkillParam.deserializeBinaryFromReader); msg.setParam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UseSkill.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UseSkill.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UseSkill} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UseSkill.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getParam(); if (f != null) { writer.writeMessage( 1, f, proto.UseSkillParam.serializeBinaryToWriter ); } }; /** * optional UseSkillParam Param = 1; * @return {?proto.UseSkillParam} */ proto.UseSkill.prototype.getParam = function() { return /** @type{?proto.UseSkillParam} */ ( jspb.Message.getWrapperField(this, proto.UseSkillParam, 1)); }; /** * @param {?proto.UseSkillParam|undefined} value * @return {!proto.UseSkill} returns this */ proto.UseSkill.prototype.setParam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.UseSkill} returns this */ proto.UseSkill.prototype.clearParam = function() { return this.setParam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSkill.prototype.hasParam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AccumulateEnd.prototype.toObject = function(opt_includeInstance) { return proto.AccumulateEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AccumulateEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AccumulateEnd.toObject = function(includeInstance, msg) { var f, obj = { skilluuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, endtime: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AccumulateEnd} */ proto.AccumulateEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AccumulateEnd; return proto.AccumulateEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AccumulateEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AccumulateEnd} */ proto.AccumulateEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setEndtime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AccumulateEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AccumulateEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AccumulateEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AccumulateEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 SkillUuid = 1; * @return {number} */ proto.AccumulateEnd.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.AccumulateEnd} returns this */ proto.AccumulateEnd.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.AccumulateEnd} returns this */ proto.AccumulateEnd.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AccumulateEnd.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 EndTime = 2; * @return {number} */ proto.AccumulateEnd.prototype.getEndtime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.AccumulateEnd} returns this */ proto.AccumulateEnd.prototype.setEndtime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.AccumulateEnd} returns this */ proto.AccumulateEnd.prototype.clearEndtime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AccumulateEnd.prototype.hasEndtime = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AttrInBattleShowSync.prototype.toObject = function(opt_includeInstance) { return proto.AttrInBattleShowSync.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AttrInBattleShowSync} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AttrInBattleShowSync.toObject = function(includeInstance, msg) { var f, obj = { attrinbattleshow: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AttrInBattleShowSync} */ proto.AttrInBattleShowSync.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AttrInBattleShowSync; return proto.AttrInBattleShowSync.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AttrInBattleShowSync} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AttrInBattleShowSync} */ proto.AttrInBattleShowSync.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setAttrinbattleshow(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AttrInBattleShowSync.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AttrInBattleShowSync.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AttrInBattleShowSync} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AttrInBattleShowSync.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 AttrInBattleShow = 1; * @return {number} */ proto.AttrInBattleShowSync.prototype.getAttrinbattleshow = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.AttrInBattleShowSync} returns this */ proto.AttrInBattleShowSync.prototype.setAttrinbattleshow = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.AttrInBattleShowSync} returns this */ proto.AttrInBattleShowSync.prototype.clearAttrinbattleshow = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AttrInBattleShowSync.prototype.hasAttrinbattleshow = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncSkillLocation.prototype.toObject = function(opt_includeInstance) { return proto.SyncSkillLocation.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncSkillLocation} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSkillLocation.toObject = function(includeInstance, msg) { var f, obj = { skilluuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skillstage: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, curpos: (f = msg.getCurpos()) && proto.Position.toObject(includeInstance, f), destpos: (f = msg.getDestpos()) && proto.Position.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncSkillLocation} */ proto.SyncSkillLocation.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncSkillLocation; return proto.SyncSkillLocation.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncSkillLocation} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncSkillLocation} */ proto.SyncSkillLocation.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillstage(value); break; case 3: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setCurpos(value); break; case 4: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setDestpos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncSkillLocation.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncSkillLocation.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncSkillLocation} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSkillLocation.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = message.getCurpos(); if (f != null) { writer.writeMessage( 3, f, proto.Position.serializeBinaryToWriter ); } f = message.getDestpos(); if (f != null) { writer.writeMessage( 4, f, proto.Position.serializeBinaryToWriter ); } }; /** * optional int32 SkillUuid = 1; * @return {number} */ proto.SyncSkillLocation.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncSkillLocation} returns this */ proto.SyncSkillLocation.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncSkillLocation} returns this */ proto.SyncSkillLocation.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSkillLocation.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SkillStage = 2; * @return {number} */ proto.SyncSkillLocation.prototype.getSkillstage = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SyncSkillLocation} returns this */ proto.SyncSkillLocation.prototype.setSkillstage = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncSkillLocation} returns this */ proto.SyncSkillLocation.prototype.clearSkillstage = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSkillLocation.prototype.hasSkillstage = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional Position CurPos = 3; * @return {?proto.Position} */ proto.SyncSkillLocation.prototype.getCurpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 3)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.SyncSkillLocation} returns this */ proto.SyncSkillLocation.prototype.setCurpos = function(value) { return jspb.Message.setWrapperField(this, 3, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncSkillLocation} returns this */ proto.SyncSkillLocation.prototype.clearCurpos = function() { return this.setCurpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSkillLocation.prototype.hasCurpos = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional Position DestPos = 4; * @return {?proto.Position} */ proto.SyncSkillLocation.prototype.getDestpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 4)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.SyncSkillLocation} returns this */ proto.SyncSkillLocation.prototype.setDestpos = function(value) { return jspb.Message.setWrapperField(this, 4, value); }; /** * Clears the message field making it undefined. * @return {!proto.SyncSkillLocation} returns this */ proto.SyncSkillLocation.prototype.clearDestpos = function() { return this.setDestpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSkillLocation.prototype.hasDestpos = function() { return jspb.Message.getField(this, 4) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SyncHitInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncHitInfo.prototype.toObject = function(opt_includeInstance) { return proto.SyncHitInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncHitInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncHitInfo.toObject = function(includeInstance, msg) { var f, obj = { hitinfosList: jspb.Message.toObjectList(msg.getHitinfosList(), proto.ClientHitInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncHitInfo} */ proto.SyncHitInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncHitInfo; return proto.SyncHitInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncHitInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncHitInfo} */ proto.SyncHitInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ClientHitInfo; reader.readMessage(value,proto.ClientHitInfo.deserializeBinaryFromReader); msg.addHitinfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncHitInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncHitInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncHitInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncHitInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHitinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.ClientHitInfo.serializeBinaryToWriter ); } }; /** * repeated ClientHitInfo HitInfos = 1; * @return {!Array} */ proto.SyncHitInfo.prototype.getHitinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ClientHitInfo, 1)); }; /** * @param {!Array} value * @return {!proto.SyncHitInfo} returns this */ proto.SyncHitInfo.prototype.setHitinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.ClientHitInfo=} opt_value * @param {number=} opt_index * @return {!proto.ClientHitInfo} */ proto.SyncHitInfo.prototype.addHitinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ClientHitInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SyncHitInfo} returns this */ proto.SyncHitInfo.prototype.clearHitinfosList = function() { return this.setHitinfosList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ChannelingEnd.prototype.toObject = function(opt_includeInstance) { return proto.ChannelingEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ChannelingEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ChannelingEnd.toObject = function(includeInstance, msg) { var f, obj = { skilluuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, time: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ChannelingEnd} */ proto.ChannelingEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ChannelingEnd; return proto.ChannelingEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ChannelingEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ChannelingEnd} */ proto.ChannelingEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setTime(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ChannelingEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ChannelingEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ChannelingEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ChannelingEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 SkillUuid = 1; * @return {number} */ proto.ChannelingEnd.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ChannelingEnd} returns this */ proto.ChannelingEnd.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ChannelingEnd} returns this */ proto.ChannelingEnd.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ChannelingEnd.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Time = 2; * @return {number} */ proto.ChannelingEnd.prototype.getTime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ChannelingEnd} returns this */ proto.ChannelingEnd.prototype.setTime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ChannelingEnd} returns this */ proto.ChannelingEnd.prototype.clearTime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ChannelingEnd.prototype.hasTime = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncSkillStageTrigger.prototype.toObject = function(opt_includeInstance) { return proto.SyncSkillStageTrigger.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncSkillStageTrigger} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSkillStageTrigger.toObject = function(includeInstance, msg) { var f, obj = { triggertype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, time: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, skilluuid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncSkillStageTrigger} */ proto.SyncSkillStageTrigger.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncSkillStageTrigger; return proto.SyncSkillStageTrigger.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncSkillStageTrigger} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncSkillStageTrigger} */ proto.SyncSkillStageTrigger.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTriggertype(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setTime(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncSkillStageTrigger.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncSkillStageTrigger.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncSkillStageTrigger} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSkillStageTrigger.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 TriggerType = 1; * @return {number} */ proto.SyncSkillStageTrigger.prototype.getTriggertype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncSkillStageTrigger} returns this */ proto.SyncSkillStageTrigger.prototype.setTriggertype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncSkillStageTrigger} returns this */ proto.SyncSkillStageTrigger.prototype.clearTriggertype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSkillStageTrigger.prototype.hasTriggertype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 Time = 2; * @return {number} */ proto.SyncSkillStageTrigger.prototype.getTime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SyncSkillStageTrigger} returns this */ proto.SyncSkillStageTrigger.prototype.setTime = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncSkillStageTrigger} returns this */ proto.SyncSkillStageTrigger.prototype.clearTime = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSkillStageTrigger.prototype.hasTime = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 SkillUuid = 3; * @return {number} */ proto.SyncSkillStageTrigger.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.SyncSkillStageTrigger} returns this */ proto.SyncSkillStageTrigger.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncSkillStageTrigger} returns this */ proto.SyncSkillStageTrigger.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSkillStageTrigger.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ClientStageEnd.prototype.toObject = function(opt_includeInstance) { return proto.ClientStageEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ClientStageEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientStageEnd.toObject = function(includeInstance, msg) { var f, obj = { curstageindex: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, nextstageindex: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, time: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, conditionid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, skilluuid: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ClientStageEnd} */ proto.ClientStageEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ClientStageEnd; return proto.ClientStageEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ClientStageEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ClientStageEnd} */ proto.ClientStageEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setCurstageindex(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setNextstageindex(value); break; case 3: var value = /** @type {number} */ (reader.readInt64()); msg.setTime(value); break; case 4: var value = /** @type {number} */ (reader.readInt32()); msg.setConditionid(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ClientStageEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ClientStageEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ClientStageEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientStageEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt64( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt32( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } }; /** * optional int32 CurStageIndex = 1; * @return {number} */ proto.ClientStageEnd.prototype.getCurstageindex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.setCurstageindex = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.clearCurstageindex = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientStageEnd.prototype.hasCurstageindex = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 NextStageIndex = 2; * @return {number} */ proto.ClientStageEnd.prototype.getNextstageindex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.setNextstageindex = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.clearNextstageindex = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientStageEnd.prototype.hasNextstageindex = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int64 Time = 3; * @return {number} */ proto.ClientStageEnd.prototype.getTime = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.setTime = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.clearTime = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientStageEnd.prototype.hasTime = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int32 ConditionId = 4; * @return {number} */ proto.ClientStageEnd.prototype.getConditionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.setConditionid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.clearConditionid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientStageEnd.prototype.hasConditionid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 SkillUuid = 5; * @return {number} */ proto.ClientStageEnd.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientStageEnd} returns this */ proto.ClientStageEnd.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientStageEnd.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 5) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ClientTargetChange.prototype.toObject = function(opt_includeInstance) { return proto.ClientTargetChange.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ClientTargetChange} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientTargetChange.toObject = function(includeInstance, msg) { var f, obj = { skillid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, skilllevel: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, curstageindex: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, targetuuid: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, targetpos: (f = msg.getTargetpos()) && proto.Position.toObject(includeInstance, f), curpos: (f = msg.getCurpos()) && proto.Position.toObject(includeInstance, f), targetpartid: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f, targetpartpos: (f = msg.getTargetpartpos()) && proto.Position.toObject(includeInstance, f), skilluuid: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ClientTargetChange} */ proto.ClientTargetChange.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ClientTargetChange; return proto.ClientTargetChange.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ClientTargetChange} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ClientTargetChange} */ proto.ClientTargetChange.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSkillid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilllevel(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setCurstageindex(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; case 5: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setTargetpos(value); break; case 6: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setCurpos(value); break; case 7: var value = /** @type {number} */ (reader.readInt32()); msg.setTargetpartid(value); break; case 8: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setTargetpartpos(value); break; case 9: var value = /** @type {number} */ (reader.readInt32()); msg.setSkilluuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ClientTargetChange.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ClientTargetChange.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ClientTargetChange} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ClientTargetChange.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } f = message.getTargetpos(); if (f != null) { writer.writeMessage( 5, f, proto.Position.serializeBinaryToWriter ); } f = message.getCurpos(); if (f != null) { writer.writeMessage( 6, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 7)); if (f != null) { writer.writeInt32( 7, f ); } f = message.getTargetpartpos(); if (f != null) { writer.writeMessage( 8, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {number} */ (jspb.Message.getField(message, 9)); if (f != null) { writer.writeInt32( 9, f ); } }; /** * optional int32 Skillid = 1; * @return {number} */ proto.ClientTargetChange.prototype.getSkillid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.setSkillid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.clearSkillid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientTargetChange.prototype.hasSkillid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 SkillLevel = 2; * @return {number} */ proto.ClientTargetChange.prototype.getSkilllevel = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.setSkilllevel = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.clearSkilllevel = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientTargetChange.prototype.hasSkilllevel = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 CurStageIndex = 3; * @return {number} */ proto.ClientTargetChange.prototype.getCurstageindex = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.setCurstageindex = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.clearCurstageindex = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientTargetChange.prototype.hasCurstageindex = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 TargetUuid = 4; * @return {number} */ proto.ClientTargetChange.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientTargetChange.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional Position TargetPos = 5; * @return {?proto.Position} */ proto.ClientTargetChange.prototype.getTargetpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 5)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.setTargetpos = function(value) { return jspb.Message.setWrapperField(this, 5, value); }; /** * Clears the message field making it undefined. * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.clearTargetpos = function() { return this.setTargetpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientTargetChange.prototype.hasTargetpos = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional Position CurPos = 6; * @return {?proto.Position} */ proto.ClientTargetChange.prototype.getCurpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 6)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.setCurpos = function(value) { return jspb.Message.setWrapperField(this, 6, value); }; /** * Clears the message field making it undefined. * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.clearCurpos = function() { return this.setCurpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientTargetChange.prototype.hasCurpos = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional int32 TargetPartId = 7; * @return {number} */ proto.ClientTargetChange.prototype.getTargetpartid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0)); }; /** * @param {number} value * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.setTargetpartid = function(value) { return jspb.Message.setField(this, 7, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.clearTargetpartid = function() { return jspb.Message.setField(this, 7, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientTargetChange.prototype.hasTargetpartid = function() { return jspb.Message.getField(this, 7) != null; }; /** * optional Position TargetPartPos = 8; * @return {?proto.Position} */ proto.ClientTargetChange.prototype.getTargetpartpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 8)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.setTargetpartpos = function(value) { return jspb.Message.setWrapperField(this, 8, value); }; /** * Clears the message field making it undefined. * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.clearTargetpartpos = function() { return this.setTargetpartpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientTargetChange.prototype.hasTargetpartpos = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional int32 SkillUuid = 9; * @return {number} */ proto.ClientTargetChange.prototype.getSkilluuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0)); }; /** * @param {number} value * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.setSkilluuid = function(value) { return jspb.Message.setField(this, 9, value); }; /** * Clears the field making it undefined. * @return {!proto.ClientTargetChange} returns this */ proto.ClientTargetChange.prototype.clearSkilluuid = function() { return jspb.Message.setField(this, 9, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ClientTargetChange.prototype.hasSkilluuid = function() { return jspb.Message.getField(this, 9) != null; }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SyncBulletHitInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncBulletHitInfo.prototype.toObject = function(opt_includeInstance) { return proto.SyncBulletHitInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncBulletHitInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncBulletHitInfo.toObject = function(includeInstance, msg) { var f, obj = { hitinfosList: jspb.Message.toObjectList(msg.getHitinfosList(), proto.ClientHitInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncBulletHitInfo} */ proto.SyncBulletHitInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncBulletHitInfo; return proto.SyncBulletHitInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncBulletHitInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncBulletHitInfo} */ proto.SyncBulletHitInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ClientHitInfo; reader.readMessage(value,proto.ClientHitInfo.deserializeBinaryFromReader); msg.addHitinfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncBulletHitInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncBulletHitInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncBulletHitInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncBulletHitInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHitinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.ClientHitInfo.serializeBinaryToWriter ); } }; /** * repeated ClientHitInfo HitInfos = 1; * @return {!Array} */ proto.SyncBulletHitInfo.prototype.getHitinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ClientHitInfo, 1)); }; /** * @param {!Array} value * @return {!proto.SyncBulletHitInfo} returns this */ proto.SyncBulletHitInfo.prototype.setHitinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.ClientHitInfo=} opt_value * @param {number=} opt_index * @return {!proto.ClientHitInfo} */ proto.SyncBulletHitInfo.prototype.addHitinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ClientHitInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SyncBulletHitInfo} returns this */ proto.SyncBulletHitInfo.prototype.clearHitinfosList = function() { return this.setHitinfosList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SyncFakeBulletHitInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncFakeBulletHitInfo.prototype.toObject = function(opt_includeInstance) { return proto.SyncFakeBulletHitInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncFakeBulletHitInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncFakeBulletHitInfo.toObject = function(includeInstance, msg) { var f, obj = { hitinfosList: jspb.Message.toObjectList(msg.getHitinfosList(), proto.ClientHitInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncFakeBulletHitInfo} */ proto.SyncFakeBulletHitInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncFakeBulletHitInfo; return proto.SyncFakeBulletHitInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncFakeBulletHitInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncFakeBulletHitInfo} */ proto.SyncFakeBulletHitInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ClientHitInfo; reader.readMessage(value,proto.ClientHitInfo.deserializeBinaryFromReader); msg.addHitinfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncFakeBulletHitInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncFakeBulletHitInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncFakeBulletHitInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncFakeBulletHitInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getHitinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.ClientHitInfo.serializeBinaryToWriter ); } }; /** * repeated ClientHitInfo HitInfos = 1; * @return {!Array} */ proto.SyncFakeBulletHitInfo.prototype.getHitinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ClientHitInfo, 1)); }; /** * @param {!Array} value * @return {!proto.SyncFakeBulletHitInfo} returns this */ proto.SyncFakeBulletHitInfo.prototype.setHitinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.ClientHitInfo=} opt_value * @param {number=} opt_index * @return {!proto.ClientHitInfo} */ proto.SyncFakeBulletHitInfo.prototype.addHitinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ClientHitInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SyncFakeBulletHitInfo} returns this */ proto.SyncFakeBulletHitInfo.prototype.clearHitinfosList = function() { return this.setHitinfosList([]); }; /** * List of repeated fields within this message type. * @private {!Array} * @const */ proto.SyncUserBeHitInfo.repeatedFields_ = [1]; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncUserBeHitInfo.prototype.toObject = function(opt_includeInstance) { return proto.SyncUserBeHitInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncUserBeHitInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncUserBeHitInfo.toObject = function(includeInstance, msg) { var f, obj = { behitinfosList: jspb.Message.toObjectList(msg.getBehitinfosList(), proto.ClientHitInfo.toObject, includeInstance) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncUserBeHitInfo} */ proto.SyncUserBeHitInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncUserBeHitInfo; return proto.SyncUserBeHitInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncUserBeHitInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncUserBeHitInfo} */ proto.SyncUserBeHitInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.ClientHitInfo; reader.readMessage(value,proto.ClientHitInfo.deserializeBinaryFromReader); msg.addBehitinfos(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncUserBeHitInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncUserBeHitInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncUserBeHitInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncUserBeHitInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getBehitinfosList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.ClientHitInfo.serializeBinaryToWriter ); } }; /** * repeated ClientHitInfo BehitInfos = 1; * @return {!Array} */ proto.SyncUserBeHitInfo.prototype.getBehitinfosList = function() { return /** @type{!Array} */ ( jspb.Message.getRepeatedWrapperField(this, proto.ClientHitInfo, 1)); }; /** * @param {!Array} value * @return {!proto.SyncUserBeHitInfo} returns this */ proto.SyncUserBeHitInfo.prototype.setBehitinfosList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.ClientHitInfo=} opt_value * @param {number=} opt_index * @return {!proto.ClientHitInfo} */ proto.SyncUserBeHitInfo.prototype.addBehitinfos = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ClientHitInfo, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.SyncUserBeHitInfo} returns this */ proto.SyncUserBeHitInfo.prototype.clearBehitinfosList = function() { return this.setBehitinfosList([]); }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotMove.prototype.toObject = function(opt_includeInstance) { return proto.AiBotMove.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotMove} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotMove.toObject = function(includeInstance, msg) { var f, obj = { moveparam: (f = msg.getMoveparam()) && proto.BotMoveInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotMove} */ proto.AiBotMove.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotMove; return proto.AiBotMove.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotMove} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotMove} */ proto.AiBotMove.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotMoveInfo; reader.readMessage(value,proto.BotMoveInfo.deserializeBinaryFromReader); msg.setMoveparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotMove.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotMove.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotMove} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotMove.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMoveparam(); if (f != null) { writer.writeMessage( 1, f, proto.BotMoveInfo.serializeBinaryToWriter ); } }; /** * optional BotMoveInfo MoveParam = 1; * @return {?proto.BotMoveInfo} */ proto.AiBotMove.prototype.getMoveparam = function() { return /** @type{?proto.BotMoveInfo} */ ( jspb.Message.getWrapperField(this, proto.BotMoveInfo, 1)); }; /** * @param {?proto.BotMoveInfo|undefined} value * @return {!proto.AiBotMove} returns this */ proto.AiBotMove.prototype.setMoveparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotMove} returns this */ proto.AiBotMove.prototype.clearMoveparam = function() { return this.setMoveparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotMove.prototype.hasMoveparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotUseSkill.prototype.toObject = function(opt_includeInstance) { return proto.AiBotUseSkill.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotUseSkill} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotUseSkill.toObject = function(includeInstance, msg) { var f, obj = { useskillparam: (f = msg.getUseskillparam()) && proto.BotUseSkillInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotUseSkill} */ proto.AiBotUseSkill.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotUseSkill; return proto.AiBotUseSkill.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotUseSkill} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotUseSkill} */ proto.AiBotUseSkill.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotUseSkillInfo; reader.readMessage(value,proto.BotUseSkillInfo.deserializeBinaryFromReader); msg.setUseskillparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotUseSkill.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotUseSkill.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotUseSkill} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotUseSkill.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getUseskillparam(); if (f != null) { writer.writeMessage( 1, f, proto.BotUseSkillInfo.serializeBinaryToWriter ); } }; /** * optional BotUseSkillInfo UseSkillParam = 1; * @return {?proto.BotUseSkillInfo} */ proto.AiBotUseSkill.prototype.getUseskillparam = function() { return /** @type{?proto.BotUseSkillInfo} */ ( jspb.Message.getWrapperField(this, proto.BotUseSkillInfo, 1)); }; /** * @param {?proto.BotUseSkillInfo|undefined} value * @return {!proto.AiBotUseSkill} returns this */ proto.AiBotUseSkill.prototype.setUseskillparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotUseSkill} returns this */ proto.AiBotUseSkill.prototype.clearUseskillparam = function() { return this.setUseskillparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotUseSkill.prototype.hasUseskillparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotAddBuffByConfigId.prototype.toObject = function(opt_includeInstance) { return proto.AiBotAddBuffByConfigId.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotAddBuffByConfigId} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotAddBuffByConfigId.toObject = function(includeInstance, msg) { var f, obj = { addbuffparam: (f = msg.getAddbuffparam()) && proto.BotAddBuff.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotAddBuffByConfigId} */ proto.AiBotAddBuffByConfigId.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotAddBuffByConfigId; return proto.AiBotAddBuffByConfigId.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotAddBuffByConfigId} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotAddBuffByConfigId} */ proto.AiBotAddBuffByConfigId.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotAddBuff; reader.readMessage(value,proto.BotAddBuff.deserializeBinaryFromReader); msg.setAddbuffparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotAddBuffByConfigId.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotAddBuffByConfigId.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotAddBuffByConfigId} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotAddBuffByConfigId.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getAddbuffparam(); if (f != null) { writer.writeMessage( 1, f, proto.BotAddBuff.serializeBinaryToWriter ); } }; /** * optional BotAddBuff AddBuffParam = 1; * @return {?proto.BotAddBuff} */ proto.AiBotAddBuffByConfigId.prototype.getAddbuffparam = function() { return /** @type{?proto.BotAddBuff} */ ( jspb.Message.getWrapperField(this, proto.BotAddBuff, 1)); }; /** * @param {?proto.BotAddBuff|undefined} value * @return {!proto.AiBotAddBuffByConfigId} returns this */ proto.AiBotAddBuffByConfigId.prototype.setAddbuffparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotAddBuffByConfigId} returns this */ proto.AiBotAddBuffByConfigId.prototype.clearAddbuffparam = function() { return this.setAddbuffparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotAddBuffByConfigId.prototype.hasAddbuffparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotRemoveBuffByConfigId.prototype.toObject = function(opt_includeInstance) { return proto.AiBotRemoveBuffByConfigId.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotRemoveBuffByConfigId} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotRemoveBuffByConfigId.toObject = function(includeInstance, msg) { var f, obj = { removebuffparam: (f = msg.getRemovebuffparam()) && proto.BotRemoveBuff.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotRemoveBuffByConfigId} */ proto.AiBotRemoveBuffByConfigId.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotRemoveBuffByConfigId; return proto.AiBotRemoveBuffByConfigId.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotRemoveBuffByConfigId} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotRemoveBuffByConfigId} */ proto.AiBotRemoveBuffByConfigId.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotRemoveBuff; reader.readMessage(value,proto.BotRemoveBuff.deserializeBinaryFromReader); msg.setRemovebuffparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotRemoveBuffByConfigId.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotRemoveBuffByConfigId.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotRemoveBuffByConfigId} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotRemoveBuffByConfigId.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRemovebuffparam(); if (f != null) { writer.writeMessage( 1, f, proto.BotRemoveBuff.serializeBinaryToWriter ); } }; /** * optional BotRemoveBuff RemoveBuffParam = 1; * @return {?proto.BotRemoveBuff} */ proto.AiBotRemoveBuffByConfigId.prototype.getRemovebuffparam = function() { return /** @type{?proto.BotRemoveBuff} */ ( jspb.Message.getWrapperField(this, proto.BotRemoveBuff, 1)); }; /** * @param {?proto.BotRemoveBuff|undefined} value * @return {!proto.AiBotRemoveBuffByConfigId} returns this */ proto.AiBotRemoveBuffByConfigId.prototype.setRemovebuffparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotRemoveBuffByConfigId} returns this */ proto.AiBotRemoveBuffByConfigId.prototype.clearRemovebuffparam = function() { return this.setRemovebuffparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotRemoveBuffByConfigId.prototype.hasRemovebuffparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotActiveTrigger.prototype.toObject = function(opt_includeInstance) { return proto.AiBotActiveTrigger.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotActiveTrigger} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotActiveTrigger.toObject = function(includeInstance, msg) { var f, obj = { activetriggerparam: (f = msg.getActivetriggerparam()) && proto.BotActiveTrigger.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotActiveTrigger} */ proto.AiBotActiveTrigger.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotActiveTrigger; return proto.AiBotActiveTrigger.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotActiveTrigger} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotActiveTrigger} */ proto.AiBotActiveTrigger.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotActiveTrigger; reader.readMessage(value,proto.BotActiveTrigger.deserializeBinaryFromReader); msg.setActivetriggerparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotActiveTrigger.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotActiveTrigger.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotActiveTrigger} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotActiveTrigger.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getActivetriggerparam(); if (f != null) { writer.writeMessage( 1, f, proto.BotActiveTrigger.serializeBinaryToWriter ); } }; /** * optional BotActiveTrigger ActiveTriggerParam = 1; * @return {?proto.BotActiveTrigger} */ proto.AiBotActiveTrigger.prototype.getActivetriggerparam = function() { return /** @type{?proto.BotActiveTrigger} */ ( jspb.Message.getWrapperField(this, proto.BotActiveTrigger, 1)); }; /** * @param {?proto.BotActiveTrigger|undefined} value * @return {!proto.AiBotActiveTrigger} returns this */ proto.AiBotActiveTrigger.prototype.setActivetriggerparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotActiveTrigger} returns this */ proto.AiBotActiveTrigger.prototype.clearActivetriggerparam = function() { return this.setActivetriggerparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotActiveTrigger.prototype.hasActivetriggerparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotTeleportToPos.prototype.toObject = function(opt_includeInstance) { return proto.AiBotTeleportToPos.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotTeleportToPos} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotTeleportToPos.toObject = function(includeInstance, msg) { var f, obj = { teleportparam: (f = msg.getTeleportparam()) && proto.BotTeleportParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotTeleportToPos} */ proto.AiBotTeleportToPos.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotTeleportToPos; return proto.AiBotTeleportToPos.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotTeleportToPos} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotTeleportToPos} */ proto.AiBotTeleportToPos.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotTeleportParam; reader.readMessage(value,proto.BotTeleportParam.deserializeBinaryFromReader); msg.setTeleportparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotTeleportToPos.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotTeleportToPos.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotTeleportToPos} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotTeleportToPos.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getTeleportparam(); if (f != null) { writer.writeMessage( 1, f, proto.BotTeleportParam.serializeBinaryToWriter ); } }; /** * optional BotTeleportParam TeleportParam = 1; * @return {?proto.BotTeleportParam} */ proto.AiBotTeleportToPos.prototype.getTeleportparam = function() { return /** @type{?proto.BotTeleportParam} */ ( jspb.Message.getWrapperField(this, proto.BotTeleportParam, 1)); }; /** * @param {?proto.BotTeleportParam|undefined} value * @return {!proto.AiBotTeleportToPos} returns this */ proto.AiBotTeleportToPos.prototype.setTeleportparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotTeleportToPos} returns this */ proto.AiBotTeleportToPos.prototype.clearTeleportparam = function() { return this.setTeleportparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotTeleportToPos.prototype.hasTeleportparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotPlayAction.prototype.toObject = function(opt_includeInstance) { return proto.AiBotPlayAction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotPlayAction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotPlayAction.toObject = function(includeInstance, msg) { var f, obj = { playactionparam: (f = msg.getPlayactionparam()) && proto.BotPlayActionParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotPlayAction} */ proto.AiBotPlayAction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotPlayAction; return proto.AiBotPlayAction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotPlayAction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotPlayAction} */ proto.AiBotPlayAction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotPlayActionParam; reader.readMessage(value,proto.BotPlayActionParam.deserializeBinaryFromReader); msg.setPlayactionparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotPlayAction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotPlayAction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotPlayAction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotPlayAction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getPlayactionparam(); if (f != null) { writer.writeMessage( 1, f, proto.BotPlayActionParam.serializeBinaryToWriter ); } }; /** * optional BotPlayActionParam PlayActionParam = 1; * @return {?proto.BotPlayActionParam} */ proto.AiBotPlayAction.prototype.getPlayactionparam = function() { return /** @type{?proto.BotPlayActionParam} */ ( jspb.Message.getWrapperField(this, proto.BotPlayActionParam, 1)); }; /** * @param {?proto.BotPlayActionParam|undefined} value * @return {!proto.AiBotPlayAction} returns this */ proto.AiBotPlayAction.prototype.setPlayactionparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotPlayAction} returns this */ proto.AiBotPlayAction.prototype.clearPlayactionparam = function() { return this.setPlayactionparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotPlayAction.prototype.hasPlayactionparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotSendGmMsg.prototype.toObject = function(opt_includeInstance) { return proto.AiBotSendGmMsg.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotSendGmMsg} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotSendGmMsg.toObject = function(includeInstance, msg) { var f, obj = { msg: (f = msg.getMsg()) && proto.GmCmd.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotSendGmMsg} */ proto.AiBotSendGmMsg.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotSendGmMsg; return proto.AiBotSendGmMsg.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotSendGmMsg} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotSendGmMsg} */ proto.AiBotSendGmMsg.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.GmCmd; reader.readMessage(value,proto.GmCmd.deserializeBinaryFromReader); msg.setMsg(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotSendGmMsg.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotSendGmMsg.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotSendGmMsg} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotSendGmMsg.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getMsg(); if (f != null) { writer.writeMessage( 1, f, proto.GmCmd.serializeBinaryToWriter ); } }; /** * optional GmCmd Msg = 1; * @return {?proto.GmCmd} */ proto.AiBotSendGmMsg.prototype.getMsg = function() { return /** @type{?proto.GmCmd} */ ( jspb.Message.getWrapperField(this, proto.GmCmd, 1)); }; /** * @param {?proto.GmCmd|undefined} value * @return {!proto.AiBotSendGmMsg} returns this */ proto.AiBotSendGmMsg.prototype.setMsg = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotSendGmMsg} returns this */ proto.AiBotSendGmMsg.prototype.clearMsg = function() { return this.setMsg(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotSendGmMsg.prototype.hasMsg = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotStartRide.prototype.toObject = function(opt_includeInstance) { return proto.AiBotStartRide.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotStartRide} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotStartRide.toObject = function(includeInstance, msg) { var f, obj = { startrideparam: (f = msg.getStartrideparam()) && proto.BotStartRideParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotStartRide} */ proto.AiBotStartRide.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotStartRide; return proto.AiBotStartRide.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotStartRide} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotStartRide} */ proto.AiBotStartRide.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotStartRideParam; reader.readMessage(value,proto.BotStartRideParam.deserializeBinaryFromReader); msg.setStartrideparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotStartRide.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotStartRide.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotStartRide} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotStartRide.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getStartrideparam(); if (f != null) { writer.writeMessage( 1, f, proto.BotStartRideParam.serializeBinaryToWriter ); } }; /** * optional BotStartRideParam StartRideParam = 1; * @return {?proto.BotStartRideParam} */ proto.AiBotStartRide.prototype.getStartrideparam = function() { return /** @type{?proto.BotStartRideParam} */ ( jspb.Message.getWrapperField(this, proto.BotStartRideParam, 1)); }; /** * @param {?proto.BotStartRideParam|undefined} value * @return {!proto.AiBotStartRide} returns this */ proto.AiBotStartRide.prototype.setStartrideparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotStartRide} returns this */ proto.AiBotStartRide.prototype.clearStartrideparam = function() { return this.setStartrideparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotStartRide.prototype.hasStartrideparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotSendChitChatMsg.prototype.toObject = function(opt_includeInstance) { return proto.AiBotSendChitChatMsg.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotSendChitChatMsg} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotSendChitChatMsg.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.BotSendChitChatMsgReq.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotSendChitChatMsg} */ proto.AiBotSendChitChatMsg.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotSendChitChatMsg; return proto.AiBotSendChitChatMsg.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotSendChitChatMsg} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotSendChitChatMsg} */ proto.AiBotSendChitChatMsg.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotSendChitChatMsgReq; reader.readMessage(value,proto.BotSendChitChatMsgReq.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotSendChitChatMsg.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotSendChitChatMsg.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotSendChitChatMsg} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotSendChitChatMsg.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.BotSendChitChatMsgReq.serializeBinaryToWriter ); } }; /** * optional BotSendChitChatMsgReq VRequest = 1; * @return {?proto.BotSendChitChatMsgReq} */ proto.AiBotSendChitChatMsg.prototype.getVrequest = function() { return /** @type{?proto.BotSendChitChatMsgReq} */ ( jspb.Message.getWrapperField(this, proto.BotSendChitChatMsgReq, 1)); }; /** * @param {?proto.BotSendChitChatMsgReq|undefined} value * @return {!proto.AiBotSendChitChatMsg} returns this */ proto.AiBotSendChitChatMsg.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotSendChitChatMsg} returns this */ proto.AiBotSendChitChatMsg.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotSendChitChatMsg.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AiBotResurrection.prototype.toObject = function(opt_includeInstance) { return proto.AiBotResurrection.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AiBotResurrection} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotResurrection.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.BotResurrectionParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AiBotResurrection} */ proto.AiBotResurrection.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AiBotResurrection; return proto.AiBotResurrection.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AiBotResurrection} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AiBotResurrection} */ proto.AiBotResurrection.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.BotResurrectionParam; reader.readMessage(value,proto.BotResurrectionParam.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AiBotResurrection.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AiBotResurrection.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AiBotResurrection} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AiBotResurrection.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.BotResurrectionParam.serializeBinaryToWriter ); } }; /** * optional BotResurrectionParam VRequest = 1; * @return {?proto.BotResurrectionParam} */ proto.AiBotResurrection.prototype.getVrequest = function() { return /** @type{?proto.BotResurrectionParam} */ ( jspb.Message.getWrapperField(this, proto.BotResurrectionParam, 1)); }; /** * @param {?proto.BotResurrectionParam|undefined} value * @return {!proto.AiBotResurrection} returns this */ proto.AiBotResurrection.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.AiBotResurrection} returns this */ proto.AiBotResurrection.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AiBotResurrection.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ReqSwitchScene.prototype.toObject = function(opt_includeInstance) { return proto.ReqSwitchScene.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ReqSwitchScene} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ReqSwitchScene.toObject = function(includeInstance, msg) { var f, obj = { resp: (f = msg.getResp()) && proto.SwitchSceneRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ReqSwitchScene} */ proto.ReqSwitchScene.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ReqSwitchScene; return proto.ReqSwitchScene.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ReqSwitchScene} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ReqSwitchScene} */ proto.ReqSwitchScene.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.SwitchSceneRequest; reader.readMessage(value,proto.SwitchSceneRequest.deserializeBinaryFromReader); msg.setResp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ReqSwitchScene.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ReqSwitchScene.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ReqSwitchScene} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ReqSwitchScene.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getResp(); if (f != null) { writer.writeMessage( 1, f, proto.SwitchSceneRequest.serializeBinaryToWriter ); } }; /** * optional SwitchSceneRequest Resp = 1; * @return {?proto.SwitchSceneRequest} */ proto.ReqSwitchScene.prototype.getResp = function() { return /** @type{?proto.SwitchSceneRequest} */ ( jspb.Message.getWrapperField(this, proto.SwitchSceneRequest, 1)); }; /** * @param {?proto.SwitchSceneRequest|undefined} value * @return {!proto.ReqSwitchScene} returns this */ proto.ReqSwitchScene.prototype.setResp = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.ReqSwitchScene} returns this */ proto.ReqSwitchScene.prototype.clearResp = function() { return this.setResp(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ReqSwitchScene.prototype.hasResp = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.LoadMapSuccess.prototype.toObject = function(opt_includeInstance) { return proto.LoadMapSuccess.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.LoadMapSuccess} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LoadMapSuccess.toObject = function(includeInstance, msg) { var f, obj = { vparam: (f = msg.getVparam()) && proto.LoadMapSuccessParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.LoadMapSuccess} */ proto.LoadMapSuccess.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.LoadMapSuccess; return proto.LoadMapSuccess.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.LoadMapSuccess} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.LoadMapSuccess} */ proto.LoadMapSuccess.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.LoadMapSuccessParam; reader.readMessage(value,proto.LoadMapSuccessParam.deserializeBinaryFromReader); msg.setVparam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.LoadMapSuccess.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.LoadMapSuccess.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.LoadMapSuccess} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.LoadMapSuccess.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVparam(); if (f != null) { writer.writeMessage( 1, f, proto.LoadMapSuccessParam.serializeBinaryToWriter ); } }; /** * optional LoadMapSuccessParam VParam = 1; * @return {?proto.LoadMapSuccessParam} */ proto.LoadMapSuccess.prototype.getVparam = function() { return /** @type{?proto.LoadMapSuccessParam} */ ( jspb.Message.getWrapperField(this, proto.LoadMapSuccessParam, 1)); }; /** * @param {?proto.LoadMapSuccessParam|undefined} value * @return {!proto.LoadMapSuccess} returns this */ proto.LoadMapSuccess.prototype.setVparam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.LoadMapSuccess} returns this */ proto.LoadMapSuccess.prototype.clearVparam = function() { return this.setVparam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.LoadMapSuccess.prototype.hasVparam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserDoAction.prototype.toObject = function(opt_includeInstance) { return proto.UserDoAction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserDoAction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserDoAction.toObject = function(includeInstance, msg) { var f, obj = { vselectedstr: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserDoAction} */ proto.UserDoAction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserDoAction; return proto.UserDoAction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserDoAction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserDoAction} */ proto.UserDoAction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setVselectedstr(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserDoAction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserDoAction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserDoAction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserDoAction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } }; /** * optional string VSelectedStr = 1; * @return {string} */ proto.UserDoAction.prototype.getVselectedstr = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.UserDoAction} returns this */ proto.UserDoAction.prototype.setVselectedstr = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UserDoAction} returns this */ proto.UserDoAction.prototype.clearVselectedstr = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserDoAction.prototype.hasVselectedstr = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UserNotifyTrigger.prototype.toObject = function(opt_includeInstance) { return proto.UserNotifyTrigger.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UserNotifyTrigger} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserNotifyTrigger.toObject = function(includeInstance, msg) { var f, obj = { vinfo: (f = msg.getVinfo()) && proto.UserNotifyTriggerInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UserNotifyTrigger} */ proto.UserNotifyTrigger.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UserNotifyTrigger; return proto.UserNotifyTrigger.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UserNotifyTrigger} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UserNotifyTrigger} */ proto.UserNotifyTrigger.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.UserNotifyTriggerInfo; reader.readMessage(value,proto.UserNotifyTriggerInfo.deserializeBinaryFromReader); msg.setVinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UserNotifyTrigger.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UserNotifyTrigger.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UserNotifyTrigger} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UserNotifyTrigger.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVinfo(); if (f != null) { writer.writeMessage( 1, f, proto.UserNotifyTriggerInfo.serializeBinaryToWriter ); } }; /** * optional UserNotifyTriggerInfo VInfo = 1; * @return {?proto.UserNotifyTriggerInfo} */ proto.UserNotifyTrigger.prototype.getVinfo = function() { return /** @type{?proto.UserNotifyTriggerInfo} */ ( jspb.Message.getWrapperField(this, proto.UserNotifyTriggerInfo, 1)); }; /** * @param {?proto.UserNotifyTriggerInfo|undefined} value * @return {!proto.UserNotifyTrigger} returns this */ proto.UserNotifyTrigger.prototype.setVinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.UserNotifyTrigger} returns this */ proto.UserNotifyTrigger.prototype.clearVinfo = function() { return this.setVinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UserNotifyTrigger.prototype.hasVinfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetLuaSceneAttr.prototype.toObject = function(opt_includeInstance) { return proto.GetLuaSceneAttr.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetLuaSceneAttr} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetLuaSceneAttr.toObject = function(includeInstance, msg) { var f, obj = { vattributename: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetLuaSceneAttr} */ proto.GetLuaSceneAttr.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetLuaSceneAttr; return proto.GetLuaSceneAttr.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetLuaSceneAttr} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetLuaSceneAttr} */ proto.GetLuaSceneAttr.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setVattributename(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetLuaSceneAttr.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetLuaSceneAttr.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetLuaSceneAttr} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetLuaSceneAttr.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } }; /** * optional string VAttributeName = 1; * @return {string} */ proto.GetLuaSceneAttr.prototype.getVattributename = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.GetLuaSceneAttr} returns this */ proto.GetLuaSceneAttr.prototype.setVattributename = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.GetLuaSceneAttr} returns this */ proto.GetLuaSceneAttr.prototype.clearVattributename = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetLuaSceneAttr.prototype.hasVattributename = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SaveUserSingleSceneCutsState.prototype.toObject = function(opt_includeInstance) { return proto.SaveUserSingleSceneCutsState.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SaveUserSingleSceneCutsState} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SaveUserSingleSceneCutsState.toObject = function(includeInstance, msg) { var f, obj = { cutskey: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, cutsvalue: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SaveUserSingleSceneCutsState} */ proto.SaveUserSingleSceneCutsState.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SaveUserSingleSceneCutsState; return proto.SaveUserSingleSceneCutsState.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SaveUserSingleSceneCutsState} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SaveUserSingleSceneCutsState} */ proto.SaveUserSingleSceneCutsState.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setCutskey(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setCutsvalue(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SaveUserSingleSceneCutsState.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SaveUserSingleSceneCutsState.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SaveUserSingleSceneCutsState} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SaveUserSingleSceneCutsState.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional int32 CutsKey = 1; * @return {number} */ proto.SaveUserSingleSceneCutsState.prototype.getCutskey = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SaveUserSingleSceneCutsState} returns this */ proto.SaveUserSingleSceneCutsState.prototype.setCutskey = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SaveUserSingleSceneCutsState} returns this */ proto.SaveUserSingleSceneCutsState.prototype.clearCutskey = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SaveUserSingleSceneCutsState.prototype.hasCutskey = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 CutsValue = 2; * @return {number} */ proto.SaveUserSingleSceneCutsState.prototype.getCutsvalue = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.SaveUserSingleSceneCutsState} returns this */ proto.SaveUserSingleSceneCutsState.prototype.setCutsvalue = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.SaveUserSingleSceneCutsState} returns this */ proto.SaveUserSingleSceneCutsState.prototype.clearCutsvalue = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SaveUserSingleSceneCutsState.prototype.hasCutsvalue = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SetAoiSyncUserCount.prototype.toObject = function(opt_includeInstance) { return proto.SetAoiSyncUserCount.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SetAoiSyncUserCount} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetAoiSyncUserCount.toObject = function(includeInstance, msg) { var f, obj = { vcount: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SetAoiSyncUserCount} */ proto.SetAoiSyncUserCount.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SetAoiSyncUserCount; return proto.SetAoiSyncUserCount.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SetAoiSyncUserCount} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SetAoiSyncUserCount} */ proto.SetAoiSyncUserCount.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setVcount(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SetAoiSyncUserCount.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SetAoiSyncUserCount.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SetAoiSyncUserCount} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetAoiSyncUserCount.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 VCount = 1; * @return {number} */ proto.SetAoiSyncUserCount.prototype.getVcount = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SetAoiSyncUserCount} returns this */ proto.SetAoiSyncUserCount.prototype.setVcount = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SetAoiSyncUserCount} returns this */ proto.SetAoiSyncUserCount.prototype.clearVcount = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetAoiSyncUserCount.prototype.hasVcount = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CutScenePlayEnd.prototype.toObject = function(opt_includeInstance) { return proto.CutScenePlayEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CutScenePlayEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutScenePlayEnd.toObject = function(includeInstance, msg) { var f, obj = { vcutsceneid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CutScenePlayEnd} */ proto.CutScenePlayEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CutScenePlayEnd; return proto.CutScenePlayEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CutScenePlayEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CutScenePlayEnd} */ proto.CutScenePlayEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setVcutsceneid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CutScenePlayEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CutScenePlayEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CutScenePlayEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CutScenePlayEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } }; /** * optional uint32 VCutSceneId = 1; * @return {number} */ proto.CutScenePlayEnd.prototype.getVcutsceneid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.CutScenePlayEnd} returns this */ proto.CutScenePlayEnd.prototype.setVcutsceneid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.CutScenePlayEnd} returns this */ proto.CutScenePlayEnd.prototype.clearVcutsceneid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CutScenePlayEnd.prototype.hasVcutsceneid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FlowPlayEnd.prototype.toObject = function(opt_includeInstance) { return proto.FlowPlayEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FlowPlayEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FlowPlayEnd.toObject = function(includeInstance, msg) { var f, obj = { vflowid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FlowPlayEnd} */ proto.FlowPlayEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FlowPlayEnd; return proto.FlowPlayEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FlowPlayEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FlowPlayEnd} */ proto.FlowPlayEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readUint32()); msg.setVflowid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FlowPlayEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FlowPlayEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FlowPlayEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FlowPlayEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeUint32( 1, f ); } }; /** * optional uint32 VFlowId = 1; * @return {number} */ proto.FlowPlayEnd.prototype.getVflowid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.FlowPlayEnd} returns this */ proto.FlowPlayEnd.prototype.setVflowid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.FlowPlayEnd} returns this */ proto.FlowPlayEnd.prototype.clearVflowid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FlowPlayEnd.prototype.hasVflowid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncSceneArea.prototype.toObject = function(opt_includeInstance) { return proto.SyncSceneArea.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncSceneArea} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSceneArea.toObject = function(includeInstance, msg) { var f, obj = { sceneareaid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncSceneArea} */ proto.SyncSceneArea.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncSceneArea; return proto.SyncSceneArea.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncSceneArea} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncSceneArea} */ proto.SyncSceneArea.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setSceneareaid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncSceneArea.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncSceneArea.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncSceneArea} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncSceneArea.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 SceneAreaId = 1; * @return {number} */ proto.SyncSceneArea.prototype.getSceneareaid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SyncSceneArea} returns this */ proto.SyncSceneArea.prototype.setSceneareaid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncSceneArea} returns this */ proto.SyncSceneArea.prototype.clearSceneareaid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncSceneArea.prototype.hasSceneareaid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.StartPlayAction.prototype.toObject = function(opt_includeInstance) { return proto.StartPlayAction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.StartPlayAction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StartPlayAction.toObject = function(includeInstance, msg) { var f, obj = { vinviteeid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, vactionid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, visupper: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.StartPlayAction} */ proto.StartPlayAction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.StartPlayAction; return proto.StartPlayAction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.StartPlayAction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.StartPlayAction} */ proto.StartPlayAction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setVinviteeid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setVactionid(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setVisupper(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.StartPlayAction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.StartPlayAction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.StartPlayAction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StartPlayAction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } }; /** * optional int64 VInviteeId = 1; * @return {number} */ proto.StartPlayAction.prototype.getVinviteeid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.StartPlayAction} returns this */ proto.StartPlayAction.prototype.setVinviteeid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.StartPlayAction} returns this */ proto.StartPlayAction.prototype.clearVinviteeid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StartPlayAction.prototype.hasVinviteeid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 VActionId = 2; * @return {number} */ proto.StartPlayAction.prototype.getVactionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.StartPlayAction} returns this */ proto.StartPlayAction.prototype.setVactionid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.StartPlayAction} returns this */ proto.StartPlayAction.prototype.clearVactionid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StartPlayAction.prototype.hasVactionid = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool VIsUpper = 3; * @return {boolean} */ proto.StartPlayAction.prototype.getVisupper = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.StartPlayAction} returns this */ proto.StartPlayAction.prototype.setVisupper = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.StartPlayAction} returns this */ proto.StartPlayAction.prototype.clearVisupper = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StartPlayAction.prototype.hasVisupper = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SetInteractionPartnerPos.prototype.toObject = function(opt_includeInstance) { return proto.SetInteractionPartnerPos.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SetInteractionPartnerPos} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetInteractionPartnerPos.toObject = function(includeInstance, msg) { var f, obj = { vcurpos: (f = msg.getVcurpos()) && proto.Position.toObject(includeInstance, f), vdestpos: (f = msg.getVdestpos()) && proto.Position.toObject(includeInstance, f), vmovetype: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, vtimestamp: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SetInteractionPartnerPos} */ proto.SetInteractionPartnerPos.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SetInteractionPartnerPos; return proto.SetInteractionPartnerPos.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SetInteractionPartnerPos} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SetInteractionPartnerPos} */ proto.SetInteractionPartnerPos.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setVcurpos(value); break; case 2: var value = new proto.Position; reader.readMessage(value,proto.Position.deserializeBinaryFromReader); msg.setVdestpos(value); break; case 3: var value = /** @type {!proto.EMoveType} */ (reader.readEnum()); msg.setVmovetype(value); break; case 4: var value = /** @type {number} */ (reader.readInt64()); msg.setVtimestamp(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SetInteractionPartnerPos.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SetInteractionPartnerPos.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SetInteractionPartnerPos} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetInteractionPartnerPos.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVcurpos(); if (f != null) { writer.writeMessage( 1, f, proto.Position.serializeBinaryToWriter ); } f = message.getVdestpos(); if (f != null) { writer.writeMessage( 2, f, proto.Position.serializeBinaryToWriter ); } f = /** @type {!proto.EMoveType} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeEnum( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeInt64( 4, f ); } }; /** * optional Position VCurPos = 1; * @return {?proto.Position} */ proto.SetInteractionPartnerPos.prototype.getVcurpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 1)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.SetInteractionPartnerPos} returns this */ proto.SetInteractionPartnerPos.prototype.setVcurpos = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SetInteractionPartnerPos} returns this */ proto.SetInteractionPartnerPos.prototype.clearVcurpos = function() { return this.setVcurpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetInteractionPartnerPos.prototype.hasVcurpos = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional Position VDestPos = 2; * @return {?proto.Position} */ proto.SetInteractionPartnerPos.prototype.getVdestpos = function() { return /** @type{?proto.Position} */ ( jspb.Message.getWrapperField(this, proto.Position, 2)); }; /** * @param {?proto.Position|undefined} value * @return {!proto.SetInteractionPartnerPos} returns this */ proto.SetInteractionPartnerPos.prototype.setVdestpos = function(value) { return jspb.Message.setWrapperField(this, 2, value); }; /** * Clears the message field making it undefined. * @return {!proto.SetInteractionPartnerPos} returns this */ proto.SetInteractionPartnerPos.prototype.clearVdestpos = function() { return this.setVdestpos(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetInteractionPartnerPos.prototype.hasVdestpos = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional EMoveType VMoveType = 3; * @return {!proto.EMoveType} */ proto.SetInteractionPartnerPos.prototype.getVmovetype = function() { return /** @type {!proto.EMoveType} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {!proto.EMoveType} value * @return {!proto.SetInteractionPartnerPos} returns this */ proto.SetInteractionPartnerPos.prototype.setVmovetype = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.SetInteractionPartnerPos} returns this */ proto.SetInteractionPartnerPos.prototype.clearVmovetype = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetInteractionPartnerPos.prototype.hasVmovetype = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional int64 VTimeStamp = 4; * @return {number} */ proto.SetInteractionPartnerPos.prototype.getVtimestamp = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); }; /** * @param {number} value * @return {!proto.SetInteractionPartnerPos} returns this */ proto.SetInteractionPartnerPos.prototype.setVtimestamp = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.SetInteractionPartnerPos} returns this */ proto.SetInteractionPartnerPos.prototype.clearVtimestamp = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetInteractionPartnerPos.prototype.hasVtimestamp = function() { return jspb.Message.getField(this, 4) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.InteractionWithNotPlayer.prototype.toObject = function(opt_includeInstance) { return proto.InteractionWithNotPlayer.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.InteractionWithNotPlayer} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InteractionWithNotPlayer.toObject = function(includeInstance, msg) { var f, obj = { ventityconfigid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, ventitytype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, vactionid: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.InteractionWithNotPlayer} */ proto.InteractionWithNotPlayer.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.InteractionWithNotPlayer; return proto.InteractionWithNotPlayer.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.InteractionWithNotPlayer} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.InteractionWithNotPlayer} */ proto.InteractionWithNotPlayer.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setVentityconfigid(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setVentitytype(value); break; case 3: var value = /** @type {number} */ (reader.readInt32()); msg.setVactionid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.InteractionWithNotPlayer.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.InteractionWithNotPlayer.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.InteractionWithNotPlayer} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InteractionWithNotPlayer.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeInt32( 3, f ); } }; /** * optional int32 VEntityConfigId = 1; * @return {number} */ proto.InteractionWithNotPlayer.prototype.getVentityconfigid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.InteractionWithNotPlayer} returns this */ proto.InteractionWithNotPlayer.prototype.setVentityconfigid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionWithNotPlayer} returns this */ proto.InteractionWithNotPlayer.prototype.clearVentityconfigid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionWithNotPlayer.prototype.hasVentityconfigid = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 VEntityType = 2; * @return {number} */ proto.InteractionWithNotPlayer.prototype.getVentitytype = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.InteractionWithNotPlayer} returns this */ proto.InteractionWithNotPlayer.prototype.setVentitytype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionWithNotPlayer} returns this */ proto.InteractionWithNotPlayer.prototype.clearVentitytype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionWithNotPlayer.prototype.hasVentitytype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional int32 VActionId = 3; * @return {number} */ proto.InteractionWithNotPlayer.prototype.getVactionid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); }; /** * @param {number} value * @return {!proto.InteractionWithNotPlayer} returns this */ proto.InteractionWithNotPlayer.prototype.setVactionid = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionWithNotPlayer} returns this */ proto.InteractionWithNotPlayer.prototype.clearVactionid = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionWithNotPlayer.prototype.hasVactionid = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SetAiming.prototype.toObject = function(opt_includeInstance) { return proto.SetAiming.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SetAiming} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetAiming.toObject = function(includeInstance, msg) { var f, obj = { isaiming: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SetAiming} */ proto.SetAiming.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SetAiming; return proto.SetAiming.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SetAiming} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SetAiming} */ proto.SetAiming.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsaiming(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SetAiming.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SetAiming.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SetAiming} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetAiming.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } }; /** * optional bool IsAiming = 1; * @return {boolean} */ proto.SetAiming.prototype.getIsaiming = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.SetAiming} returns this */ proto.SetAiming.prototype.setIsaiming = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SetAiming} returns this */ proto.SetAiming.prototype.clearIsaiming = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetAiming.prototype.hasIsaiming = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.AttachVelocity.prototype.toObject = function(opt_includeInstance) { return proto.AttachVelocity.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.AttachVelocity} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AttachVelocity.toObject = function(includeInstance, msg) { var f, obj = { attachspeed: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f, veldirx: (f = jspb.Message.getOptionalFloatingPointField(msg, 2)) == null ? undefined : f, veldiry: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f, veldirz: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f, attachsource: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, sourceentuuid: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.AttachVelocity} */ proto.AttachVelocity.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.AttachVelocity; return proto.AttachVelocity.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.AttachVelocity} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.AttachVelocity} */ proto.AttachVelocity.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readFloat()); msg.setAttachspeed(value); break; case 2: var value = /** @type {number} */ (reader.readFloat()); msg.setVeldirx(value); break; case 3: var value = /** @type {number} */ (reader.readFloat()); msg.setVeldiry(value); break; case 4: var value = /** @type {number} */ (reader.readFloat()); msg.setVeldirz(value); break; case 5: var value = /** @type {number} */ (reader.readInt32()); msg.setAttachsource(value); break; case 6: var value = /** @type {number} */ (reader.readInt64()); msg.setSourceentuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.AttachVelocity.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.AttachVelocity.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.AttachVelocity} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.AttachVelocity.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeFloat( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeFloat( 2, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeFloat( 3, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeFloat( 4, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeInt32( 5, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeInt64( 6, f ); } }; /** * optional float AttachSpeed = 1; * @return {number} */ proto.AttachVelocity.prototype.getAttachspeed = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); }; /** * @param {number} value * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.setAttachspeed = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.clearAttachspeed = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AttachVelocity.prototype.hasAttachspeed = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional float VelDirX = 2; * @return {number} */ proto.AttachVelocity.prototype.getVeldirx = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.setVeldirx = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.clearVeldirx = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AttachVelocity.prototype.hasVeldirx = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional float VelDirY = 3; * @return {number} */ proto.AttachVelocity.prototype.getVeldiry = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0)); }; /** * @param {number} value * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.setVeldiry = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.clearVeldiry = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AttachVelocity.prototype.hasVeldiry = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional float VelDirZ = 4; * @return {number} */ proto.AttachVelocity.prototype.getVeldirz = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0)); }; /** * @param {number} value * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.setVeldirz = function(value) { return jspb.Message.setField(this, 4, value); }; /** * Clears the field making it undefined. * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.clearVeldirz = function() { return jspb.Message.setField(this, 4, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AttachVelocity.prototype.hasVeldirz = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional int32 AttachSource = 5; * @return {number} */ proto.AttachVelocity.prototype.getAttachsource = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); }; /** * @param {number} value * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.setAttachsource = function(value) { return jspb.Message.setField(this, 5, value); }; /** * Clears the field making it undefined. * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.clearAttachsource = function() { return jspb.Message.setField(this, 5, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AttachVelocity.prototype.hasAttachsource = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional int64 SourceEntUuid = 6; * @return {number} */ proto.AttachVelocity.prototype.getSourceentuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0)); }; /** * @param {number} value * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.setSourceentuuid = function(value) { return jspb.Message.setField(this, 6, value); }; /** * Clears the field making it undefined. * @return {!proto.AttachVelocity} returns this */ proto.AttachVelocity.prototype.clearSourceentuuid = function() { return jspb.Message.setField(this, 6, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.AttachVelocity.prototype.hasSourceentuuid = function() { return jspb.Message.getField(this, 6) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ResetAttachVelocity.prototype.toObject = function(opt_includeInstance) { return proto.ResetAttachVelocity.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ResetAttachVelocity} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ResetAttachVelocity.toObject = function(includeInstance, msg) { var f, obj = { attachsource: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, sourceentuuid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ResetAttachVelocity} */ proto.ResetAttachVelocity.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ResetAttachVelocity; return proto.ResetAttachVelocity.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ResetAttachVelocity} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ResetAttachVelocity} */ proto.ResetAttachVelocity.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setAttachsource(value); break; case 2: var value = /** @type {number} */ (reader.readInt64()); msg.setSourceentuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ResetAttachVelocity.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ResetAttachVelocity.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ResetAttachVelocity} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ResetAttachVelocity.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt64( 2, f ); } }; /** * optional int32 AttachSource = 1; * @return {number} */ proto.ResetAttachVelocity.prototype.getAttachsource = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.ResetAttachVelocity} returns this */ proto.ResetAttachVelocity.prototype.setAttachsource = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.ResetAttachVelocity} returns this */ proto.ResetAttachVelocity.prototype.clearAttachsource = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ResetAttachVelocity.prototype.hasAttachsource = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int64 SourceEntUuid = 2; * @return {number} */ proto.ResetAttachVelocity.prototype.getSourceentuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.ResetAttachVelocity} returns this */ proto.ResetAttachVelocity.prototype.setSourceentuuid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.ResetAttachVelocity} returns this */ proto.ResetAttachVelocity.prototype.clearSourceentuuid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.ResetAttachVelocity.prototype.hasSourceentuuid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SetTunnel.prototype.toObject = function(opt_includeInstance) { return proto.SetTunnel.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SetTunnel} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetTunnel.toObject = function(includeInstance, msg) { var f, obj = { tunnelid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SetTunnel} */ proto.SetTunnel.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SetTunnel; return proto.SetTunnel.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SetTunnel} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SetTunnel} */ proto.SetTunnel.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setTunnelid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SetTunnel.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SetTunnel.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SetTunnel} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetTunnel.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } }; /** * optional int32 TunnelId = 1; * @return {number} */ proto.SetTunnel.prototype.getTunnelid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.SetTunnel} returns this */ proto.SetTunnel.prototype.setTunnelid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SetTunnel} returns this */ proto.SetTunnel.prototype.clearTunnelid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetTunnel.prototype.hasTunnelid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NewMove.prototype.toObject = function(opt_includeInstance) { return proto.NewMove.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NewMove} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NewMove.toObject = function(includeInstance, msg) { var f, obj = { info: (f = msg.getInfo()) && proto.UserControlInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NewMove} */ proto.NewMove.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NewMove; return proto.NewMove.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NewMove} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NewMove} */ proto.NewMove.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.UserControlInfo; reader.readMessage(value,proto.UserControlInfo.deserializeBinaryFromReader); msg.setInfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NewMove.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NewMove.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NewMove} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NewMove.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getInfo(); if (f != null) { writer.writeMessage( 1, f, proto.UserControlInfo.serializeBinaryToWriter ); } }; /** * optional UserControlInfo Info = 1; * @return {?proto.UserControlInfo} */ proto.NewMove.prototype.getInfo = function() { return /** @type{?proto.UserControlInfo} */ ( jspb.Message.getWrapperField(this, proto.UserControlInfo, 1)); }; /** * @param {?proto.UserControlInfo|undefined} value * @return {!proto.NewMove} returns this */ proto.NewMove.prototype.setInfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NewMove} returns this */ proto.NewMove.prototype.clearInfo = function() { return this.setInfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NewMove.prototype.hasInfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.PersonalObjectAction.prototype.toObject = function(opt_includeInstance) { return proto.PersonalObjectAction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.PersonalObjectAction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalObjectAction.toObject = function(includeInstance, msg) { var f, obj = { vobjuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.PersonalObjectAction} */ proto.PersonalObjectAction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.PersonalObjectAction; return proto.PersonalObjectAction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.PersonalObjectAction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.PersonalObjectAction} */ proto.PersonalObjectAction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setVobjuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.PersonalObjectAction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.PersonalObjectAction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.PersonalObjectAction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.PersonalObjectAction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 VObjUuid = 1; * @return {number} */ proto.PersonalObjectAction.prototype.getVobjuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.PersonalObjectAction} returns this */ proto.PersonalObjectAction.prototype.setVobjuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.PersonalObjectAction} returns this */ proto.PersonalObjectAction.prototype.clearVobjuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.PersonalObjectAction.prototype.hasVobjuuid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TakeOnShowPiece.prototype.toObject = function(opt_includeInstance) { return proto.TakeOnShowPiece.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TakeOnShowPiece} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnShowPiece.toObject = function(includeInstance, msg) { var f, obj = { vpiecetype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, vpieceid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TakeOnShowPiece} */ proto.TakeOnShowPiece.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TakeOnShowPiece; return proto.TakeOnShowPiece.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TakeOnShowPiece} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TakeOnShowPiece} */ proto.TakeOnShowPiece.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EShowPieceType} */ (reader.readEnum()); msg.setVpiecetype(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setVpieceid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TakeOnShowPiece.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TakeOnShowPiece.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TakeOnShowPiece} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnShowPiece.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EShowPieceType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional EShowPieceType VPieceType = 1; * @return {!proto.EShowPieceType} */ proto.TakeOnShowPiece.prototype.getVpiecetype = function() { return /** @type {!proto.EShowPieceType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EShowPieceType} value * @return {!proto.TakeOnShowPiece} returns this */ proto.TakeOnShowPiece.prototype.setVpiecetype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TakeOnShowPiece} returns this */ proto.TakeOnShowPiece.prototype.clearVpiecetype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TakeOnShowPiece.prototype.hasVpiecetype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 VPieceId = 2; * @return {number} */ proto.TakeOnShowPiece.prototype.getVpieceid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.TakeOnShowPiece} returns this */ proto.TakeOnShowPiece.prototype.setVpieceid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TakeOnShowPiece} returns this */ proto.TakeOnShowPiece.prototype.clearVpieceid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TakeOnShowPiece.prototype.hasVpieceid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TakeOffShowPiece.prototype.toObject = function(opt_includeInstance) { return proto.TakeOffShowPiece.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TakeOffShowPiece} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOffShowPiece.toObject = function(includeInstance, msg) { var f, obj = { vpiecetype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, vpieceid: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TakeOffShowPiece} */ proto.TakeOffShowPiece.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TakeOffShowPiece; return proto.TakeOffShowPiece.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TakeOffShowPiece} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TakeOffShowPiece} */ proto.TakeOffShowPiece.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EShowPieceType} */ (reader.readEnum()); msg.setVpiecetype(value); break; case 2: var value = /** @type {number} */ (reader.readInt32()); msg.setVpieceid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TakeOffShowPiece.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TakeOffShowPiece.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TakeOffShowPiece} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOffShowPiece.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EShowPieceType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } f = /** @type {number} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeInt32( 2, f ); } }; /** * optional EShowPieceType VPieceType = 1; * @return {!proto.EShowPieceType} */ proto.TakeOffShowPiece.prototype.getVpiecetype = function() { return /** @type {!proto.EShowPieceType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EShowPieceType} value * @return {!proto.TakeOffShowPiece} returns this */ proto.TakeOffShowPiece.prototype.setVpiecetype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.TakeOffShowPiece} returns this */ proto.TakeOffShowPiece.prototype.clearVpiecetype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TakeOffShowPiece.prototype.hasVpiecetype = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional int32 VPieceId = 2; * @return {number} */ proto.TakeOffShowPiece.prototype.getVpieceid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {number} value * @return {!proto.TakeOffShowPiece} returns this */ proto.TakeOffShowPiece.prototype.setVpieceid = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.TakeOffShowPiece} returns this */ proto.TakeOffShowPiece.prototype.clearVpieceid = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TakeOffShowPiece.prototype.hasVpieceid = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.Interaction.prototype.toObject = function(opt_includeInstance) { return proto.Interaction.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.Interaction} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Interaction.toObject = function(includeInstance, msg) { var f, obj = { vinfo: (f = msg.getVinfo()) && proto.InteractionTemplateData.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.Interaction} */ proto.Interaction.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.Interaction; return proto.Interaction.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.Interaction} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.Interaction} */ proto.Interaction.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.InteractionTemplateData; reader.readMessage(value,proto.InteractionTemplateData.deserializeBinaryFromReader); msg.setVinfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.Interaction.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.Interaction.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.Interaction} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.Interaction.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVinfo(); if (f != null) { writer.writeMessage( 1, f, proto.InteractionTemplateData.serializeBinaryToWriter ); } }; /** * optional InteractionTemplateData VInfo = 1; * @return {?proto.InteractionTemplateData} */ proto.Interaction.prototype.getVinfo = function() { return /** @type{?proto.InteractionTemplateData} */ ( jspb.Message.getWrapperField(this, proto.InteractionTemplateData, 1)); }; /** * @param {?proto.InteractionTemplateData|undefined} value * @return {!proto.Interaction} returns this */ proto.Interaction.prototype.setVinfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.Interaction} returns this */ proto.Interaction.prototype.clearVinfo = function() { return this.setVinfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.Interaction.prototype.hasVinfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.InteractionActionEnd.prototype.toObject = function(opt_includeInstance) { return proto.InteractionActionEnd.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.InteractionActionEnd} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InteractionActionEnd.toObject = function(includeInstance, msg) { var f, obj = { curstage: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, actiontype: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, issuccess: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.InteractionActionEnd} */ proto.InteractionActionEnd.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.InteractionActionEnd; return proto.InteractionActionEnd.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.InteractionActionEnd} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.InteractionActionEnd} */ proto.InteractionActionEnd.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setCurstage(value); break; case 2: var value = /** @type {!proto.EInteractionAction} */ (reader.readEnum()); msg.setActiontype(value); break; case 3: var value = /** @type {boolean} */ (reader.readBool()); msg.setIssuccess(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.InteractionActionEnd.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.InteractionActionEnd.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.InteractionActionEnd} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.InteractionActionEnd.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt32( 1, f ); } f = /** @type {!proto.EInteractionAction} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeEnum( 2, f ); } f = /** @type {boolean} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeBool( 3, f ); } }; /** * optional int32 CurStage = 1; * @return {number} */ proto.InteractionActionEnd.prototype.getCurstage = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.InteractionActionEnd} returns this */ proto.InteractionActionEnd.prototype.setCurstage = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionActionEnd} returns this */ proto.InteractionActionEnd.prototype.clearCurstage = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionActionEnd.prototype.hasCurstage = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional EInteractionAction ActionType = 2; * @return {!proto.EInteractionAction} */ proto.InteractionActionEnd.prototype.getActiontype = function() { return /** @type {!proto.EInteractionAction} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); }; /** * @param {!proto.EInteractionAction} value * @return {!proto.InteractionActionEnd} returns this */ proto.InteractionActionEnd.prototype.setActiontype = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionActionEnd} returns this */ proto.InteractionActionEnd.prototype.clearActiontype = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionActionEnd.prototype.hasActiontype = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional bool IsSuccess = 3; * @return {boolean} */ proto.InteractionActionEnd.prototype.getIssuccess = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); }; /** * @param {boolean} value * @return {!proto.InteractionActionEnd} returns this */ proto.InteractionActionEnd.prototype.setIssuccess = function(value) { return jspb.Message.setField(this, 3, value); }; /** * Clears the field making it undefined. * @return {!proto.InteractionActionEnd} returns this */ proto.InteractionActionEnd.prototype.clearIssuccess = function() { return jspb.Message.setField(this, 3, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.InteractionActionEnd.prototype.hasIssuccess = function() { return jspb.Message.getField(this, 3) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UploadTLogBody.prototype.toObject = function(opt_includeInstance) { return proto.UploadTLogBody.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UploadTLogBody} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UploadTLogBody.toObject = function(includeInstance, msg) { var f, obj = { tlogname: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, tlogbody: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UploadTLogBody} */ proto.UploadTLogBody.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UploadTLogBody; return proto.UploadTLogBody.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UploadTLogBody} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UploadTLogBody} */ proto.UploadTLogBody.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setTlogname(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setTlogbody(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UploadTLogBody.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UploadTLogBody.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UploadTLogBody} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UploadTLogBody.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {string} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeString( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } }; /** * optional string TLogName = 1; * @return {string} */ proto.UploadTLogBody.prototype.getTlogname = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.UploadTLogBody} returns this */ proto.UploadTLogBody.prototype.setTlogname = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.UploadTLogBody} returns this */ proto.UploadTLogBody.prototype.clearTlogname = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UploadTLogBody.prototype.hasTlogname = function() { return jspb.Message.getField(this, 1) != null; }; /** * optional string TLogBody = 2; * @return {string} */ proto.UploadTLogBody.prototype.getTlogbody = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.UploadTLogBody} returns this */ proto.UploadTLogBody.prototype.setTlogbody = function(value) { return jspb.Message.setField(this, 2, value); }; /** * Clears the field making it undefined. * @return {!proto.UploadTLogBody} returns this */ proto.UploadTLogBody.prototype.clearTlogbody = function() { return jspb.Message.setField(this, 2, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UploadTLogBody.prototype.hasTlogbody = function() { return jspb.Message.getField(this, 2) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.CommunityGetHomeLandBaseInfo.prototype.toObject = function(opt_includeInstance) { return proto.CommunityGetHomeLandBaseInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.CommunityGetHomeLandBaseInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityGetHomeLandBaseInfo.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.CommunityGetHomeLandBaseInfoRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.CommunityGetHomeLandBaseInfo} */ proto.CommunityGetHomeLandBaseInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.CommunityGetHomeLandBaseInfo; return proto.CommunityGetHomeLandBaseInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.CommunityGetHomeLandBaseInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.CommunityGetHomeLandBaseInfo} */ proto.CommunityGetHomeLandBaseInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.CommunityGetHomeLandBaseInfoRequest; reader.readMessage(value,proto.CommunityGetHomeLandBaseInfoRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.CommunityGetHomeLandBaseInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.CommunityGetHomeLandBaseInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.CommunityGetHomeLandBaseInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.CommunityGetHomeLandBaseInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.CommunityGetHomeLandBaseInfoRequest.serializeBinaryToWriter ); } }; /** * optional CommunityGetHomeLandBaseInfoRequest VRequest = 1; * @return {?proto.CommunityGetHomeLandBaseInfoRequest} */ proto.CommunityGetHomeLandBaseInfo.prototype.getVrequest = function() { return /** @type{?proto.CommunityGetHomeLandBaseInfoRequest} */ ( jspb.Message.getWrapperField(this, proto.CommunityGetHomeLandBaseInfoRequest, 1)); }; /** * @param {?proto.CommunityGetHomeLandBaseInfoRequest|undefined} value * @return {!proto.CommunityGetHomeLandBaseInfo} returns this */ proto.CommunityGetHomeLandBaseInfo.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.CommunityGetHomeLandBaseInfo} returns this */ proto.CommunityGetHomeLandBaseInfo.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.CommunityGetHomeLandBaseInfo.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UpdateStructure.prototype.toObject = function(opt_includeInstance) { return proto.UpdateStructure.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UpdateStructure} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UpdateStructure.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.UpdateStructureRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UpdateStructure} */ proto.UpdateStructure.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UpdateStructure; return proto.UpdateStructure.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UpdateStructure} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UpdateStructure} */ proto.UpdateStructure.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.UpdateStructureRequest; reader.readMessage(value,proto.UpdateStructureRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UpdateStructure.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UpdateStructure.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UpdateStructure} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UpdateStructure.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.UpdateStructureRequest.serializeBinaryToWriter ); } }; /** * optional UpdateStructureRequest VRequest = 1; * @return {?proto.UpdateStructureRequest} */ proto.UpdateStructure.prototype.getVrequest = function() { return /** @type{?proto.UpdateStructureRequest} */ ( jspb.Message.getWrapperField(this, proto.UpdateStructureRequest, 1)); }; /** * @param {?proto.UpdateStructureRequest|undefined} value * @return {!proto.UpdateStructure} returns this */ proto.UpdateStructure.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.UpdateStructure} returns this */ proto.UpdateStructure.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UpdateStructure.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetHomelandBuildFurnitureInfo.prototype.toObject = function(opt_includeInstance) { return proto.GetHomelandBuildFurnitureInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetHomelandBuildFurnitureInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetHomelandBuildFurnitureInfo.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.GetHomelandBuildFurnitureInfoRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetHomelandBuildFurnitureInfo} */ proto.GetHomelandBuildFurnitureInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetHomelandBuildFurnitureInfo; return proto.GetHomelandBuildFurnitureInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetHomelandBuildFurnitureInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetHomelandBuildFurnitureInfo} */ proto.GetHomelandBuildFurnitureInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.GetHomelandBuildFurnitureInfoRequest; reader.readMessage(value,proto.GetHomelandBuildFurnitureInfoRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetHomelandBuildFurnitureInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetHomelandBuildFurnitureInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetHomelandBuildFurnitureInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetHomelandBuildFurnitureInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.GetHomelandBuildFurnitureInfoRequest.serializeBinaryToWriter ); } }; /** * optional GetHomelandBuildFurnitureInfoRequest VRequest = 1; * @return {?proto.GetHomelandBuildFurnitureInfoRequest} */ proto.GetHomelandBuildFurnitureInfo.prototype.getVrequest = function() { return /** @type{?proto.GetHomelandBuildFurnitureInfoRequest} */ ( jspb.Message.getWrapperField(this, proto.GetHomelandBuildFurnitureInfoRequest, 1)); }; /** * @param {?proto.GetHomelandBuildFurnitureInfoRequest|undefined} value * @return {!proto.GetHomelandBuildFurnitureInfo} returns this */ proto.GetHomelandBuildFurnitureInfo.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.GetHomelandBuildFurnitureInfo} returns this */ proto.GetHomelandBuildFurnitureInfo.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetHomelandBuildFurnitureInfo.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.UseSlot.prototype.toObject = function(opt_includeInstance) { return proto.UseSlot.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.UseSlot} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UseSlot.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.UseSlotRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.UseSlot} */ proto.UseSlot.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.UseSlot; return proto.UseSlot.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.UseSlot} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.UseSlot} */ proto.UseSlot.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.UseSlotRequest; reader.readMessage(value,proto.UseSlotRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.UseSlot.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.UseSlot.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.UseSlot} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.UseSlot.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.UseSlotRequest.serializeBinaryToWriter ); } }; /** * optional UseSlotRequest VRequest = 1; * @return {?proto.UseSlotRequest} */ proto.UseSlot.prototype.getVrequest = function() { return /** @type{?proto.UseSlotRequest} */ ( jspb.Message.getWrapperField(this, proto.UseSlotRequest, 1)); }; /** * @param {?proto.UseSlotRequest|undefined} value * @return {!proto.UseSlot} returns this */ proto.UseSlot.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.UseSlot} returns this */ proto.UseSlot.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.UseSlot.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SetSlotAutoBattle.prototype.toObject = function(opt_includeInstance) { return proto.SetSlotAutoBattle.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SetSlotAutoBattle} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetSlotAutoBattle.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.SetSlotAutoBattleRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SetSlotAutoBattle} */ proto.SetSlotAutoBattle.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SetSlotAutoBattle; return proto.SetSlotAutoBattle.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SetSlotAutoBattle} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SetSlotAutoBattle} */ proto.SetSlotAutoBattle.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.SetSlotAutoBattleRequest; reader.readMessage(value,proto.SetSlotAutoBattleRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SetSlotAutoBattle.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SetSlotAutoBattle.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SetSlotAutoBattle} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SetSlotAutoBattle.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.SetSlotAutoBattleRequest.serializeBinaryToWriter ); } }; /** * optional SetSlotAutoBattleRequest VRequest = 1; * @return {?proto.SetSlotAutoBattleRequest} */ proto.SetSlotAutoBattle.prototype.getVrequest = function() { return /** @type{?proto.SetSlotAutoBattleRequest} */ ( jspb.Message.getWrapperField(this, proto.SetSlotAutoBattleRequest, 1)); }; /** * @param {?proto.SetSlotAutoBattleRequest|undefined} value * @return {!proto.SetSlotAutoBattle} returns this */ proto.SetSlotAutoBattle.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.SetSlotAutoBattle} returns this */ proto.SetSlotAutoBattle.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SetSlotAutoBattle.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.MonsterHuntUnlockMonster.prototype.toObject = function(opt_includeInstance) { return proto.MonsterHuntUnlockMonster.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.MonsterHuntUnlockMonster} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterHuntUnlockMonster.toObject = function(includeInstance, msg) { var f, obj = { info: (f = msg.getInfo()) && proto.UnlockInfo.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.MonsterHuntUnlockMonster} */ proto.MonsterHuntUnlockMonster.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.MonsterHuntUnlockMonster; return proto.MonsterHuntUnlockMonster.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.MonsterHuntUnlockMonster} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.MonsterHuntUnlockMonster} */ proto.MonsterHuntUnlockMonster.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.UnlockInfo; reader.readMessage(value,proto.UnlockInfo.deserializeBinaryFromReader); msg.setInfo(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.MonsterHuntUnlockMonster.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.MonsterHuntUnlockMonster.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.MonsterHuntUnlockMonster} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.MonsterHuntUnlockMonster.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getInfo(); if (f != null) { writer.writeMessage( 1, f, proto.UnlockInfo.serializeBinaryToWriter ); } }; /** * optional UnlockInfo Info = 1; * @return {?proto.UnlockInfo} */ proto.MonsterHuntUnlockMonster.prototype.getInfo = function() { return /** @type{?proto.UnlockInfo} */ ( jspb.Message.getWrapperField(this, proto.UnlockInfo, 1)); }; /** * @param {?proto.UnlockInfo|undefined} value * @return {!proto.MonsterHuntUnlockMonster} returns this */ proto.MonsterHuntUnlockMonster.prototype.setInfo = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.MonsterHuntUnlockMonster} returns this */ proto.MonsterHuntUnlockMonster.prototype.clearInfo = function() { return this.setInfo(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.MonsterHuntUnlockMonster.prototype.hasInfo = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.FishingSetStage.prototype.toObject = function(opt_includeInstance) { return proto.FishingSetStage.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.FishingSetStage} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishingSetStage.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.FishingSetStageRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.FishingSetStage} */ proto.FishingSetStage.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.FishingSetStage; return proto.FishingSetStage.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.FishingSetStage} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.FishingSetStage} */ proto.FishingSetStage.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.FishingSetStageRequest; reader.readMessage(value,proto.FishingSetStageRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.FishingSetStage.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.FishingSetStage.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.FishingSetStage} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.FishingSetStage.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.FishingSetStageRequest.serializeBinaryToWriter ); } }; /** * optional FishingSetStageRequest VRequest = 1; * @return {?proto.FishingSetStageRequest} */ proto.FishingSetStage.prototype.getVrequest = function() { return /** @type{?proto.FishingSetStageRequest} */ ( jspb.Message.getWrapperField(this, proto.FishingSetStageRequest, 1)); }; /** * @param {?proto.FishingSetStageRequest|undefined} value * @return {!proto.FishingSetStage} returns this */ proto.FishingSetStage.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.FishingSetStage} returns this */ proto.FishingSetStage.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.FishingSetStage.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetSocialData.prototype.toObject = function(opt_includeInstance) { return proto.GetSocialData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetSocialData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetSocialData.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.GetSocialDataRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetSocialData} */ proto.GetSocialData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetSocialData; return proto.GetSocialData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetSocialData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetSocialData} */ proto.GetSocialData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.GetSocialDataRequest; reader.readMessage(value,proto.GetSocialDataRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetSocialData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetSocialData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetSocialData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetSocialData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.GetSocialDataRequest.serializeBinaryToWriter ); } }; /** * optional GetSocialDataRequest VRequest = 1; * @return {?proto.GetSocialDataRequest} */ proto.GetSocialData.prototype.getVrequest = function() { return /** @type{?proto.GetSocialDataRequest} */ ( jspb.Message.getWrapperField(this, proto.GetSocialDataRequest, 1)); }; /** * @param {?proto.GetSocialDataRequest|undefined} value * @return {!proto.GetSocialData} returns this */ proto.GetSocialData.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.GetSocialData} returns this */ proto.GetSocialData.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetSocialData.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.StopRide.prototype.toObject = function(opt_includeInstance) { return proto.StopRide.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.StopRide} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StopRide.toObject = function(includeInstance, msg) { var f, obj = { isforce: (f = jspb.Message.getBooleanField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.StopRide} */ proto.StopRide.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.StopRide; return proto.StopRide.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.StopRide} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.StopRide} */ proto.StopRide.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {boolean} */ (reader.readBool()); msg.setIsforce(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.StopRide.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.StopRide.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.StopRide} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.StopRide.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {boolean} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeBool( 1, f ); } }; /** * optional bool IsForce = 1; * @return {boolean} */ proto.StopRide.prototype.getIsforce = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); }; /** * @param {boolean} value * @return {!proto.StopRide} returns this */ proto.StopRide.prototype.setIsforce = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.StopRide} returns this */ proto.StopRide.prototype.clearIsforce = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.StopRide.prototype.hasIsforce = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.DetachRideMagnetic.prototype.toObject = function(opt_includeInstance) { return proto.DetachRideMagnetic.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.DetachRideMagnetic} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DetachRideMagnetic.toObject = function(includeInstance, msg) { var f, obj = { detachtype: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.DetachRideMagnetic} */ proto.DetachRideMagnetic.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.DetachRideMagnetic; return proto.DetachRideMagnetic.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.DetachRideMagnetic} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.DetachRideMagnetic} */ proto.DetachRideMagnetic.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {!proto.EDetachMagneticType} */ (reader.readEnum()); msg.setDetachtype(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.DetachRideMagnetic.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.DetachRideMagnetic.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.DetachRideMagnetic} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.DetachRideMagnetic.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {!proto.EDetachMagneticType} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeEnum( 1, f ); } }; /** * optional EDetachMagneticType DetachType = 1; * @return {!proto.EDetachMagneticType} */ proto.DetachRideMagnetic.prototype.getDetachtype = function() { return /** @type {!proto.EDetachMagneticType} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {!proto.EDetachMagneticType} value * @return {!proto.DetachRideMagnetic} returns this */ proto.DetachRideMagnetic.prototype.setDetachtype = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.DetachRideMagnetic} returns this */ proto.DetachRideMagnetic.prototype.clearDetachtype = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.DetachRideMagnetic.prototype.hasDetachtype = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RideMagneticAttachTo.prototype.toObject = function(opt_includeInstance) { return proto.RideMagneticAttachTo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RideMagneticAttachTo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideMagneticAttachTo.toObject = function(includeInstance, msg) { var f, obj = { targetuuid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RideMagneticAttachTo} */ proto.RideMagneticAttachTo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RideMagneticAttachTo; return proto.RideMagneticAttachTo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RideMagneticAttachTo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RideMagneticAttachTo} */ proto.RideMagneticAttachTo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt64()); msg.setTargetuuid(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RideMagneticAttachTo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RideMagneticAttachTo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RideMagneticAttachTo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RideMagneticAttachTo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeInt64( 1, f ); } }; /** * optional int64 TargetUuid = 1; * @return {number} */ proto.RideMagneticAttachTo.prototype.getTargetuuid = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.RideMagneticAttachTo} returns this */ proto.RideMagneticAttachTo.prototype.setTargetuuid = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.RideMagneticAttachTo} returns this */ proto.RideMagneticAttachTo.prototype.clearTargetuuid = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RideMagneticAttachTo.prototype.hasTargetuuid = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TakeOnActivateRideSkin.prototype.toObject = function(opt_includeInstance) { return proto.TakeOnActivateRideSkin.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TakeOnActivateRideSkin} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnActivateRideSkin.toObject = function(includeInstance, msg) { var f, obj = { param: (f = msg.getParam()) && proto.TakeOnActivateRideSkinParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TakeOnActivateRideSkin} */ proto.TakeOnActivateRideSkin.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TakeOnActivateRideSkin; return proto.TakeOnActivateRideSkin.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TakeOnActivateRideSkin} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TakeOnActivateRideSkin} */ proto.TakeOnActivateRideSkin.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TakeOnActivateRideSkinParam; reader.readMessage(value,proto.TakeOnActivateRideSkinParam.deserializeBinaryFromReader); msg.setParam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TakeOnActivateRideSkin.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TakeOnActivateRideSkin.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TakeOnActivateRideSkin} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnActivateRideSkin.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getParam(); if (f != null) { writer.writeMessage( 1, f, proto.TakeOnActivateRideSkinParam.serializeBinaryToWriter ); } }; /** * optional TakeOnActivateRideSkinParam Param = 1; * @return {?proto.TakeOnActivateRideSkinParam} */ proto.TakeOnActivateRideSkin.prototype.getParam = function() { return /** @type{?proto.TakeOnActivateRideSkinParam} */ ( jspb.Message.getWrapperField(this, proto.TakeOnActivateRideSkinParam, 1)); }; /** * @param {?proto.TakeOnActivateRideSkinParam|undefined} value * @return {!proto.TakeOnActivateRideSkin} returns this */ proto.TakeOnActivateRideSkin.prototype.setParam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.TakeOnActivateRideSkin} returns this */ proto.TakeOnActivateRideSkin.prototype.clearParam = function() { return this.setParam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TakeOnActivateRideSkin.prototype.hasParam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.TakeOnSetRideSkin.prototype.toObject = function(opt_includeInstance) { return proto.TakeOnSetRideSkin.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.TakeOnSetRideSkin} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnSetRideSkin.toObject = function(includeInstance, msg) { var f, obj = { param: (f = msg.getParam()) && proto.TakeOnSetRideSkinParam.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.TakeOnSetRideSkin} */ proto.TakeOnSetRideSkin.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.TakeOnSetRideSkin; return proto.TakeOnSetRideSkin.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.TakeOnSetRideSkin} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.TakeOnSetRideSkin} */ proto.TakeOnSetRideSkin.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.TakeOnSetRideSkinParam; reader.readMessage(value,proto.TakeOnSetRideSkinParam.deserializeBinaryFromReader); msg.setParam(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.TakeOnSetRideSkin.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.TakeOnSetRideSkin.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.TakeOnSetRideSkin} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.TakeOnSetRideSkin.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getParam(); if (f != null) { writer.writeMessage( 1, f, proto.TakeOnSetRideSkinParam.serializeBinaryToWriter ); } }; /** * optional TakeOnSetRideSkinParam Param = 1; * @return {?proto.TakeOnSetRideSkinParam} */ proto.TakeOnSetRideSkin.prototype.getParam = function() { return /** @type{?proto.TakeOnSetRideSkinParam} */ ( jspb.Message.getWrapperField(this, proto.TakeOnSetRideSkinParam, 1)); }; /** * @param {?proto.TakeOnSetRideSkinParam|undefined} value * @return {!proto.TakeOnSetRideSkin} returns this */ proto.TakeOnSetRideSkin.prototype.setParam = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.TakeOnSetRideSkin} returns this */ proto.TakeOnSetRideSkin.prototype.clearParam = function() { return this.setParam(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.TakeOnSetRideSkin.prototype.hasParam = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.SyncCirclePathLength.prototype.toObject = function(opt_includeInstance) { return proto.SyncCirclePathLength.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.SyncCirclePathLength} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncCirclePathLength.toObject = function(includeInstance, msg) { var f, obj = { pathlength: (f = jspb.Message.getOptionalFloatingPointField(msg, 1)) == null ? undefined : f }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.SyncCirclePathLength} */ proto.SyncCirclePathLength.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.SyncCirclePathLength; return proto.SyncCirclePathLength.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.SyncCirclePathLength} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.SyncCirclePathLength} */ proto.SyncCirclePathLength.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readFloat()); msg.setPathlength(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.SyncCirclePathLength.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.SyncCirclePathLength.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.SyncCirclePathLength} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.SyncCirclePathLength.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = /** @type {number} */ (jspb.Message.getField(message, 1)); if (f != null) { writer.writeFloat( 1, f ); } }; /** * optional float PathLength = 1; * @return {number} */ proto.SyncCirclePathLength.prototype.getPathlength = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); }; /** * @param {number} value * @return {!proto.SyncCirclePathLength} returns this */ proto.SyncCirclePathLength.prototype.setPathlength = function(value) { return jspb.Message.setField(this, 1, value); }; /** * Clears the field making it undefined. * @return {!proto.SyncCirclePathLength} returns this */ proto.SyncCirclePathLength.prototype.clearPathlength = function() { return jspb.Message.setField(this, 1, undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.SyncCirclePathLength.prototype.hasPathlength = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetPath.prototype.toObject = function(opt_includeInstance) { return proto.GetPath.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetPath} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetPath.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.GetPathRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetPath} */ proto.GetPath.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetPath; return proto.GetPath.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetPath} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetPath} */ proto.GetPath.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.GetPathRequest; reader.readMessage(value,proto.GetPathRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetPath.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetPath.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetPath} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetPath.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.GetPathRequest.serializeBinaryToWriter ); } }; /** * optional GetPathRequest VRequest = 1; * @return {?proto.GetPathRequest} */ proto.GetPath.prototype.getVrequest = function() { return /** @type{?proto.GetPathRequest} */ ( jspb.Message.getWrapperField(this, proto.GetPathRequest, 1)); }; /** * @param {?proto.GetPathRequest|undefined} value * @return {!proto.GetPath} returns this */ proto.GetPath.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.GetPath} returns this */ proto.GetPath.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetPath.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyHomelandBuildFurnitureOp.prototype.toObject = function(opt_includeInstance) { return proto.NotifyHomelandBuildFurnitureOp.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyHomelandBuildFurnitureOp} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyHomelandBuildFurnitureOp.toObject = function(includeInstance, msg) { var f, obj = { request: (f = msg.getRequest()) && proto.NotifyHomelandBuildFurnitureOpRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyHomelandBuildFurnitureOp} */ proto.NotifyHomelandBuildFurnitureOp.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyHomelandBuildFurnitureOp; return proto.NotifyHomelandBuildFurnitureOp.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyHomelandBuildFurnitureOp} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyHomelandBuildFurnitureOp} */ proto.NotifyHomelandBuildFurnitureOp.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyHomelandBuildFurnitureOpRequest; reader.readMessage(value,proto.NotifyHomelandBuildFurnitureOpRequest.deserializeBinaryFromReader); msg.setRequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyHomelandBuildFurnitureOp.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyHomelandBuildFurnitureOp.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyHomelandBuildFurnitureOp} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyHomelandBuildFurnitureOp.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRequest(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyHomelandBuildFurnitureOpRequest.serializeBinaryToWriter ); } }; /** * optional NotifyHomelandBuildFurnitureOpRequest Request = 1; * @return {?proto.NotifyHomelandBuildFurnitureOpRequest} */ proto.NotifyHomelandBuildFurnitureOp.prototype.getRequest = function() { return /** @type{?proto.NotifyHomelandBuildFurnitureOpRequest} */ ( jspb.Message.getWrapperField(this, proto.NotifyHomelandBuildFurnitureOpRequest, 1)); }; /** * @param {?proto.NotifyHomelandBuildFurnitureOpRequest|undefined} value * @return {!proto.NotifyHomelandBuildFurnitureOp} returns this */ proto.NotifyHomelandBuildFurnitureOp.prototype.setRequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyHomelandBuildFurnitureOp} returns this */ proto.NotifyHomelandBuildFurnitureOp.prototype.clearRequest = function() { return this.setRequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyHomelandBuildFurnitureOp.prototype.hasRequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyCommunityHomeLandDecorationInfo.prototype.toObject = function(opt_includeInstance) { return proto.NotifyCommunityHomeLandDecorationInfo.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyCommunityHomeLandDecorationInfo} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandDecorationInfo.toObject = function(includeInstance, msg) { var f, obj = { request: (f = msg.getRequest()) && proto.NotifyCommunityHomeLandDecorationInfoRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyCommunityHomeLandDecorationInfo} */ proto.NotifyCommunityHomeLandDecorationInfo.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyCommunityHomeLandDecorationInfo; return proto.NotifyCommunityHomeLandDecorationInfo.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyCommunityHomeLandDecorationInfo} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyCommunityHomeLandDecorationInfo} */ proto.NotifyCommunityHomeLandDecorationInfo.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyCommunityHomeLandDecorationInfoRequest; reader.readMessage(value,proto.NotifyCommunityHomeLandDecorationInfoRequest.deserializeBinaryFromReader); msg.setRequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyCommunityHomeLandDecorationInfo.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyCommunityHomeLandDecorationInfo.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyCommunityHomeLandDecorationInfo} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandDecorationInfo.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRequest(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyCommunityHomeLandDecorationInfoRequest.serializeBinaryToWriter ); } }; /** * optional NotifyCommunityHomeLandDecorationInfoRequest Request = 1; * @return {?proto.NotifyCommunityHomeLandDecorationInfoRequest} */ proto.NotifyCommunityHomeLandDecorationInfo.prototype.getRequest = function() { return /** @type{?proto.NotifyCommunityHomeLandDecorationInfoRequest} */ ( jspb.Message.getWrapperField(this, proto.NotifyCommunityHomeLandDecorationInfoRequest, 1)); }; /** * @param {?proto.NotifyCommunityHomeLandDecorationInfoRequest|undefined} value * @return {!proto.NotifyCommunityHomeLandDecorationInfo} returns this */ proto.NotifyCommunityHomeLandDecorationInfo.prototype.setRequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyCommunityHomeLandDecorationInfo} returns this */ proto.NotifyCommunityHomeLandDecorationInfo.prototype.clearRequest = function() { return this.setRequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandDecorationInfo.prototype.hasRequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyCommunityHomeLandHousingTypeUpdate.prototype.toObject = function(opt_includeInstance) { return proto.NotifyCommunityHomeLandHousingTypeUpdate.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyCommunityHomeLandHousingTypeUpdate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandHousingTypeUpdate.toObject = function(includeInstance, msg) { var f, obj = { request: (f = msg.getRequest()) && proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdate} */ proto.NotifyCommunityHomeLandHousingTypeUpdate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyCommunityHomeLandHousingTypeUpdate; return proto.NotifyCommunityHomeLandHousingTypeUpdate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyCommunityHomeLandHousingTypeUpdate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdate} */ proto.NotifyCommunityHomeLandHousingTypeUpdate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyCommunityHomeLandHousingTypeUpdateRequest; reader.readMessage(value,proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.deserializeBinaryFromReader); msg.setRequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyCommunityHomeLandHousingTypeUpdate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyCommunityHomeLandHousingTypeUpdate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyCommunityHomeLandHousingTypeUpdate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandHousingTypeUpdate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRequest(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyCommunityHomeLandHousingTypeUpdateRequest.serializeBinaryToWriter ); } }; /** * optional NotifyCommunityHomeLandHousingTypeUpdateRequest Request = 1; * @return {?proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} */ proto.NotifyCommunityHomeLandHousingTypeUpdate.prototype.getRequest = function() { return /** @type{?proto.NotifyCommunityHomeLandHousingTypeUpdateRequest} */ ( jspb.Message.getWrapperField(this, proto.NotifyCommunityHomeLandHousingTypeUpdateRequest, 1)); }; /** * @param {?proto.NotifyCommunityHomeLandHousingTypeUpdateRequest|undefined} value * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdate} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdate.prototype.setRequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyCommunityHomeLandHousingTypeUpdate} returns this */ proto.NotifyCommunityHomeLandHousingTypeUpdate.prototype.clearRequest = function() { return this.setRequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandHousingTypeUpdate.prototype.hasRequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.prototype.toObject = function(opt_includeInstance) { return proto.NotifyCommunityHomeLandUnlockedAreasUpdate.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyCommunityHomeLandUnlockedAreasUpdate} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.toObject = function(includeInstance, msg) { var f, obj = { request: (f = msg.getRequest()) && proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdate} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyCommunityHomeLandUnlockedAreasUpdate; return proto.NotifyCommunityHomeLandUnlockedAreasUpdate.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyCommunityHomeLandUnlockedAreasUpdate} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdate} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest; reader.readMessage(value,proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.deserializeBinaryFromReader); msg.setRequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyCommunityHomeLandUnlockedAreasUpdate.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyCommunityHomeLandUnlockedAreasUpdate} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRequest(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest.serializeBinaryToWriter ); } }; /** * optional NotifyCommunityHomeLandUnlockedAreasUpdateRequest Request = 1; * @return {?proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.prototype.getRequest = function() { return /** @type{?proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest} */ ( jspb.Message.getWrapperField(this, proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest, 1)); }; /** * @param {?proto.NotifyCommunityHomeLandUnlockedAreasUpdateRequest|undefined} value * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdate} returns this */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.prototype.setRequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyCommunityHomeLandUnlockedAreasUpdate} returns this */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.prototype.clearRequest = function() { return this.setRequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyCommunityHomeLandUnlockedAreasUpdate.prototype.hasRequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetGitVersion.prototype.toObject = function(opt_includeInstance) { return proto.GetGitVersion.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetGitVersion} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetGitVersion.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.GetGitVersionRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetGitVersion} */ proto.GetGitVersion.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetGitVersion; return proto.GetGitVersion.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetGitVersion} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetGitVersion} */ proto.GetGitVersion.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.GetGitVersionRequest; reader.readMessage(value,proto.GetGitVersionRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetGitVersion.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetGitVersion.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetGitVersion} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetGitVersion.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.GetGitVersionRequest.serializeBinaryToWriter ); } }; /** * optional GetGitVersionRequest VRequest = 1; * @return {?proto.GetGitVersionRequest} */ proto.GetGitVersion.prototype.getVrequest = function() { return /** @type{?proto.GetGitVersionRequest} */ ( jspb.Message.getWrapperField(this, proto.GetGitVersionRequest, 1)); }; /** * @param {?proto.GetGitVersionRequest|undefined} value * @return {!proto.GetGitVersion} returns this */ proto.GetGitVersion.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.GetGitVersion} returns this */ proto.GetGitVersion.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetGitVersion.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.GetClientOptions.prototype.toObject = function(opt_includeInstance) { return proto.GetClientOptions.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.GetClientOptions} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetClientOptions.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.GetClientOptionsRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.GetClientOptions} */ proto.GetClientOptions.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.GetClientOptions; return proto.GetClientOptions.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.GetClientOptions} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.GetClientOptions} */ proto.GetClientOptions.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.GetClientOptionsRequest; reader.readMessage(value,proto.GetClientOptionsRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.GetClientOptions.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.GetClientOptions.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.GetClientOptions} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.GetClientOptions.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.GetClientOptionsRequest.serializeBinaryToWriter ); } }; /** * optional GetClientOptionsRequest VRequest = 1; * @return {?proto.GetClientOptionsRequest} */ proto.GetClientOptions.prototype.getVrequest = function() { return /** @type{?proto.GetClientOptionsRequest} */ ( jspb.Message.getWrapperField(this, proto.GetClientOptionsRequest, 1)); }; /** * @param {?proto.GetClientOptionsRequest|undefined} value * @return {!proto.GetClientOptions} returns this */ proto.GetClientOptions.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.GetClientOptions} returns this */ proto.GetClientOptions.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.GetClientOptions.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.NotifyAntiData.prototype.toObject = function(opt_includeInstance) { return proto.NotifyAntiData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.NotifyAntiData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyAntiData.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.NotifyAntiDataRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.NotifyAntiData} */ proto.NotifyAntiData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.NotifyAntiData; return proto.NotifyAntiData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.NotifyAntiData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.NotifyAntiData} */ proto.NotifyAntiData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.NotifyAntiDataRequest; reader.readMessage(value,proto.NotifyAntiDataRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.NotifyAntiData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.NotifyAntiData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.NotifyAntiData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.NotifyAntiData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.NotifyAntiDataRequest.serializeBinaryToWriter ); } }; /** * optional NotifyAntiDataRequest VRequest = 1; * @return {?proto.NotifyAntiDataRequest} */ proto.NotifyAntiData.prototype.getVrequest = function() { return /** @type{?proto.NotifyAntiDataRequest} */ ( jspb.Message.getWrapperField(this, proto.NotifyAntiDataRequest, 1)); }; /** * @param {?proto.NotifyAntiDataRequest|undefined} value * @return {!proto.NotifyAntiData} returns this */ proto.NotifyAntiData.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.NotifyAntiData} returns this */ proto.NotifyAntiData.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.NotifyAntiData.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.RecvAntiData.prototype.toObject = function(opt_includeInstance) { return proto.RecvAntiData.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.RecvAntiData} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RecvAntiData.toObject = function(includeInstance, msg) { var f, obj = { vrequest: (f = msg.getVrequest()) && proto.RecvAntiDataRequest.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.RecvAntiData} */ proto.RecvAntiData.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.RecvAntiData; return proto.RecvAntiData.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.RecvAntiData} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.RecvAntiData} */ proto.RecvAntiData.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.RecvAntiDataRequest; reader.readMessage(value,proto.RecvAntiDataRequest.deserializeBinaryFromReader); msg.setVrequest(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.RecvAntiData.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.RecvAntiData.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.RecvAntiData} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.RecvAntiData.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getVrequest(); if (f != null) { writer.writeMessage( 1, f, proto.RecvAntiDataRequest.serializeBinaryToWriter ); } }; /** * optional RecvAntiDataRequest VRequest = 1; * @return {?proto.RecvAntiDataRequest} */ proto.RecvAntiData.prototype.getVrequest = function() { return /** @type{?proto.RecvAntiDataRequest} */ ( jspb.Message.getWrapperField(this, proto.RecvAntiDataRequest, 1)); }; /** * @param {?proto.RecvAntiDataRequest|undefined} value * @return {!proto.RecvAntiData} returns this */ proto.RecvAntiData.prototype.setVrequest = function(value) { return jspb.Message.setWrapperField(this, 1, value); }; /** * Clears the message field making it undefined. * @return {!proto.RecvAntiData} returns this */ proto.RecvAntiData.prototype.clearVrequest = function() { return this.setVrequest(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.RecvAntiData.prototype.hasVrequest = function() { return jspb.Message.getField(this, 1) != null; }; /** * @enum {number} */ proto.SystemType = { SYSTEMTYPE_NULL: 0, SYSTEMTYPE_ANDROID: 1, SYSTEMTYPE_IOS: 2, SYSTEMTYPE_WEB: 3, SYSTEMTYPE_LINUX: 4, SYSTEMTYPE_WINDOWS: 5 }; /** * @enum {number} */ proto.BodyPartState = { BODYPARTSTATEDEFAULT: 0, BODYPARTSTATEINJURY: 1, BODYPARTSTATEDEAD: 2 }; /** * @enum {number} */ proto.EDamageSource = { EDAMAGESOURCESKILL: 0, EDAMAGESOURCEBULLET: 1, EDAMAGESOURCEBUFF: 2, EDAMAGESOURCEFALL: 3, EDAMAGESOURCEFAKEBULLET: 4, EDAMAGESOURCEOTHER: 100 }; /** * @enum {number} */ proto.EDamageType = { NORMAL: 0, MISS: 1, HEAL: 2, IMMUNE: 3, FALL: 4, ABSORBED: 5 }; /** * @enum {number} */ proto.EDamageProperty = { GENERAL: 0, FIRE: 1, WATER: 2, ELECTRICITY: 3, WOOD: 4, WIND: 5, ROCK: 6, LIGHT: 7, DARK: 8, COUNT: 9 }; /** * @enum {number} */ proto.EDamageMode = { DAMAGENORMAL: 0, DAMAGEPHYSICAL: 1, DAMAGEMAGICAL: 2 }; /** * @enum {number} */ proto.EBuffEffectLogicPbType = { PLAYEFFECT: 0, GRAVITY: 1, PARABOLAEFFECT: 2, LINKING: 3, CONFUSIONEFFECT: 4, ZOOMSCALE: 5, BUFFPROFESSIONEFFECT: 7, TELEPORTBELT: 8, BUFFEFFECTRAINBOW: 9, BUFFEFFECTATTRHUD: 11, BUFFEFFECTSTOP: 12, BUFFEFFECTPROGRESS: 13, BUFFEFFECTENERGYDISPLAY: 14, BUFFEFFECTSTOPALL: 15, BUFFEFFECTLAYERCHANGE: 16, TENSION: 17 }; /** * @enum {number} */ proto.EBuffEventType = { BUFFEVENTUNKNOWN: 0, BUFFEVENTADDTO: 1, BUFFEVENTREMOVE: 2, BUFFEVENTREPLACE: 3, BUFFEVENTTIMER: 4, BUFFEVENTSTACKLAYER: 5, BUFFEVENTREMOVELAYER: 6, BUFFEVENTONHITTARGETBEFORE: 7, BUFFEVENTONHITTARGETAFTER: 8, BUFFEVENTONHITTEDBEFORE: 9, BUFFEVENTONHITTEDAFTER: 10, BUFFEVENTONREACHMAXLAYER: 11, BUFFEVENTHOSTDEATH: 12, BUFFEVENTONSKILLHITAFTER: 13, BUFFEVENTTRIGTIMINGAURA: 14, BUFFEVENTBODYPARTDEAD: 15, BUFFEVENTBODYPARTHIT: 16, BUFFEVENTBODYPARTSTATECHANGE: 17, BUFFEVENTONPARTHITTEDBEFORE: 18, BUFFEVENTONPARTHITTEDAFTER: 19, BUFFEVENTGRAVITATIONAL: 20, BUFFEVENTFIGHTRESCHANGE: 21, BUFFEVENTONKILLACTOR: 23, BUFFEVENTATTRWATCHER: 24, BUFFEVENTONHITTEDLHBEFORE: 25, BUFFEVENTONBEHITTEDLHBEFORE: 26, BUFFEVENTADDBYTARGET: 27, BUFFEVENTREMOVEBYTARGET: 28, BUFFEVENTINCOMBATSTATE: 29, BUFFEVENTOUTCOMBATSTATE: 30, BUFFEVENTSKILLBEGIN: 31, BUFFEVENTSKILLEND: 32, BUFFEVENTSINGINGEND: 34, BUFFEVENTSUMMONBUFFADD: 35, BUFFEVENTSUMMONENTITY: 36, BUFFEVENTGUIDEEND: 37, BUFFEVENTONDELAYHIT: 39, BUFFEVENTTEAMBUFFADD: 40, BUFFEVENTCHANGEPROFESSION: 41, BUFFEVENTDODGESUCCESS: 42, BUFFEVENTHEALBEFORE: 43, BUFFEVENTHEALAFTER: 44, BUFFEVENTPRODUCEHEALBEFORE: 45, BUFFEVENTPRODUCEHEALAFTER: 46, BUFFEVENTSHIELDBROKEN: 47, BUFFEVENTLINKINGSTART: 48, BUFFEVENTLINKINGEND: 49, BUFFEVENTLINKINGWATCHER: 50, BUFFEVENTSUPERARMORBROKEN: 51, BUFFEVENTADDEDBYTARGETTAG: 52, BUFFEVENTADDTOTARGETTAG: 53, BUFFEVENTONBEHITLESSENHP: 57, BUFFEVENTENTERBREAKING: 58, BUFFEVENTTELEPORTBELT: 59, BUFFEVENTONBEHITAFTERONLY: 63, BUFFEVENTONHITAFTERONLY: 64, BUFFEVENTONBEHEALAFTERONLY: 65, BUFFEVENTONHEALAFTERONLY: 66, BUFFEVENTHEALCALCATTRBEFORE: 67, BUFFEVENTPRODUCEHEALCALCATTRBEFORE: 68, BUFFEVENTREVIVESUCCESSEND: 69, BUFFEVENTAFTERREVIVEFIRSTMOVE: 70, BUFFEVENTMONSTERINTOALERT: 71, BUFFEVENTMONSTEROUTALERT: 72, BUFFEVENTONADDSHIELDCALCBEFORE: 73, BUFFEVENTONADDSHIELDBEFORE: 74, BUFFEVENTONADDSHIELDAFTER: 75, BUFFEVENTONBEADDEDSHIELDCALCBEFORE: 76, BUFFEVENTONBEADDEDSHIELDBEFORE: 77, BUFFEVENTONBEADDEDSHIELDAFTER: 78, BUFFEVENTPROGRESSWATCHER: 79, BUFFEVENTONLUCKYDAMAGE: 80, BUFFEVENTSKILLCDEND: 81, BUFFEVENTMOTIONLESS: 82, BUFFEVENTPARTICIPATEKILL: 83, BUFFEVENTPROFESSIONBDTYPECHANGE: 84, BUFFEVENTSINGINGBEGIN: 85, BUFFEVENTGUIDEBEGIN: 86, BUFFEVENTRANDTIMER: 87, BUFFEVENTINTOFRACTURESTATE: 88, BUFFEVENTTAKEONRIDE: 89, BUFFEVENTTAKEOFFRIDE: 90, BUFFEVENTSTARTJUMP: 91, BUFFEVENTPLAYACTION: 92, BUFFEVENTPLAYEMOTE: 93, BUFFEVENTCHECK: 1001, BUFFEVENTCUSTOMIZE: 1002, BUFFEVENTSHAPESHIFTENDEVENT: 1003, BUFFEVENTATTRREFRESH: 1004, BUFFEVENTMONITORTEAMKILLACTOR: 1005, BUFFEVENTSPECIALEFFECTS: 10001 }; /** * @enum {number} */ proto.ESkillCDType = { ESKILLCDNORMAL: 0, ESKILLCDCHARGE: 1 }; /** * @enum {number} */ proto.EBodySize = { BODYSIZENULL: 0, BODYSIZES: 1, BODYSIZEM: 2, BODYSIZEL: 3 }; /** * @enum {number} */ proto.EMoveType = { MOVEIDLE: 0, MOVEWALK: 1, MOVERUN: 2, MOVEDASH: 3, MOVEDASHEND: 4, MOVEALERT: 5, MOVEFLY: 6, MOVEPATROL: 7, MOVEPATROLRUN: 8, MOVEFLYDASH: 9, MOVECUSTOM: 10, MOVEPARKOURRUN: 11, MOVESELFPHOTO: 12, MOVEROTATE: 13, MOVEDASHTURN: 14, MOVEWALKEND: 15, MOVERUNEND: 16, MOVEWALKENDTOIDLE: 17, MOVERUNENDTOIDLE: 18, MOVEEIGHTDIR: 19, MOVEBYFORCE: 20, MOVESITROTATE: 21, MOVEJUMPENDTOIDLE: 22 }; /** * @enum {number} */ proto.CameraPatternType = { DEFAULT: 0, SELFPHOTO: 1, AR: 2 }; /** * @enum {number} */ proto.CameraSchemeType = { DEFAULTSCHEME: 0, CUSTOMSCHEME: 1 }; /** * @enum {number} */ proto.EGender = { GENDERNULL: 0, GENDERMALE: 1, GENDERFEMALE: 2 }; /** * @enum {number} */ proto.EErrorCode = { ERRSUCCESS: 0, ERRNORECORD: 101, ERREXCEPTIONCANCEL: 102, ERRDBEXCEPTION: 103, ERRDBSEQEXCEPTION: 104, ERRDBSCENEEXCEPTION: 105, ERRDBTOKENEXCEPTION: 106, ERRCANCELLED: 201, ERRUNKNOWNRPC: 202, ERRINVALIDARGUMENT: 203, ERRDEADLINEEXCEEDED: 204, ERRNOTFOUND: 205, ERRALREADYEXISTS: 206, ERRPERMISSIONDENIED: 207, ERRRESOURCEEXHAUSTED: 208, ERRFAILEDPRECONDITION: 209, ERRABORTED: 210, ERROUTOFRANGE: 211, ERRUNIMPLEMENTED: 212, ERRINTERNAL: 213, ERRUNAVAILABLE: 214, ERRDATALOSS: 215, ERRUNAUTHENTICATED: 216, ERRSYSTEMMAX: 999, ERRDBERROR: 1000, ERRCREATEOPENINFO: 1001, ERRCREATEACCOUNTINFO: 1002, ERRCREATECHARINFO: 1003, ERRCREATEACCOUNTTOKEN: 1004, ERRGETOPENINFO: 1005, ERRGETACCOUNTINFO: 1006, ERRGETCHARINFO: 1007, ERRGETACCOUNTTOKEN: 1008, ERRLOGININQUEUE: 1009, ERROTHERLOGIN: 1010, ERRSERVERERROR: 1011, ERRNOACCOUNTINFO: 1012, ERRNOCHARINFO: 1013, ERRTOKENEXPIRED: 1014, ERRUPDATETOKENFAIL: 1015, ERRREGINTOSCENEERROR: 1016, ERRLOGINTYPEERR: 1017, ERRCHANGEMAPERR: 1018, ERRLOGINPLATFORMERR: 1019, ERRVERSIONERR: 1020, ERRDELAYOFFLINEKICKOFF: 1021, ERRSERVICELANGUAGEERROR: 1022, NOENTERSCENE: 1023, MODIDNOTOPEN: 1024, ERRFACEDATA: 1025, ERRINITPROFESSION: 1026, ERRSCENECLOSEKICKOFF: 1027, ERRLOGINRECONNECTKICK: 1028, ERRLOGINERRORRESUME: 1029, ERRREPEATEDLOGIN: 1030, ERRRESTRICTLOGIN: 1031, ERRRESTRICTBLACK: 1032, ERRSDKVERIFYFAIL: 1033, ERRSDKTOKENEXPIRED: 1034, ERRSERVERNOTOPEN: 1035, ERRSERVERENDOPEN: 1036, ERRNORMALKICK: 1037, ERRSERVERBUSY: 1038, ERRSERVERCLOSE: 1039, ERREXITGAME: 1040, ERRHOPEKICK: 1041, ERRCLIENTVERSIONERROR: 1042, ERRINVALIDDEVICEID: 1043, ERRINVALIDSYSTEMTYPE: 1044, ERRDELETECHAR: 1045, ERRCANCELDELETECHAR: 1046, ERRCANCELDELETECHARISDELETE: 1047, ERRINTOSCENEOWNERFAIL: 1048, ERRSCENEQUEUEUP: 1050, ERRPROTOCOLVERSIONERR: 1051, ERRCONFIGVERSIONERR: 1052, ERRSTATEEVENTFAILED: 1053, ERRSELECTCHARDOING: 1054, ERRSELECTCHARDELETED: 1055, ERRLOGINCHANNELMAX: 1056, ERRDELETEACCOUNTKICK: 1057, ERRISDELETEACCOUNT: 1058, ERRISVERSIONKICK: 1059, ERRNOTQQCHNNEL: 1060, ERRINCORRECTLAUNCHPLATFORM: 1061, ERRCONDITIONWRONG: 1062, ERRNOTSUPPORTLOGINTYPE: 1063, ERRSCENENOTEXIST: 2001, ERRUSERNOTEXIST: 2002, ERRCOMPONENTNOTEXIST: 2003, ERRSCENECONFIGNOTEXIST: 2004, ERRSERVICENOTEXIST: 2005, ERRDATACONTAINERNOTEXIST: 2006, ERRASYNCHRONOUSRETURN: 2007, ERRCONFIGNOTEXIST: 2008, ERRNOTUSER: 2009, ERRCONFIGERROR: 2010, ERRACTORNOTEXIST: 2011, ERRCUTSCENEALREADYPLAYED: 2012, ERRFUNCTIONUNLOCK: 2020, ERRFUNCTIONCLOSED: 2021, ERRUSERPLAYERNOTFURNITUREPACKAGE: 2022, ERRSYSINNERERROR: 2200, ERRSYSWEBCLIENTNULL: 2201, ERRSYSWEBREQUESTTIMEOUT: 2202, ERRSYSWEBRETURNERROR: 2203, ERRREQUESTTOOFREQUENTLY: 2204, ERRARGSTRINGTOOLONG: 2251, ERRARGSTRINGEMPTY: 2252, ERRARGARRAYTOOBIG: 2253, ERRARGARRAYEMPTY: 2254, ERRARGMAPTOOBIG: 2255, ERRARGMAPEMPTY: 2256, ERRITEMNOTEXIST: 2300, ERRPACKAGENOTEXIST: 2301, ERRPACKAGEFULL: 2302, ERRITEMEXPIRETIME: 2303, ERRITEMPACKAGEGRIDNOTENOUGH: 2304, ERRITEMUUIDERROR: 2305, ERRITEMNOTENOUGH: 2306, ERROPTTYPEERROR: 2307, ERRITEMINCOOLDOWN: 2308, ERRITEMNOTUSE: 2309, ERRITEMEFFECTTYPEERROR: 2310, ERRITEMPARAMERROR: 2311, ERRITEMADDBUFFERROR: 2312, ERRITEMADD: 2313, ERRUSEITEMSTATE: 2314, ERRBATCHUSE: 2315, ERRFULLSENDMAIL: 2316, ERRITEMNUMZERO: 2317, ERRITEMSELECTAWARDILLEGALNUM: 2318, ERRITEMSELECTAWARDILLEGALPOS: 2319, ERRITEMSELECTLIMIT: 2320, ERRITEMPERIODGAINEXCEEDED: 2321, ERRITEMNORECYCLE: 2322, ERRITEMRECYCLEBEYONDMAXGRID: 2323, ERRITEMRECYCLEBEYONDMAXNUM: 2324, ERRITEMRECYCLEIDNOMATCHITEMID: 2325, ERRITEMRECYCLEILLEGALID: 2326, ERRITEMLIMITCOUNT: 2327, ERRITEMFRIENDPONTEXCEEDED: 2328, ERRITEMTOYSINGLEENTUSEEXCEEDED: 2329, ERRITEMTOYSCENEUSEEXCEEDED: 2330, ERRITEMTOYUSEINDISABLEAREA: 2331, ERRITEMTOYSINGLECELLUSEEXCEEDED: 2332, ERRMONTHLYCARDNOTEXISTS: 2380, ERRMONTHLYCARDDATAERROR: 2381, ERRMONTHLYCARDDAYAWARDRECEIVED: 2382, ERRMONTHLYCARDLIMITCOUNT: 2383, ERRCOMMUNITYNOHOME: 2400, ERRNOTHOUSEOWNER: 2401, ERRHOMELANDEXISTED: 2402, ERRHOMELANDCONTENTWRONGFUL: 2403, ERRHOUSELIVETOGETHERCD: 2404, ERRHOMELANDNOTEXISTED: 2405, ERRHOMELANDNOTINSCENE: 2406, ERRHOMELANDISINVITATION: 2407, ERRHOMELANDINSUFFICIENTAUTHORITY: 2408, ERRHOMELANDTRANSFERREQUESTPENDING: 2409, ERRHOMELANDTRANSFERREQUESTTIMEOUT: 2410, ERRHOMELANDTRANSFERCD: 2411, ERRHOMELANDTARGETISHASHOME: 2412, ERRHOMELANDTARGETISOWNER: 2413, ERRHOMELANDNOTOWNERCANNOTOPERATE: 2414, ERRHOMELANDHASHOUSE: 2415, ERRHOMELANDCONTENTTOOLONG: 2416, ERRHOMELANDCLUTTERNOTEXIST: 2417, ERRHOUSENAMEORSTATEMENTCD: 2418, ERRHOUSEINTRODUCTIONSTATEMENTCD: 2419, ERRCOMMUNITYBUILDINVALIDRECIPEID: 2420, ERRCOMMUNITYBUILDRECIPEISUNLOCK: 2421, ERRCOMMUNITYBUILDMAX: 2422, ERRCOMMUNITYBUILDNOAUTHORITY: 2423, ERRCOMMUNITYNOTBUILDCANNOTCANCEL: 2424, ERRCOMMUNITYBUILDNOTSELFCANNOTCANCEL: 2425, ERRCOMMUNITYNOTBUILDCANNOTACCELERATE: 2426, ERRCOMMUNITYBUILDNOTSELFCANNOTACCELERATE: 2427, ERRCOMMUNITYBUILDCANNOTACCELERATE: 2428, ERRCOMMUNITYBUILDALREADYACCELERATE: 2429, ERRCOMMUNITYBUILDINDUNGEON: 2430, ERRCOMMUNITYBUILDRECIPEISLOCK: 2431, ERRCOMMUNITYBUILDRECIPENOTITEMUNLOCK: 2432, ERRCOMMUNITYBUILDINVALIDCOUNT: 2433, ERRCOMMUNITYNOTBUILDCANNOTRECEIVE: 2434, ERRCOMMUNITYCANNOTBUILD: 2435, ERRHOMELANDCOHABITANTLIMIT: 2436, ERRHOMELANDROOTNOTQUITCOHABITANT: 2437, ERRHOMELANDNOTOWNERCANNOTQUITCOHABITANT: 2438, ERRHOMELANDCOHABITANTISEXITING: 2439, ERRHOMELANDCOHABITANTNOTEXISTS: 2440, ERRHOMELANDCOHABITANTEXITREQUESTEXISTS: 2441, ERRHOMELANDCOHABITANTDISMISS: 2442, ERRHOMELANDNOTINVITATION: 2443, ERRHOMELANDCOHABITANTINVITATIONTIMEOUT: 2444, ERRHOMELANDCOHABITANTNOTFRIEND: 2445, ERRHOMELANDCOHABITANTFRIENDLEVEL: 2446, ERRHOMELANDCOHABITANTLEVEL: 2447, ERRHOMELANDINVITECOHABITANTNOTOWNER: 2448, ERRCOMMUNITYWAREHOUSEGRIDFULL: 2451, ERRCOMMUNITYWAREHOUSENOAUTHORITY: 2452, ERRCOMMUNITYWAREHOUSEGRIDPOSITEMNOENOUGH: 2453, ERRHOMELANDINSUFFICIENTFURNITURE: 2454, ERRCOMMUNITYWAREHOUSETAKEOUTCOUNTLIMIT: 2455, ERRHOMELANDTASKNOTEXIST: 2456, ERRHOMELANDTASKTIMENOTENOUGH: 2457, ERRHOMELANDTASKALREADYFINISHED: 2458, ERRHOMELANDTASKITEMNOTENOUGH: 2459, ERRHOMELANDCURLEVELERROR: 2461, ERRHOMELANDEXPNOTENOUGH: 2462, ERRHOMELANDALREADYMAXLEVEL: 2463, ERRHOMELANDLEVELLOCKED: 2464, ERRHOMELANDLEVELCONFIGERROR: 2465, ERRCOMMUNITYEDITORNOTEDITABLE: 2466, ERRCOMMUNITYEDITORNOTFURNITURE: 2467, ERRCOMMUNITYEDITORNOTOUTDOOR: 2468, ERRCOMMUNITYEDITORNOTINDOOR: 2469, ERRCOMMUNITYEDITOROVERMAX: 2470, ERRCOMMUNITYEDITOROVERTYPEMAX: 2471, ERRCOMMUNITYEDITORFURNITURENOTENOUGH: 2472, ERRCOMMUNITYEDITORFURNITURENOTEXIST: 2473, ERRCOMMUNITYEDITOROVERMAXGROUP: 2474, ERRCOMMUNITYEDITORNOSTRUCTURE: 2475, ERRCOMMUNITYEDITORGROUPMAXSTRUCTURE: 2476, ERRCOMMUNITYEDITORSTRUCTUREINGROUP: 2477, ERRCOMMUNITYEDITORGROUPNOTEXIST: 2478, ERRCOMMUNITYEDITORALREADYEXIST: 2479, ERRHOMELANDSELLITEMNOTEXIST: 2481, ERRHOMELANDLEFTNUMNOTENOUGH: 2482, ERRHOMELANDSELLSHOPLOCKED: 2483, ERRHOMELANDSEEDEXIST: 2486, ERRHOMELANDITEMNOTOWNER: 2487, ERRHOMELANDSEEDSTATEERROR: 2488, ERRHOMELANDNOSEED: 2489, ERRHOMELANDNOWATER: 2490, ERRHOMELANDFERTILIZERMAXNUMLIMIT: 2491, ERRHOMELANDNOTFERTILIZE: 2492, ERRHOMELANDNOTPOLLEN: 2493, ERRHOMELANDALREADYPOLLEN: 2494, ERRHOMELANDNOTHARVEST: 2495, ERRHOMELANDPICKUPSINGLEPLAYERLIMIT: 2496, ERRHOMELANDPICKUPTOTALLIMIT: 2497, ERRHOMELANDPICKUPFLOWERNOTFINISHED: 2498, ERRHOMELANDPICKUPOWNER: 2499, ERRHOMELANDGAINNOTOWNER: 2500, ERRHOMELANDITEMFULLGRID: 2501, ERRHOMELANDFURNITUREFULL: 2502, ERRCOMPOSEITEMNOTENOUGH: 2571, ERRCOMPOSEFAILED: 2572, ERRREDEMPTIONITEMNOTEXIST: 2573, ERRREDEMPTIONITEMMAXCOUNT: 2574, ERRREDEMPTIONITEMNOTENOUGH: 2575, ERRREDEMPTIONITEMGENDER: 2576, ERRAWARDCONFIGNOTFOUND: 2600, ERRAWARDCONFIGWEIGHTERROR: 2601, ERRAWARDCONFIGLIMITANDCONTENTNOTMATCH: 2602, ERRAWARDCONFIGCONTENTSIZEERROR: 2603, ERRAWARDCONFIGCONTENTRATESSIZEERROR: 2604, ERRAWARDCONFIGCONTENTWEIGHTSIZEERROR: 2605, ERRAWARDCONFIGGROUPCONTENTEMPTY: 2606, ERRAWARDCONFIGGROUPNUMEMPTY: 2607, ERRAWARDCONFIGGROUPCONTENTNOMATCHGROUPNUM: 2608, ERRAWARDCONFIGNORANDOMDROP: 2609, ERRAWARDCONFIGNOSELECTAWARD: 2610, ERRAWARDCONFIGSELFSELECTCONTENTNOITEM: 2611, ERRAWARDCONFIGWEIGHTRATEMUSTONE: 2612, ERRAWARDCONFIGGROUPCONTENTRANDOMNOMATCH: 2613, ERRAWARDCONFIGGROUPCONTENTERROR: 2614, ERRAWARDCONFIGPACKAGECONTENTRANDOMNOMATCH: 2615, ERRAWARDCONFIGLEVELUPPACKCONFIGPACKAGENOMATCH: 2616, ERRAWARDCONFIGPROITEMRULENOMATCH: 2617, ERRAWARDCONFIGPACKAGECONTENTEMPTY: 2618, ERRAWARDCONFIGDROPCONTENTSIZE: 2619, ERRAWARDCONFIGDROPCONTENTNUM: 2620, ERRAWARDCONFIGGROUPRATEEMPTY: 2621, ERRAWARDCONFIGGROUPWEIGHTEMPTY: 2622, ERRAWARDINNERERROR: 2623, ERRAWARDILLEGALRANDOMTYPE: 2624, ERRAWARDCONDITIONNOMEET: 2625, ERRAWARDRANDOMTYPENONE: 2626, ERRAWARDRANDOMTYPENOMATCH: 2627, ERRAWARDACTORISNULL: 2628, ERREQUIPWASHATTRNOTEXIST: 2700, ERRNOTEQUIPINCOMBAT: 2701, ERREQUIPPART: 2702, ERRCOMPOSEITEMNOTEXIST: 2750, ERRPICKUPDROPITEMDISTANCE: 2800, ERRPICKUPDROPITEMPACKAGEFULL: 2801, ERRPICKUPDROPITEMNOAUTHORITY: 2802, ERRLAYERACTOREXIST: 2851, ERRTEAMCREATEHAS: 2900, ERRTEAMILLTARGET: 2901, ERRTEAMCREATETRYLATER: 2902, ERRTEAMGETNO: 2903, ERRTEAMLISTEMPTY: 2904, ERRTEAMINNER: 2905, ERRTEAMNOLEADER: 2906, ERRTEAMINMATCH: 2907, ERRTEAMCUSTOMIZETARGET: 2908, ERRTEAMNOOWN: 2909, ERRTEAMTICKSELF: 2910, ERRTEAMNOMEM: 2911, ERRTEAMAPPLYINGLEADER: 2912, ERRTEAMHASBELEADER: 2913, ERRTEAMNOTRANSFERSELF: 2914, ERRTEAMNOLEADERTRANSFER: 2915, ERRTEAMHASOWNTEAM: 2916, ERRTEAMNOEXIST: 2917, ERRTEAMAPPLYINCD: 2918, ERRTEAMAPPLYEXPIRE: 2919, ERRTEAMJOINOTHER: 2920, ERRTEAMMEMMAX: 2921, ERRTEAMNOINVITED: 2924, ERRTEAMISMATCHING: 2925, ERRTEAMILLEGALTAG: 2926, ERRTEAMNOMATCHING: 2927, ERRTEAMILLEGALACTIVITY: 2928, ERRTEAMINACTIVITY: 2929, ERRTEAMNOMEETCONDITION: 2930, ERRTEAMWAITVOTING: 2931, ERRTEAMDOINGACTIVITY: 2932, ERRTEAMNOINVOTING: 2933, ERRTEAMVOTEEND: 2934, ERRTEAMHASVOTED: 2935, ERRTEAMINVITECD: 2936, ERRTEAMAPPLYLEADCD: 2937, ERRTEAMMOREMAXWORLDS: 2938, ERRTEAMVALIDAPPLYINFO: 2939, ERRTEAMINMATCHCANCELCD: 2940, ERRTEAMMATCHFINISHED: 2941, ERRTEAMMATCHWAITSEC: 2942, ERRTEAMMEMWORLDFULL: 2943, ERRTEAMMEMNOTLEADER: 2944, ERRTEAMLEADERNOTSTATICSCENE: 2945, ERRTEAMLEADERCALLDOING: 2946, ERRTEAMILLEGALCALLOPERATOR: 2947, ERRTEAMLEADERILLEGALCALLOPERATOR: 2948, ERRTEAMNOMEMCALL: 2949, ERRTEAMLEADERCALLEND: 2950, ERRTEAMSAMESCENE: 2951, ERRTEAMNOTSAMESCENE: 2952, ERRTEAMMEMTOOMORE: 2953, ERRTEAMMEMINDUNGEON: 2954, ERRTEAMMEMTOOLESS: 2955, ERRTEAMILLEGALINVITETYPE: 2956, ERRTEAMMEMBERNOTINSCENE: 2957, ERRTEAMLEADERREADYCHECKTIMENOTREADY: 2958, ERRTEAMEXISTDUNGEONCHECK: 2959, ERRTEAMTARGETMATCHTALENTLIMIT: 2960, ERRTEAMEDITGROUPNOTALLOWED: 2961, ERRTEAMGROUPNOTEXIST: 2962, ERRTEAMTARGETNOMATCHMEMBERTYPE: 2963, ERRDECOMPOSEITEMNOTEXIST: 3000, ERRDECOMPOSEITEMNOTENOUGH: 3001, ERRREFINEENERGYNOTENOUGH: 3002, ERRREFINEITEMMAXCOUNT: 3003, ERRREFINEITEMNOTEXIST: 3004, ERRREFINEITEMCOLUMNNOTUNLOCK: 3005, ERRREFINEITEMCOLUMNUNLOCK: 3006, ERRREFINEITEMEXIST: 3007, ERRENERGYLIMITMAX: 3008, ERRREFINEITEMCOLUMNNOTEMPTY: 3009, ERRPROFESSIONNOTEXIST: 3056, ERRMODSLOTNOTUNLOCK: 3058, ERRCHANGEPROFESSIONSTATEFAIL: 3065, ERRCHANGEPROFESSIONCDFAIL: 3066, ERRPROFESSIONSKINNOTACTIVE: 3071, ERRPROFESSIONSKINACTIVE: 3072, ERRPROFESSIONNOTUSESKIN: 3073, ERRPROFESSIONSKILLSKINACTIVE: 3074, ERRPROFESSIONSKILLSKINNOTACTIVE: 3075, ERRPROFESSIONSKILLNOTACTIVE: 3076, ERRCHAROFFLINE: 3101, ERRUSERDATABASEERROR: 3102, ERRCHARGETFAIL: 3103, ERRALREADYALIVE: 3200, ERRREVIVEPARAM: 3201, ERRSTATEILLEGAL: 3202, ERRSTATENOCHANGE: 3203, ERRREVIVECONSUMENOTENOUGH: 3204, ERRREVIVEBYOTHERFORBID: 3205, ERRREVIVETIMENOTARRIVED: 3206, ERRREVIVEBOSSBATTLE: 3207, ERRREVIVECOUNTLIMIT: 3208, ERRREVIVEINDEADTP: 3209, ERRDUNGEONPLAYTYPEERROR: 3301, ERRDUNGEONNOTEXIST: 3302, ERRDUNGEONCREATEERROR: 3303, ERRCANTCHANGEDUNGEON: 3304, ERRDUNGEONLOCK: 3305, ERRPIONEERFAIL: 3306, ERRAWARDFAIL: 3307, ERRGSNOTENOUGH: 3308, ERRQUESTNOTCOMPLETED: 3309, ERRDUNGEONNOTCLEAR: 3310, ERRCONDITIONNOTEXIST: 3311, ERRAWARDRECEIVED: 3312, ERRCANTREPEATEDPLAY: 3313, ERRNEEDPASSPREROOM: 3314, ERRDUNGEONENTERCOUNTLIMIT: 3315, ERRDUNGEONSCOREERROR: 3316, ERRDUNGEONREPEATEDVOTE: 3317, ERRDUNGEONCHALLENGEAWARDSTATE: 3318, ERRDUNGEONCHALLENGEAFFIXNOTFOUND: 3319, ERRDUNGEONSTATENOTACTIVE: 3320, ERRDUNGEONCANTVOTESELF: 3321, ERRDUNGEONPLAYERNOTENOUGH: 3322, ERRDUNGEONPLAYERFULL: 3323, ERRDUNGEONCANTHEROKEY: 3324, ERRDUNGEONNOTSETTLEMENT: 3325, ERRDUNGEONNOTFINDROLLITEM: 3326, ERRDUNGEONCANTROLL: 3327, ERRDUNGEONROLLFINISH: 3328, ERRDUNGEONSELECTERROR: 3329, ERRDUNGEONAIMODEERROR: 3330, ERRDUNGEONTARGETNOTFINISH: 3331, ERRDUNGEONTARGETBEAWARD: 3332, ERRDUNGEONSINGLEPLAYERMORE: 3333, ERRDUNGEONAIGROUPNOTENOUGH: 3334, ERRDUNGEONNOPASS: 3335, ERRDUNGEONCLOSESCENEID: 3336, ERRDUNGEONENTERTYPEERROR: 3337, ERRDUNGEONACTORCOUNT: 3338, ERRDUNGEONDIFFLOCKED: 3339, ERRDUNGEONPREBATTLEVOTECD: 3340, ERRDUNGEONBOSSINVALID: 3341, ERRDUNGEONNOUSER: 3342, ERRDUNGEONUSERINVALID: 3343, ERRDUNGEONAWARDUALIFICATION: 3344, ERRDUNGEONAWARDTRIESLIMIT: 3345, ERRFASHIONISLIMIT: 3401, ERRFASHIONNOTFOUND: 3402, ERRFASHIONSLOTEMPTY: 3403, ERRFASHIONIDNOTFOUND: 3404, ERRFASHIONLOCK: 3405, ERRFASHCOLLECTIONAWARDALREAD: 3406, ERRFASHCOLLECTIONSCORENOTENOUGH: 3407, ERRFASHCOLLECTIONAWARDALREADMONTH: 3408, ERRFASHIONALREADUNLOCK: 3409, ERRFASHIONADVANCENOTEXIST: 3410, ERRFASHIONBASENOTUNLOCK: 3411, ERRFASHIONADVANCEALREADYUNLOCK: 3412, ERRCAMERANOEXISTALBUM: 3501, ERRCAMERABEYONDPHOTONUM: 3502, ERRCAMERABEYONDALUMNUM: 3503, ERRCAMERANOACCESSRIGHT: 3504, ERRCAMERANOEXISTPHOTO: 3505, ERRCAMERABEYONDWORDNUM: 3506, ERRCAMERAPHOTONOINALBUM: 3507, ERRCAMERAINNERERROR: 3508, ERRCAMERAILLEGALRIGHT: 3509, ERRCAMERANOEXISTCHAR: 3510, ERRCAMERANODELCLOUDALBUM: 3511, ERRCAMERABEYONDMAXURLLEN: 3512, ERRCAMERABEYONDMAXXMLLEN: 3513, ERRCAMERABEYONDMAXNAMELEN: 3514, ERRCAMERAILLEGALURL: 3515, ERRCAMERARENDERINFOEMPTY: 3516, ERRCAMERABEYONDPHOTOMAXSIZE: 3517, ERRCAMERAILLEGALPICTURETYPE: 3518, ERRCAMERATYPEREPEATED: 3519, ERRCAMERAWITHOUTORIGINAL: 3520, ERRCAMERAWITHOUTTHUMBNAILORRENDER: 3521, ERRCAMERAPHOTONAMEEMPTY: 3522, ERRCAMERAPHOTONAMEOUTMAXLEN: 3523, ERRCAMERAALBUMNAMEEMPTY: 3524, ERRCAMERAPHOTOHASDEL: 3525, ERRCAMERASYSINNERERROR: 3526, ERRCAMERAILLEGALPICTUREID: 3527, ERRCAMERABEYONDMAXEXTRALEN: 3528, ERRCAMERANOINCLUDEORIGINAL: 3529, ERRCAMERANODEALINGPHOTO: 3530, ERRCAMERANODEALINGPHOTOTYPE: 3531, ERRCAMERANOANYALBUM: 3532, ERRCAMERANOPASSREVIEW: 3533, ERRCAMERAPHOTOMISSIMAGE: 3534, ERRCAMERAWITHOUTTHUMBNAIL: 3535, ERRCAMERABEYONDMAXUPLOADTIMES: 3536, ERRINVALIDLIFEPROFESSIONID: 3601, ERRLIFEPROFESSIONISUNLOCK: 3602, ERRLIFEPROFESSIONMAXLEVEL: 3603, ERRLIFEPROFESSIONLEVELNOTENOUGH: 3604, ERRLIFEPROFESSIONLEVELREWARDGOT: 3605, ERRINVALIDLIFEPROFESSIONSPECIALIZATIONID: 3606, ERRLIFEPROFESSIONSPECIALIZATIONNOTENOUGH: 3607, ERRLIFEPROFESSIONSPECIALIZATIONUPGRADEERROR: 3608, ERRLIFEPROFESSIONPOINTNOTENOUGH: 3609, ERRINVALIDLIFEPROFESSIONTARGETID: 3610, ERRLIFEPROFESSIONTARGETNOTENOUGH: 3611, ERRLIFEPROFESSIONREWARDCANNOTGET: 3612, ERRLIFEPROFESSIONENERGYCHANGE: 3613, ERRLIFEPROFESSIONRECIPEISUNLOCK: 3614, ERRLIFEPROFESSIONRECIPENOTEXIST: 3615, ERRLIFEPROFESSIONRECIPENOTUNLOCK: 3616, ERRLIFEPROFESSIONMAXRDRECIPECOUNT: 3617, ERRLIFEPROFESSIONWORKINGNOTEND: 3618, ERRLIFEPROFESSIONALREADYWORKING: 3619, ERRLIFEPROFESSIONNOTWORKING: 3620, ERRLIFEPROFESSIONWORKINGISEND: 3621, ERRLIFEPROFESSIONUNACTIVESPECIALIZATION: 3622, ERRCURLEVELCONFIGNOTEXIST: 4001, ERRNEEDBREAKTHROUGH: 4002, ERREXPERIENCECONFIGNOTEXIST: 4003, ERREXPERIENCEMISMATCH: 4004, ERRNOTNEEDTOBREAKTHROUGH: 4005, ERRCONSUMECONFIGERROR: 4006, ERRSKILLNOTEXIST: 4007, ERRSKILLLEVELMAX: 4008, ERRSKILLLEVELNOTEXIST: 4009, ERRSKILLCONFIGERROR: 4010, ERRSTARNOTEXIST: 4011, ERRMAXSTAR: 4012, ERRMAXLEVEL: 4013, ERRSKILLLEVELNOTENOUGH: 4014, ERRCANNOTCHANGEACTIONSTATE: 4051, ERRACTIONNOTEXIST: 4052, ERRISINTERACTING: 4053, ERRSTATE: 4054, ERRREQUESTEXPIRED: 4055, ERRSTATESETFAILED: 4071, ERRCOLLECTIDERROR: 4072, ERRCOLLECTSTATEFAILED: 4073, ERRCOLLECTACTORERR: 4074, ERRCOLLECTOUTRANGE: 4075, ERRCOLLECTCONDITIONEQUIP: 4076, ERRCOLLECTCONDITIONQUEST: 4077, ERRALREADYCOLLECTED: 4078, ERRMAILGETFAILED: 4101, ERRMAILILLEGALITY: 4102, ERRMAILISGET: 4103, ERRMAILISDEL: 4104, ERRMAILACCEPTOREMPTY: 4105, ERRMAILTOKENINVALID: 4106, ERRUNREGISTERTYPE: 4201, ERRINDEXNOTFOUND: 4202, ERRCANTOPENTREASUREBOX: 4203, ERRPERSONALSTATEEND: 4204, ERRPERSONALOBJECTSTATUS: 4205, ERREXP: 4301, ERRLEVEL: 4302, ERRAWARD: 4303, ERRRECEIVEDLEVELAWARD: 4304, ERRLEVELNOTENOUGH: 4305, ERRROLELEVELNOREWARDS: 4306, ERRUNIONNOTHAVELIMIT: 4401, ERRUNIONISNOTMEMBER: 4402, ERRUNIONOFFICIALNOTEXITS: 4403, ERRUNIONOFFICIALTOOMANY: 4404, ERRUNIONHAS: 4405, ERRUNIONREQCD: 4406, ERRUNIONREQHAS: 4407, ERRUNIONFULL: 4408, ERRUNIONFAILED: 4409, ERRUNIONNAMEWRONGFUL: 4410, ERRUNIONNAMEUSED: 4411, ERRUNIONNAMEOCCUPIED: 4412, ERRAPPLYMAX: 4415, ERRUNIONCHANGENAMECD: 4416, ERRUNIONNAMESIZEERROR: 4417, ERRDECLARATIONSIZE: 4418, ERRDECLARATIONERROR: 4419, ERROFFICIALNAMEREPEAT: 4420, ERRDECLARATIONCD: 4421, ERRUNIONINFOCD: 4422, ERRUNIONNOTEXIST: 4423, ERRUNIONILLEGALCONDITIONTYPE: 4424, ERRUNIONRECRUITSLOGANTOOLONG: 4425, ERRUNIONRECRUITDESCRIPTIONTOOLONG: 4426, ERRUNIONCREATETOOOFTEN: 4427, ERRUNIONTAGNOEXIST: 4428, ERRUNIONICONTOOMUCH: 4429, ERRUNIONGETLISTCD: 4430, ERRUNIONBATCHSEARCHUNIONIDSTOOMUCH: 4431, ERRUNIONBATCHSEARCHCD: 4432, ERRUNIONGETCOLLECTEDIDSCD: 4433, ERRUNIONBEYONDMAXCOLLECTEDNUM: 4434, ERRUNIONIDHASCOLLECTED: 4435, ERRUNIONIDNOCOLLECTED: 4436, ERRUNIONACTIVEVALUENOTENOUGH: 4437, ERRUNIONILLEGALACTIVEID: 4438, ERRUNIONTOOSHORTFORAWARDS: 4439, ERRUNIONHASACTIVEAWARDS: 4440, ERRUNIONNOJOIN: 4441, ERRUNIONONLYENTERSELF: 4442, ERRUNIONNOUNLOCKSCENE: 4443, ERRUNIONBUILDINGMAXLEVEL: 4444, ERRUNIONBUILDINGUPGRADING: 4445, ERRUNIONBUILDINGUPGRADENOFINISH: 4446, ERRUNIONPREFIXBUILDNOMEET: 4447, ERRUNIONEXPERIENCENOENOUGH: 4448, ERRUNIONMONEYNOENOUGH: 4449, ERRUNIONBUILDINGNOUPGRADING: 4450, ERRUNIONSPEEDUPITEMNOENOUGH: 4451, ERRUNIONSPEEDUPTIMESOUT: 4452, ERRUNIONTRYLATER: 4453, ERRUNIONSPEEDUPLEVELERROR: 4454, ERRUNIONUPGRADEHASCOMPLETED: 4455, ERRUNIONILLEGALBUILDIDLV: 4456, ERRUNIONBEYMAXCOUNT: 4457, ERRUNIONUSERNOAPPLY: 4458, ERRUNIONNOONEKEYNOMUCH: 4459, ERRUNIONACTIVITYNOTSTART: 4460, ERRUNIONACTIVITYNOTPROGRESS: 4461, ERRUNIONACTIVITYAWARDGET: 4462, ERRUNIONACTIVITYNOTENJOY: 4463, ERRUNIONCREATETIMETOOSHORT: 4464, ERRUNIONFUNCTIONLOCK: 4465, ERRUNIONESCREENLOCK: 4466, ERRUNIONESCREENPOSITIONLOCK: 4467, ERRUNIONESCREENNOSET: 4468, ERRUNIONESCREENPOSITIONNOSET: 4469, ERRUNIONEFFECTGRIDLOCK: 4470, ERRUNIONEFFECTIDLOCK: 4471, ERRUNIONEFFECTPOSNOSET: 4472, ERRUNIONEFFECTPOSHASEND: 4473, ERRUNIONCROWFUNCHASEND: 4474, ERRUNIONCROWFUNCPOSHASUSED: 4475, ERRUNIONCROWFUNCHASJOINED: 4476, ERRUNIONCROWFUNCNOBEGIN: 4477, ERRUNIONNOFINISHBASEBUILDING: 4478, ERRUNIONCROWFUNCILLEGALFUNCPOS: 4479, ERRUNIONESCREENBEYONDMAXTIMES: 4480, ERRUNIONTARGETFUNCTIONLOCK: 4481, ERRUNIONNOMEET: 4482, ERRUNIONACTIVITYAWARDCD: 4483, ERRUNIONMANAGERNOKICKED: 4484, ERRUNIONDANCENOBEGIN: 4485, ERRUNIONDANCEEND: 4486, ERRUNIONDANCEDRAWNBOX: 4487, ERRUNIONDANCEBOXDRAWN: 4488, ERRUNIONDANCENODANCEID: 4489, ERRUNIONNOJOINDANCE: 4490, ERRUNIONDANCENODANCING: 4491, ERRUNIONREJECTINVITE: 4492, ERRUNIONACTIVITYHUNTEND: 4493, ERRUNIONAPPLYLISTFULL: 4494, ERRUIONAPPLYLISTEXIST: 4495, ERRUNIONGROUPIVALID: 4496, ERRREPEATEDREQUEST: 4501, ERRHASBEENBLACKENED: 4502, ERRNOTFOUNDCHARINFO: 4503, ERRINNER: 4504, ERRPARAM: 4505, ERRSETSHOWPICTURE: 4506, ERRSETSIGNATURE: 4507, ERRSETHOBBYMARK: 4508, ERRSETTIMEMARK: 4509, ERRSETREMIND: 4510, ERRSETTOP: 4511, ERRADDFRIEND: 4512, ERRSETPROCESSED: 4513, ERRSETREMARK: 4514, ERRDELETEFRIEND: 4515, ERRNOTFOUNDGROUP: 4516, ERRNOTEXISTINGROUP: 4517, ERRCHANGEGROUP: 4518, ERRPERSONALSTATE: 4519, ERROTHERFRIENDMAX: 4520, ERRCURFRIENDMAX: 4521, ERRCONFIG: 4522, ERRALREADYFRIEND: 4523, ERRSEARCHSELF: 4524, ERRSUGGESTIONCD: 4525, ERRGROUPMAX: 4526, ERRGROUPNOTEXIST: 4527, ERRGROUPNAMEEMPTY: 4528, ERRILLEGALCHARACTER: 4529, ERRSTRINGMAX: 4530, ERROTHERAPPLICATIONMAX: 4531, ERRFRIENDLINESSAWARDHASRECORD: 4532, ERRFRIENDLINESSLEVELLOWAWARDLEVEL: 4533, ERRFRIENDBEYONDALLFRIENDNUM: 4534, ERRFRIENDISNOUSERFRIEND: 4535, ERRFRIENDLINESSILLEGALAWARDLEVEL: 4536, ERRFRIENDLINESSLEVELAWARDISEMPTY: 4537, ERRFRIENDBEBLACKENEDBYTARGET: 4538, ERRFRIENDAPPLYEACHOTHER: 4539, ERRFRIENDCALLBYSMALLERCHARID: 4540, ERRFRIENDCALLBYBIGGERCHARID: 4541, ERRFRIENDBEBLACKENEDBYSMALLER: 4542, ERRFRIENDBEBLACKENEDBYBIGGER: 4543, ERRFRIENDNOAPPLY: 4544, ERRFRIENDAPPLYSELF: 4545, ERRUSERNAMEFORMAT: 4546, ERRFRIENDGETBASETOOOFTEN: 4547, ERRFRIENDONLYGETSELFBASEINFO: 4548, ERRACTORGETFAILED: 4601, ERRPIVOTISACTIVE: 4602, ERRPIVOTISNOTACTIVE: 4603, ERRBREAKPOINTISGET: 4604, ERRACTORISNOTPIVOT: 4605, ERRACTORISNOTBREAKPOINT: 4606, ERRACTORISBREAKPOINTNOTFULL: 4607, ERRPIVOTREWARDISGIVEN: 4608, ERRNOTINSIGHT: 4609, ERRLEARNSKILLFAIL: 4651, ERRREMOVESKILLFAIL: 4652, ERRUPDATESKILLFAIL: 4653, ERRSKILLOPERATORTYPE: 4654, ERRCONTAINEROPERATOR: 4655, ERREXCHANGEFAIL: 4656, ERREXCHANGEFAILINCOMBAT: 4657, ERRAVATARBEYONDMAXPICTURESIZE: 4671, ERRGETTOKENFAILED: 4672, ERRPICTUREVERIFYFAILED: 4673, ERRPICTUREILLEGALTYPE: 4674, ERRPICTUREERRORINFO: 4675, ERRPICTURESIZEINCONSISTENT: 4676, ERRPICTUREFUNCTYPEILLEGAL: 4677, ERRPICTURECALLBACKJUDGEILLEGAL: 4678, ERRPICTUREVERIFYNOPASS: 4679, ERRPICTUREVERIFYBACKPARAMILLEGAL: 4680, ERRPICTURECALLBACKPARAMILLEGAL: 4681, ERRPICTUREILLEGALID: 4682, ERRPICTURECOSERRORS: 4683, ERRPICTUREINNERSYSERR: 4684, ERRPICTURENOSETENVCOSSECRETID: 4685, ERRPICTURENOSETENVCOSSECRETKEY: 4686, ERRPICTURECHECKINMACHINELOCKED: 4687, ERRPICTURENOTRYOUTITEM: 4688, ERRPICTURENOUPLOADITEM: 4689, ERRPICTURENOUNION: 4690, ERRNAMESIZEERROR: 4701, ERRSENSITIVECONTENT: 4702, ERRCHANGENAMEFAIL: 4703, ERRCHANGENAMECARDNOTENOUGH: 4704, ERRCHANGESAMENAME: 4705, ERRCHECKMUTEWORDSFAILED: 4706, ERRCHECKMUTEWORDSEMPTY: 4708, ERRCHANGESHOWIDFAIL: 4711, ERRCHANGESHOWIDDUPLICATED: 4712, ERRCHANGESHOWIDCARDNOTENOUGH: 4713, ERRFACEITEMLOCK: 4721, ERRFACEITEMGENDER: 4722, ERRFACENOUPLOADING: 4723, ERRFACENOSUPPORTFILESUFFIX: 4724, ERRFACEFILESUFFIXEMPTY: 4725, ERRFACEILLEGALCOSKEY: 4726, ERRFACEPARSESUFFIXFAILED: 4727, ERRFACEPARSESHORTGUIDFAILED: 4728, ERRPROFICIENCYNEEDUNLOCK: 4751, ERRPROFICIENCYUNLOCK: 4752, ERRUNLOCKITEMNOTENOUGH: 4753, ERRTASKNOTFINISH: 4771, ERRSTICKERAWARDISGET: 4772, ERRBOOKAWARDISGET: 4773, ERRINCD: 4791, ERRMONEYNOTENOUGH: 4801, ERRSHOPITEMCANTBUY: 4802, ERRSHOPBUYBUSY: 4803, ERRPAYMENTCONFIGNOTFOUND: 4804, ERRREFRESHSHOPCOUNTEXCEED: 4806, ERRSHOPCOUPONNOTENOUGH: 4807, ERRSHOPCOUPONLIMITNUM: 4808, ERRSHOPCANTBUYNOPRICE: 4809, ERRNOTFOUNDMONSTER: 4901, ERRNOTMONSTER: 4902, ERRMONSTERUNLOCKEXIST: 4903, ERRMONSTERAWARDISGET: 4904, ERRMONSTERTARGETNOTFINISH: 4905, ERRDROPTYPENOTSUPPORT: 4906, ERRCOUNTERNOTENOUGH: 4907, ERRDROPITEMALREADYPICKED: 4908, ERRINTERACTIONDOING: 4941, ERRINTERACTIONCONDITION: 4942, ERRINTERACTIONNOTMORE: 4943, ERRINTERACTIONEXISTPOS: 4944, ERRINTERACTIONNOTEXIST: 4945, ERRINTERACTIONENTITYNOTEXIST: 4946, ERRINTERACTIONHANDLENOTEXIST: 4947, ERRINTERACTIONTYPE: 4948, ERRINTERACTIONBAN: 4949, ERRINTERACTIONCONFIG: 4950, ERRINTERACTIONNOTONESELF: 4951, ERRINTERACTIONDISTANCE: 4952, ERRSHOWPIECEILLEGALPIECETYPE: 4961, ERRSHOWPIECEILLEGALPIECEID: 4962, ERRSHOWPIECENOINOFTENUSELIST: 4963, ERRSHOWPIECENOUNLOCKLIST: 4964, ERRSHOWPIECEROULETTEPOSITIONNOSET: 4965, ERRSHOWPIECEBEYONDOFTENUSEMAXLEN: 4966, ERRSHOWPIECEBEYONDOFTENROULETTEPOSITIONNUM: 4967, ERRSHOWPIECENOCOMMONPIECE: 4968, ERRSHOWPIECENOTAKEON: 4969, ERRPROFESSIONACTIVATED: 5001, ERRPROFESSIONNOTHAS: 5002, ERRPROFESSIONSLOTERR: 5003, ERRPROFESSIONREMOVEERR: 5004, ERRPROFESSIONCHANGEPLANFAIL: 5005, ERRPROFESSIONSTARCONFIGNOTEXIST: 5006, ERRPROFESSIONSTARNODEUNLOCK: 5007, ERRPROFESSIONSTARNODENOTUNLOCK: 5008, ERRPROFESSIONREPLACESKILLNOTEXIST: 5009, ERRPROFESSIONUPGRADENOTGREATERCURLEVEL: 5010, ERRPROFESSIONPROFESSIONBEFORGED: 5011, ERRPROFESSIONSLOTTWONOTUNLOCK: 5012, ERRPROFESSIONSKILLALREADYACTIVE: 5013, ERRPROFESSIONSKILLREMODELLEVELWRONG: 5014, ERRAOYISKILLALREADYACTIVE: 5015, ERRAOYISKILLREMODELCONFIGNOTEXIST: 5016, ERRAOYISKILLREMODELLEVELWRONG: 5017, ERRPROFESSIONEQUIPINCOMBAT: 5018, ERRPROFESSIONSWITCHINCOMBAT: 5019, ERRPROFESSIONDUNGEONNOTALLOWSWITCH: 5020, ERRTALENTILLEGALTALENTPOOLID: 5101, ERRTALENTBEYONDCURTALENTMAXPLANNUM: 5102, ERRTALENTPOOLNOACTIVE: 5108, ERRTALENTPLANNOACTIVE: 5109, ERRTALENTILLEGALTALENTID: 5110, ERRTALENTTALENTHASUNLOCKED: 5111, ERRTALENTTALENTNOUNLOCKED: 5112, ERRTALENTCHANGELVPASSIVETALENTMORETHANINPOOL: 5113, ERRTALENTREPEATEDTALENTID: 5114, ERRTALENTNOPOOLPASSIVETALENT: 5115, ERRTALENTTALENTPOINTSNOENOUGH: 5116, ERRTALENTPASSIVETALENTLISTNOEMPTY: 5118, ERRTALENTILLEGALTALENTLEVEL: 5119, ERRTALENTNOMEETUPGRADECONDITION: 5120, ERRTALENTNOSUPPORTDOWNLEVELNOW: 5121, ERRTALENTNOMEETPREVTALENTLV: 5122, ERRTALENTNOMEETPREVTALENTPOINT: 5123, ERRTALENTTREENODEBDEXCLUSIVE: 5124, ERRTALENTTOTALTALENTPOINTNOTENOUGH: 5125, ERRTALENTPRETALENTNODENOTACTIVATED: 5126, ERRTALENTRESETTALENTINCOMBAT: 5127, ERRCOOKBOOKNOTEXIST: 5151, ERRCOOKFOODNOTENOUGH: 5152, ERRCOOKTYPEMORE: 5153, ERRCOOKCOUNTMORE: 5154, ERRCOOKHASBOOK: 5155, ERRCOOKMATERIALNOTMATCH: 5156, ERRCHATILLEGALPRIVATECHATTARGET: 5201, ERRCHATINTARGETBLOCKLIST: 5202, ERRCHATSENDMSGBEYONDMAXWORDS: 5203, ERRCHATWORLDCHANNELIDISZERO: 5204, ERRCHATWORLDCHANNELIDBEYONDMAXID: 5205, ERRCHATILLEGALCHANNELTYPE: 5206, ERRCHATILLEGALMSGTYPE: 5207, ERRCHATNOINGOALCHANNEL: 5208, ERRCHATNEEDCONFIGIDNOTZERO: 5209, ERRCHATNEEDMSGTEXTNOTEMPTY: 5210, ERRCHATSENDCDNOEND: 5211, ERRCHATRECORDLISTISEMPTY: 5212, ERRCHATTARGETNOTINPRIVATELIST: 5213, ERRCHATMSGIDMORETHANMAXREADMSGID: 5214, ERRCHATBEYONDBLOCKLISTLIMIT: 5215, ERRCHATWORLDCHANNELIDBEYONDMAXNUM: 5216, ERRCHATBEYONDMAXRECORDID: 5217, ERRCHATNOCREATEPRIVATESESSION: 5218, ERRCHATPRIVATESESSIONHASEXIT: 5219, ERRCHATBEBAN: 5220, ERRCHATFILEIDTOOLONG: 5221, ERRCHATFILEIDEMPTY: 5222, ERRCHATMSGINFOEMPTY: 5223, ERRCHATNOSHARECHANNEL: 5224, ERRCHATILLEGALSHARETYPE: 5225, ERRCHATILLEGALHOLDERTYPE: 5226, ERRCHATNOSUPPORTSHARETYPE: 5227, ERRCHATSHARETPENOCHATID: 5228, ERRCHATSHARENOFISHRANK: 5229, ERRCHATLEVELLIMIT: 5230, ERRCHATNOFOUNDBLOCKLISTLIMIT: 5231, ERRTALENTMODTALENTTAGNOTEXIST: 5301, ERRTEXTCHECKFORBIDDEN: 5351, ERRTEXTCHECKNOSCENETYPE: 5352, ERRTEXTCHECKILLEGAL: 5353, ERRTEXTCHECKHTTPERROR: 5354, ERRTEXTCHECKTOOMANYITEMS: 5355, ERRCONDITIONTIMEROPEN: 5401, ERRCONDITIONOPENSERVER: 5402, ERRSKILLDISABLE: 5700, ERRSKILLISCD: 5701, ERRSKILLMAXPASSIVECOUNT: 5702, ERRSKILLINIT: 5703, ERRSKILLINFO: 5704, ERRUSESKILLFIGHTRESINSUFFICIENT: 5705, ERRUSESKILLBUFFNOTENOUGH: 5706, ERRUSESKILLITEMINSUFFICIENT: 5707, ERRUSESKILLATTRINSUFFICIENT: 5708, ERRUSESKILLENDURANCEINSUFFICIENT: 5709, ERRUSESKILLSTATECHANGE: 5710, ERRUSESKILLCLIENTSKILLUUID: 5711, ERRFIGHTLOGICCONDITIONBLOCKINVALID: 5730, ERRFIGHTLOGICACTIONGROUPINVALID: 5731, ERRFIGHTLOGICCONDITIONNOTMATCH: 5732, ERRFIGHTLOGICRUNDATAINVALID: 5733, ERRSKILLSTAGENOTFIND: 5734, ERRCONDITIONCFGSIZE: 6000, ERRCONDITIONDISSATISFY: 6001, ERRCONDITIONOBJECTISNULL: 6002, ERRCONDITIONTYPENOTFOUND: 6003, ERRCONDITIONENTITYDEATH: 6004, ERRCONDITIONUNIONLEVEL: 6005, ERRCONDITIONUNIONMONEY: 6006, ERRCONDITIONNOTMEET: 6007, ERRCONDITIONNOTINSHAPESHIFT: 6008, ERRSEASONACHIEVEMENTNOEXIST: 6101, ERRSEASONACHIEVEMENTNOFINISH: 6102, ERRSEASONACHIEVEMENTHASRECEIVED: 6103, ERRSEASONACHIEVEMENTPREVIDNORECEIVED: 6104, ERRSEASONACHIEVEMENTPREVIDNOEXIST: 6105, ERRSEASONACHIEVEMENTTARGETCONFIGERROR: 6106, ERRSEASONRANKHASMAX: 6151, ERRSEASONRANKHASRECEIVED: 6152, ERRSEASONRANKNOACHIEVE: 6153, ERRSEASONRANKCURSEASONIDZERO: 6154, ERRSEASONRANKNOMEETCONDITION: 6155, ERRSEASONRANKSEASONNOSAME: 6156, ERRBATTLEPASSBUYLEVEL: 6201, ERRBATTLEPASSBUYMATERIAL: 6202, ERRBATTLEPASSAWARDGET: 6203, ERRBATTLEPASSAWARDNOTUNLOCK: 6204, ERRBATTLEPASSBUYWEEKEXPLIMIT: 6205, ERRBATTLEPASSLEVELERROR: 6206, ERRNOREFRESHTIMES: 6207, ERRTARGETNOTCOMPLETED: 6208, ERRONLINEPERIODTOOMORE: 6251, ERRPERSONALTAGTOOMORE: 6252, ERRPERSONALTAGNOTFOUND: 6253, ERRPERSONALAVATARUNEARNED: 6254, ERRPERSONALAVATARFRAMEUNEARNED: 6255, ERRPERSONALCARDSTYLEUNEARNED: 6256, ERRPERSONALPHOTOTOOMORE: 6257, ERRPERSONALMEDALUNEARNED: 6258, ERRPERSONALTARGETUNLOCK: 6259, ERRPERSONALTARGETALREADYGET: 6260, ERRPERSONALMEDALINVALIDSLOT: 6261, ERRPERSONALMEDALDUPLICATEVALUE: 6262, ERRONLINEPERIODDUPLICATE: 6263, ERRPERSONALTAGDUPLICATE: 6264, ERRPERSONALPHOTOINVALIDSLOT: 6265, ERRPERSONALPHOTODUPLICATEVALUE: 6266, ERRSEASONMEDALNOMEETACTIVECONDITION: 6301, ERRSEASONMEDALNOMEETUPGRADECONDITION: 6302, ERRSEASONMEDALACTIVEMEETNOENOUGH: 6303, ERRSEASONMEDALUPGRADEMEETNOENOUGH: 6304, ERRSEASONMEDALILLEGALNODEID: 6305, ERRSEASONMEDALCHOOSENODEIDBEYONDMAX: 6306, ERRSEASONMEDALHOLENOEXIST: 6307, ERRSEASONMEDALHOLELOCK: 6308, ERRSEASONMEDALNODENOEXIST: 6309, ERRSEASONMEDALHOLENOGET: 6310, ERRSEASONMEDALMAXHOLELEVEL: 6311, ERRSEASONMEDALCOREHOLELOCK: 6312, ERRSEASONMEDALUPGRADEMONEYNOENOUGH: 6313, ERRSEASONNOCOREHOLE: 6314, ERRSEASONNONORMALHOLE: 6315, ERRSEASONMEDALNOUPGRADENORMALHOLEITEM: 6316, ERRSCENELINENOTEXISTS: 6351, ERRSCENELINEREFRESHCD: 6352, ERRSCENELINENOTSAMESCENE: 6353, ERRSCENELINESAMELINE: 6354, ERRSCENELINEINTERACTING: 6355, ERRSCENELINEUSERDEAD: 6356, ERRSCENELINEFULL: 6357, ERRSCENELINECHANGECD: 6358, ERRSCENEVERSIONRECYCLE: 6359, ERRSCENELINEKICK: 6360, ERRINSTALLSLOTFAILED: 6401, ERRUSESLOTFAILED: 6402, ERRUSESLOTINCD: 6403, ERRINSTATALLSLOTFAILEDINCOMBAT: 6404, ERRSLOTSKILLUNLOAD: 6405, ERRUSECFGSKILLFAILED: 6406, ERRRESONANCENOTEXISTS: 6407, ERRRESONANCEUNLOAD: 6408, ERRUSEDODGEFAILED: 6409, ERRUSEFIXEDSKILLFAILED: 6410, ERRUSEBLOCKEDSKILL: 6411, ERRINSTALLBLOCKEDSKILL: 6412, ERREXCHANGENOTFOUND: 6451, ERREXCHANGENOTENOUGH: 6452, ERREXCHANGEITEMLIMIT: 6453, ERREXCHANGESTEPRANGE: 6454, ERREXCHANGEITEMFULL: 6455, ERREXCHANGEPACKAGEFULL: 6456, ERREXCHANGEPRICEITEMNOTFIND: 6457, ERREXCHANGEBUYNUMNOTENOUGH: 6458, ERREXCHANGEBUYITEMNOTFOUND: 6459, ERREXCHANGETAKEFAILDELAYTIME: 6460, ERREXCHANGETAKEFAILSELLNUM: 6461, ERREXCHANGETAKEITEMNOTFOUND: 6462, ERREXCHANGEWITHDRAWNOMONEY: 6463, ERREXCHANGEDEPOSITNOTENOUGH: 6464, ERREXCHANGEITEMNOTBINDORCOOLDOWNNOTEXPIRE: 6465, ERREXCHANGEINCD: 6466, ERREXCHANGEBUYCURRENCYNOENOUGH: 6467, ERREXCHANGEITEMDELAYTIMEOVER: 6468, ERREXCHANGEITEMISNOTWITHDRAW: 6469, ERREXCHANGEBUYITEMLIMIT: 6470, ERREXCHANGEITEMISNOTNOTICESHOPITEM: 6471, ERREXCHANGEITEMISPREBUYALREADY: 6472, ERREXCHANGEITEMNOTPUBLIC: 6473, ERREXCHANGESALERANKEXIST: 6474, ERREXCHANGESALEITEMFULL: 6475, ERREXCHANGESALEDIAMONDNOTENOUGH: 6476, ERREXCHANGESALEITEMNOTEXISTS: 6477, ERREXCHANGEBUYSALECURRENCYNOENOUGH: 6478, ERREXCHANGEDIAMONDNOTENOUGH: 6479, ERREXCHANGESALETAKEOFFCD: 6480, ERREXCHANGESALERATEINVALID: 6481, ERREXCHANGEPREITEMFULL: 6482, ERREXCHANGESALENUMINVALID: 6483, ERREXCHANGECAREITEMALREADY: 6484, ERREXCHANGEPRICERANGE: 6485, ERREXCHANGEREQUESTLIMIT: 6486, ERREXCHANGEITEMBANNED: 6487, ERREXCHANGEPRICENOTLOW: 6488, ERREXCHANGEITEMNOTFIND: 6489, ERREXCHANGEITEMEXISTMINPRICE: 6490, ERREXCHANGENOTICEITEMMIN: 6491, ERREXCHANGEPREBUYUSERFULL: 6492, ERRMODHOLENOTUNLOCK: 6501, ERRMODNOTEXIST: 6502, ERRMODSIMILARREPEATED: 6503, ERRMODTYPELIMITEXCEEDED: 6504, ERRMODPARTNOTEXIST: 6505, ERRMODPARTENHANCELIMIT: 6506, ERRMODINUSE: 6507, ERRMODALREADYINSTALLED: 6508, ERRMODINITCONFIGNOTEXIST: 6509, ERRMODPARTOVERFLOW: 6510, ERRMODCANNOTLINK: 6511, ERRFISHINGNOTUSEBAIT: 6551, ERRFISHINGRANDOMFAILED: 6552, ERRFISHINGALREADYGETFISHITEM: 6553, ERRFISHINGGETFISHIDWRONG: 6554, ERRFISHINGNOTGET: 6555, ERRFISHINGNOTRESEARCHYET: 6556, ERRFISHINGNOTUSEROD: 6557, ERRFISHINGNOSEAT: 6558, ERRFISHINGCANTRESEARCH: 6559, ERRFISHDRAWNLEVELAWARD: 6560, ERRFISHCANNOTDRAWLEVELAWARD: 6561, ERRFISHDRAWNNOLEVELAWARD: 6562, ERRFREIGHTNOREFRESHGOODS: 6601, ERRFREIGHTBEYONDMAXVALUE: 6602, ERRFREIGHTDOWNMINVALUE: 6603, ERRFREIGHTHASSETOFF: 6604, ERRFREIGHTNOSETOFF: 6605, ERRFREIGHTHASREWARD: 6606, ERRFREIGHTILLEGALGOODSID: 6607, ERRFREIGHTITEMNOENOUGH: 6608, ERRFREIGHTNOUPSETOFFTIME: 6609, ERRFREIGHTNOUPREWARDTIME: 6610, ERRFREIGHTAUTOSETOFF: 6611, ERRTRIALROADAWARDNOTFINISHED: 6651, ERRTRIALROADAWARDROOMGET: 6652, ERRNOTCANRIDE: 6701, ERRCOMBATSTATENOTRIDE: 6702, ERRALREADYRIDE: 6703, ERRRIDENOTENOUGH: 6704, ERRCREATEVEHICLEACTORFAILED: 6705, ERRNOTVEHICLEOWNER: 6706, ERRVEHICLEHASCONTROLLER: 6707, ERRVEHICLENOSEAT: 6708, ERRVEHICLEHASSEAT: 6709, ERRNOTRIDEVEHICLE: 6710, ERRVEHICLENOTEXITS: 6711, ERRINVALIDRIDEPROPERTYTYPE: 6712, ERRRIDEAPPLYTARGETUSERNOTEXIST: 6713, ERRRIDECONFIGNOTFIND: 6714, ERRRIDENOTUNLOCK: 6715, ERRRIDENOTFIND: 6716, ERRINVALIDRIDETYPE: 6717, ERRRIDEAPPLYALREADYEXIST: 6718, ERRRIDEAPPLYNOTRIDEVEHICLE: 6719, ERRRIDEAPPLYVEHICLENOTSEAT: 6720, ERRRIDEALREADYRIDE: 6721, ERRRIDEAPPLYTARGETTOOFAR: 6722, ERRRIDENOTTAKE: 6723, ERRRIDEINTERACTING: 6724, ERRSHAPESHIFTNOTRIDE: 6725, ERRFISHINGNOTRIDE: 6726, ERRRIDESTATEREJECT: 6727, ERRRIDETYPENOTSUPPORT: 6728, ERRRIDENOTCONTROL: 6729, ERRRIDENOTFUNCTION: 6730, ERRRIDESKINNOTSUPPORT: 6731, ERRRIDESKINNOTUNLOCK: 6732, ERRRIDESKINDATAADDFAILED: 6733, ERRRIDESKINNOTSKIN: 6734, ERRRIDESKINALREADYACTIVATE: 6735, ERRWAREHOUSEHAS: 7000, ERRWAREHOUSENOHAS: 7001, ERRWAREHOUSENOMEM: 7002, ERRWAREHOUSENOPRESIDENT: 7003, ERRWAREHOUSENOHASITEM: 7004, ERRWAREHOUSEITEMNODEPOSIT: 7005, ERRWAREHOUSEGRIDPOSNOEXIST: 7006, ERRWAREHOUSEGRIDPOSITEMNOENOUGH: 7007, ERRWAREHOUSENOINVITESELF: 7008, ERRWAREHOUSEINVITEESHAS: 7009, ERRWAREHOUSEMEMBEYONDMAX: 7010, ERRWAREHOUSEGRIDBEYONDMAX: 7011, ERRWAREHOUSENOSELF: 7012, ERRWAREHOUSEISMEM: 7013, ERRWAREHOUSENOEXIST: 7014, ERRWAREHOUSEDEPOSITBEYONDMAX: 7015, ERRWAREHOUSETAKEOUTBEYONDMAX: 7016, ERRWAREHOUSEITEMIDNOTSAME: 7017, ERRWAREHOUSEPARAMS: 7018, ERRWAREHOUSENOKICKSELF: 7019, ERRWAREHOUSEPRESIDENTNOEXIT: 7020, ERRGASHADRAWCOUNT: 7021, ERRGASHADRAWLIMIT: 7022, ERRGASHAINVALIDWISHID: 7023, EERGASHAWISHREPEATED: 7026, EERGASHAWISHCOUNTNOENOUGH: 7027, ERRWAREHOUSEAUTHORITY: 7028, ERREQUIPCANTDECOMPOSE: 7051, ERREQUIPNOTRECASTRECORD: 7052, ERREQUIPONCANTUSEDRECASTCONSUME: 7053, ERREQUIPWEAPONNOTEQUALPROFESSION: 7054, ERREQUIPSLOTREFINEBLESSNOTFIT: 7055, ERREQUIPNOTRECAST: 7056, ERREQUIPENCHANTITEMMISMATCH: 7057, ERREQUIPENCHANTALREADYENCHANTED: 7058, ERREQUIPANYITEMMISMATCH: 7059, ERREQUIPSLOTREFINEBLESSNUMTOOMUCH: 7060, ERREQUIPNAMEGROUPNOMATCH: 7061, ERREQUIPPERFECTIONNOMATCH: 7062, ERREQUIPNOTBREAK: 7063, ERREQUIPPUTONING: 7064, ERRUSERISMATCHING: 7101, ERRUSERNOTINMATCHING: 7102, ERRUSENOTWAITREADY: 7103, ERRDUNGEONCANTMATCH: 7104, ERRMATCHQUEUEFULL: 7105, ERRCOMMONAWARDCANTRECEIVE: 7151, ERRCOMMONAWARDHASRECEIVED: 7152, ERRCRAFTENERGYNOTENOUGH: 7201, ERRCRAFTENERGYFULL: 7202, ERRRECOMMENDPLAYNOTOPEN: 7250, ERRWEEKLYTOWERNOSTART: 7251, ERRWEEKLYTOWERHASEND: 7252, ERRWEEKLYNOMEETPROCESSAWARD: 7253, ERRWEEKLYHASREWARDPROCESSAWARD: 7254, ERRWEEKLYNOLAYERSTAGEAWARD: 7255, ERRWEEKONLYCURSEASONAWARD: 7256, ERRWEEKLYTOWERCANNOTENTERLAYER: 7257, ERRWEEKLYTOWERBOXHASOPEN: 7258, ERRWEEKLYTOWERNOBOX: 7259, ERRWEEKLYTOWERNOSTAGEAWARD: 7260, ERRWEEKLYTOWERNOTOWERDUNGEON: 7261, ERRFUNCTIONNOAWARD: 7271, ERRFUNCTIONHASDRAWN: 7272, ERRTLOGILLEGALEXPORTAREA: 7281, ERRPAYORDERFAIL: 7300, ERRPAYCOSTNOTENOUGH: 7301, ERRPAYCANTBUY: 7302, ERRPAYCANTEXPLORE: 7303, ERRACTIVITYNOTFIND: 7350, ERRACTIVITYOFFLINE: 7351, ERRACTIVITYNOTOPEN: 7352, ERRACTIVITYREWARDNOTFOUND: 7353, ERRACTIVITYCONDITIONNOTFINISH: 7354, ERRACTIVITYALREADYOBTAIN: 7355, ERRACTIVITYNOTUNLOCK: 7356, ERREMOJICONFIGERROR: 7401, ERREMOJIALREADYUNLOCK: 7402, ERREMOJIUNLOCKITEMERROR: 7403, ERREMOJIUNLOCKITEMERRORITEMNOTENOUGH: 7404, ERREMOJIUNLOCK: 7405, ERRGLOBALCONDITIONNOTFOUND: 7406, ERRGLOBALCONDITIONNOTLUCKYVALUE: 7407, ERRPATHFINDINGCANT: 7412, ERRPATHFINDINGDATAERROR: 7413, ERRPATHFINDINGENDPOSERROR: 7414, ERRPATHFINDINGSTARTPOSERROR: 7415, ERRPATHFINDINGNOPATH: 7416, ERRSIGNNOTOPEN: 7421, ERRSIGNNOTSIGNED: 7422, ERRSIGNALREADYSIGNED: 7423, ERRSIGNTIMEERROR: 7424, ERRTOKENBUCKETLIMIT: 9998, ERRUNKNOWN: 9999 }; /** * @enum {number} */ proto.EItemBindFlag = { ITEMBINDNONE: 0, ITEMNOTBIND: 1, ITEMBINDALL: 2 }; /** * @enum {number} */ proto.EQuestStepStatus = { QUESTSTEPGOING: 0, QUESTSTEPFINISH: 1, QUESTSTEPFAIL: 2 }; /** * @enum {number} */ proto.EEquipEnchantType = { EEQUIPENCHANTNONE: 0, EEQUIPENCHANTORDINARY: 1, EEQUIPENCHANTINTERMEDIATE: 2, EEQUIPENCHANTADVANCED: 3 }; /** * @enum {number} */ proto.EShowPieceType = { SHOWPIECENULL: 0, SHOWPIECENORMALACTION: 1, SHOWPIECEEMOTE: 2, SHOWPIECEDOUBLEACTION: 3, SHOWPIECESTICKER: 4 }; /** * @enum {number} */ proto.MonsterTargetAward = { MONSTERTARGETAWARDNULL: 0, MONSTERTARGETAWARDGET: 1, MONSTERTARGETAWARDRECEIVED: 2 }; /** * @enum {number} */ proto.EReceiveRewardStatus = { ERECEIVEREWARDSTATUSNOTRECEIVE: 0, ERECEIVEREWARDSTATUSCANRECEIVE: 1, ERECEIVEREWARDSTATUSRECEIVED: 2 }; /** * @enum {number} */ proto.ERidePropertyType = { RIDEPROPERTYTYPENONE: 0, RIDEPROPERTYTYPELAND: 11, RIDEPROPERTYTYPEWATER: 12, RIDEPROPERTYTYPEMAX: 13 }; /** * @enum {number} */ proto.LaunchPlatform = { LAUNCHPLATFORMNULL: 0, LAUNCHPLATFORMWEXIN: 1001, LAUNCHPLATFORMQQ: 1002 }; /** * @enum {number} */ proto.EHomelandLamplightState = { HOMELANDLAMPLIGHTSTATEDEFAULT: 0, HOMELANDLAMPLIGHTSTATEON: 1, HOMELANDLAMPLIGHTSTATEOFF: 2 }; /** * @enum {number} */ proto.EFarmlandState = { EFARMLANDSTATEEMPTY: 0, EFARMLANDSTATEGROW: 1, EFARMLANDSTATEPOLLEN: 2, EFARMLANDSTATEHARVEST: 3, EFARMLANDSTATEOVER: 4 }; /** * @enum {number} */ proto.StructureOpType = { STRUCTUREOPTYPEADD: 0, STRUCTUREOPTYPEUPDATE: 1, STRUCTUREOPTYPEDELETE: 2 }; /** * @enum {number} */ proto.WorldReconnectStatus = { FASTRECONNECT: 0, NEWSESSION: 1 }; /** * @enum {number} */ proto.DungeonEventState = { DUNGEONEVENTSTATENULL: 0, DUNGEONEVENTSTATERUNNING: 1, DUNGEONEVENTSTATEEND: 2 }; /** * @enum {number} */ proto.DungeonEventResult = { DUNGEONEVENTRESULTNULL: 0, DUNGEONEVENTRESULTSUCCESS: 1, DUNGEONEVENTRESULTTIMEOUT: 2, DUNGEONEVENTRESULTFAILED: 3, DUNGEONEVENTRESULTEND: 4 }; /** * @enum {number} */ proto.EDungeonState = { DUNGEONSTATENULL: 0, DUNGEONSTATEACTIVE: 1, DUNGEONSTATEREADY: 2, DUNGEONSTATEPLAYING: 3, DUNGEONSTATEEND: 4, DUNGEONSTATESETTLEMENT: 5, DUNGEONSTATEVOTE: 6 }; /** * @enum {number} */ proto.EHeroKeyRollType = { HEROKEYROLLTYPENULL: 0, HEROKEYROLLTYPEGIVEUP: 1, HEROKEYROLLTYPEROLL: 2, HEROKEYROLLTYPEGET: 3, HEROKEYROLLTYPEROLLGET: 4, HEROKEYROLLTYPECOUNTFULL: 5 }; /** * @enum {number} */ proto.EDungeonTimerType = { DUNGEONTIMERTYPENULL: 0, DUNGEONTIMERTYPERIGHTCOMMON: 1, DUNGEONTIMERTYPEMIDDLERCOMMON: 2, DUNGEONTIMERTYPEHERO: 3, DUNGEONTIMERTYPEWAIT: 4, DUNGEONTIMERTYPEPREPARE: 5 }; /** * @enum {number} */ proto.EDungeonTimerDirection = { DUNGEONTIMERDIRECTIONDOWN: 0, DUNGEONTIMERDIRECTIONUP: 1 }; /** * @enum {number} */ proto.EDungeonTimerEffectType = { EDUNGEONTIMEREFFECTTYPENULL: 0, EDUNGEONTIMEREFFECTTYPEADD: 1, EDUNGEONTIMEREFFECTTYPESUB: 2, EDUNGEONTIMEREFFECTTYPECHANGE: 3 }; /** * @enum {number} */ proto.EDungeonTimerTimerLookType = { EDUNGEONTIMERTIMERLOOKTYPEDEFAULT: 0, EDUNGEONTIMERTIMERLOOKTYPERED: 1 }; /** * @enum {number} */ proto.EPictureType = { ENORMALPICTURE: 0, ECAMERAORIGINAL: 1, ECAMERARENDER: 2, ECAMERATHUMBNAIL: 3, EPROFILESNAPSHOT: 4, EPROFILEHALFBODY: 5 }; /** * @enum {number} */ proto.EEntityType = { ENTERRTYPE: 0, ENTMONSTER: 1, ENTNPC: 2, ENTSCENEOBJECT: 3, ENTZONE: 5, ENTBULLET: 6, ENTCLIENTBULLET: 7, ENTPET: 8, ENTCHAR: 10, ENTDUMMY: 11, ENTDROP: 12, ENTFIELD: 14, ENTTRAP: 15, ENTCOLLECTION: 16, ENTSTATICOBJECT: 18, ENTVEHICLE: 19, ENTTOY: 20, ENTCOMMUNITYHOUSE: 21, ENTHOUSEITEM: 22, ENTCOUNT: 23 }; /** * @enum {number} */ proto.EAppearType = { EAPPEARNULL: 0, EAPPEARTRANSFERIN: 1, EAPPEARTRANSFERPASSLINEIN: 2 }; /** * @enum {number} */ proto.EGmParsingType = { GMPARSINGJSON: 0, GMPARSINGSTRING: 1 }; /** * @enum {number} */ proto.EInteractionTemplateAction = { EINTERACTIONTEMPLATEDEFAULT: 0, EINTERACTIONTEMPLATEBEGIN: 1, EINTERACTIONTEMPLATEUPDATE: 2, EINTERACTIONTEMPLATEEND: 3, EINTERACTIONTEMPLATEABORT: 4, EINTERACTIONTEMPLATESTAGEEND: 5 }; /** * @enum {number} */ proto.BuildFurnitureOpType = { BUILDFURNITUREOPADD: 0, BUILDFURNITUREOPUPDATE: 1, BUILDFURNITUREOPDELETE: 2 }; /** * @enum {number} */ proto.EUserTransferType = { EUSERTRANSFERTYPEDEFAULT: 0, EUSERTRANSFERTYPESCENEPOSITION: 1, EUSERTRANSFERTYPESCENEPOSID: 2, EUSERTRANSFERTYPEPIVOT: 3, EUSERTRANSFERTYPECUTSCENE: 4, EUSERTRANSFERTYPENEAR: 5 }; /** * @enum {number} */ proto.ESceneLineStatus = { SCENELINESTATUSNONE: 0, SCENELINESTATUSLOW: 1, SCENELINESTATUSMEDIUM: 2, SCENELINESTATUSHIGH: 3, SCENELINESTATUSFULL: 4, SCENELINESTATUSRECYCLE: 5 }; /** * @enum {number} */ proto.ETimerType = { TIMERTYPENULL: 0, TIMERTYPE_POINT: 1, TIMERTYPE_DAY: 2, TIMERTYPE_MONTH: 3, TIMERTYPE_WEEK: 4, TIMERTYPE_INTERVAL: 5 }; /** * @enum {number} */ proto.ETimerExeType = { TIMEREXETYPENULL: 0, TIMEREXETYPE_START: 1, TIMEREXETYPE_END: 2, TIMEREXETYPE_CYCLE_START: 3, TIMEREXETYPE_CYCLE_END: 4 }; /** * @enum {number} */ proto.ENotifyTrigger = { ETYPEINZONE: 0, ETYPEOUTZONE: 1, ETYPERANGE: 2 }; /** * @enum {number} */ proto.EUseSlotType = { USESLOTTYPE_OTHER: 0, USESLOTTYPE_SKILL: 1 }; /** * @enum {number} */ proto.EDisappearType = { EDISAPPEARNORMAL: 0, EDISAPPEARDEAD: 1, EDISAPPEARDESTROY: 2, EDISAPPEARTRANSFERLEAVE: 3, EDISAPPEARTRANSFERPASSLINELEAVE: 4 }; /** * @enum {number} */ proto.EActorState = { ACTORSTATEDEFAULT: 0, ACTORSTATESINGING: 1, ACTORSTATESKILL: 2, ACTORSTATEJUMP: 3, ACTORSTATERUSH: 4, ACTORSTATECLIMB: 5, ACTORSTATESWIM: 6, ACTORSTATEFISHING: 7, ACTORSTATEACTION: 8, ACTORSTATEDEAD: 9, ACTORSTATESTIFF: 10, ACTORSTATESWIMSTIFF: 11, ACTORSTATEBORN: 12, ACTORSTATETELEPORT: 13, ACTORSTATEFALL: 14, ACTORSTATEFLOW: 16, ACTORSTATEGLIDE: 17, ACTORSTATEPEDALWALL: 18, ACTORSTATEFALLTELEPORT: 19, ACTORSTATESELFPHOTO: 20, ACTORSTATECOLLECTION: 21, ACTORSTATERESET: 22, ACTORSTATEBREAKING: 23, ACTORSTATEWEAKNESS: 24, ACTORSTATEFRACTURE: 25, ACTORSTATEABNORMAL: 26, ACTORSTATERESURRECTION: 27, ACTORSTATEINTERACTION: 28, ACTORSTATESCENEINTERACTION: 29, ACTORSTATETUNNELFLY: 30, ACTORSTATELEVITATION: 31, ACTORSTATEHOMELANDEDIT: 32, ACTORSTATERIDE: 33, ACTORSTATERIDECONTROL: 34, ACTORSTATEALL: 35 }; /** * @enum {number} */ proto.EInteractionAction = { EINTERACTIONACTIONNONE: 0, EINTERACTIONACTIONTOSERVER: 1, EINTERACTIONACTIONNPCTALK: 2, EINTERACTIONACTIONDUNGEONENTRY: 3, EINTERACTIONACTIONFUNCTIONENTRY: 4, EINTERACTIONACTIONCLIENTSCENEEVENT: 5, EINTERACTIONACTIONOPTIONSELECT: 6, EINTERACTIONACTIONHERONORMALDUNGEON: 7, EINTERACTIONACTIONHEROCHALLENGEDUNGEON: 8, EINTERACTIONACTIONREVIVE: 9, EINTERACTIONACTIONVMFUCTION: 10, EINTERACTIONACTIONTIPS: 11, EINTERACTIONACTIONOPENUI: 12, EINTERACTIONACTIONWINDZONE: 13, EINTERACTIONACTIONWINDRING: 14, EINTERACTIONACTIONWINDTORNADO: 15, EINTERACTIONACTIONDANCETOGETHER: 16, EINTERACTIONACTIONSTARTFLOW: 17, EINTERACTIONACTIONSHOWCUTSCENE: 18, EINTERACTIONACTIONUNIONHUNTENTRY: 19, EINTERACTIONACTIONUNIONBUILD: 20, EINTERACTIONACTIONUNIONBUILDFUNC: 21, EINTERACTIONACTIONEXPLOREMONSTERDEPLETE: 22, EINTERACTIONACTIONUSESKILL: 23, EINTERACTIONACTIONFISHING: 24, EINTERACTIONACTIONSENDCLIENTAIEVENT: 25, EINTERACTIONACTIONDONOTHING: 27, EINTERACTIONACTIONCOOKFUNC: 28, EINTERACTIONACTIONMOVETODISTANCE: 29, EINTERACTIONACTIONMOVETOPOSITION: 30, EINTERACTIONACTIONMOVETOINTERACTIONSEAT: 31, EINTERACTIONACTIONROTATETOTARGET: 32, EINTERACTIONACTIONROTATETOTARGETANDWAIT: 33, EINTERACTIONACTIONADDCLIENTBUFF: 34, EINTERACTIONACTIONADDCLIENTBUFFANDWAIT: 35, EINTERACTIONACTIONADDCLIENTBUFFTOTARGET: 36, EINTERACTIONACTIONADDCLIENTBUFFTOTARGETANDWAIT: 37, EINTERACTIONACTIONPROGRESSBAR: 38, EINTERACTIONACTIONCAMERAINVOKE: 39, EINTERACTIONACTIONWAITUICONFIRM: 40, EINTERACTIONACTIONIGNOREINPUT: 41, EINTERACTIONACTIONHIDEHUD: 42, EINTERACTIONACTIONHIDEUI: 43, EINTERACTIONACTIONMOVETOSTATICOBJ: 44, EINTERACTIONACTIONUNIONWARDANCE: 45, EINTERACTIONACTIONWAITINPUTMOVE: 46, EINTERACTIONACTIONREMOVECLIENTBUFF: 47, EINTERACTIONACTIONREMOVETARGETCLIENTBUFF: 48, EINTERACTIONACTIONENTERAUTOFLOW: 49, EINTERACTIONACTIONNPCTALKFLOW: 51, EINTERACTIONACTIONSTARTFLOWANDWAIT: 52, EINTERACTIONACTIONSHOWCUTSCENEANDWAIT: 53, EINTERACTIONACTIONSITTINGCONTROL: 54, EINTERACTIONACTIONMAGNETICATTACH: 55, EINTERACTIONACTIONSWITCHCAMERATEMPLATE: 56, EINTERACTIONACTIONHOMEFARM: 57, EINTERACTIONACTIONLUA: 999, EINTERACTIONACTIONBASE: 1000, EINTERACTIONACTIONPIVOT: 1001, EINTERACTIONACTIONPIVOTBREAK: 1002, EINTERACTIONACTIONTRANSFERPOINT: 1003, EINTERACTIONACTIONLOGICRESONANCE: 1004, EINTERACTIONACTIONLOGICSTATIC: 1005, EINTERACTIONACTIONLOGICDANCE: 1006, EINTERACTIONACTIONADDBUFF: 1007, EINTERACTIONACTIONTELEPORT: 1008, EINTERACTIONACTIONENTERDUNGEON: 1009, EINTERACTIONACTIONENTERVISUALLAYER: 1010, EINTERACTIONACTIONEXITVISUALLAYER: 1011, EINTERACTIONACTIONTRIGGERSCENEEVENT: 1012, EINTERACTIONACTIONTRIGGERSCENECUSTOMEVENT: 1013, EINTERACTIONACTIONUSERDOACTION: 1014, EINTERACTIONACTIONPICKUP: 1015, EINTERACTIONACTIONOPENELITETREASUREBOX: 1016, EINTERACTIONACTIONOPENBOSSTREASUREBOX: 1017, EINTERACTIONACTIONQUEST: 1018, EINTERACTIONACTIONQUESTEVENT: 1019, EINTERACTIONACTIONKILLSELF: 1020, EINTERACTIONACTIONSENDAIEVENT: 1021, EINTERACTIONACTIONDANCEAWARDNPC: 1022, EINTERACTIONACTIONREQUESTINTERACTIONSEAT: 1023, EINTERACTIONACTIONREMOVEBUFF: 1024, EINTERACTIONACTIONADDBUFFTOTARGET: 1025, EINTERACTIONACTIONREMOVEBUFFTOTARGET: 1026, EINTERACTIONACTIONPAINTTOYSWITCHPAGE: 1027, EINTERACTIONACTIONOPENTOWERTREASUREBOX: 1030, EINTERACTIONACTIONROUGHCOLLECTION: 1031, EINTERACTIONACTIONFINECOLLECTION: 1032, EINTERACTIONACTIONBUBBLEACTSTART: 1033, EINTERACTIONACTIONBUBBLEACTEND: 1034, EINTERACTIONACTIONRAIDOPENBOX: 1035 }; /** * @enum {number} */ proto.EDetachMagneticType = { EOPERATE: 0, EFALL: 1 }; goog.object.extend(exports, proto);