9 Star 28 Fork 32

liyonghelpme/protobufferUnity

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Util2.cs 24.77 KB
一键复制 编辑 原始数据 按行查看 历史
liyonghelpme 提交于 2016-02-26 18:26 . 删除不用的协议
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971

using UnityEngine;
using System.Collections.Generic;
using Google.ProtocolBuffers;
namespace ChuMeng {
public partial class Util {
public delegate IMessageLite MsgDelegate(ByteString buf);
static IMessageLite GetGCGetKeyValue(ByteString buf) {
var retMsg = ChuMeng.GCGetKeyValue.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCListBranchinges(ByteString buf) {
var retMsg = ChuMeng.GCListBranchinges.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGLoginAccount(ByteString buf) {
var retMsg = ChuMeng.CGLoginAccount.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGGetKeyValue(ByteString buf) {
var retMsg = ChuMeng.CGGetKeyValue.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushFightModeChangeWithMap(ByteString buf) {
var retMsg = ChuMeng.GCPushFightModeChangeWithMap.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPickUpLootReward(ByteString buf) {
var retMsg = ChuMeng.GCPickUpLootReward.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCSaveGuideStep(ByteString buf) {
var retMsg = ChuMeng.GCSaveGuideStep.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGForgotPassword(ByteString buf) {
var retMsg = ChuMeng.CGForgotPassword.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGPropsRevive(ByteString buf) {
var retMsg = ChuMeng.CGPropsRevive.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGChangeScreen4Point(ByteString buf) {
var retMsg = ChuMeng.CGChangeScreen4Point.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGChangeFightMode(ByteString buf) {
var retMsg = ChuMeng.CGChangeFightMode.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCBindingSession(ByteString buf) {
var retMsg = ChuMeng.GCBindingSession.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGGetCharacterInfo(ByteString buf) {
var retMsg = ChuMeng.CGGetCharacterInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushAttribute2Members(ByteString buf) {
var retMsg = ChuMeng.GCPushAttribute2Members.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGRegisterAccount(ByteString buf) {
var retMsg = ChuMeng.CGRegisterAccount.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSetKeyValue(ByteString buf) {
var retMsg = ChuMeng.CGSetKeyValue.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushPlayerModifyName(ByteString buf) {
var retMsg = ChuMeng.GCPushPlayerModifyName.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCGetCharacterInfo(ByteString buf) {
var retMsg = ChuMeng.GCGetCharacterInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushAttrChange(ByteString buf) {
var retMsg = ChuMeng.GCPushAttrChange.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCSelectCharacter(ByteString buf) {
var retMsg = ChuMeng.GCSelectCharacter.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGListBranchinges(ByteString buf) {
var retMsg = ChuMeng.CGListBranchinges.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGAutoRegisterAccount(ByteString buf) {
var retMsg = ChuMeng.CGAutoRegisterAccount.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGModifyPassword(ByteString buf) {
var retMsg = ChuMeng.CGModifyPassword.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushNotice2Kick(ByteString buf) {
var retMsg = ChuMeng.GCPushNotice2Kick.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushLevelUpgrade(ByteString buf) {
var retMsg = ChuMeng.GCPushLevelUpgrade.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGHeartBeat(ByteString buf) {
var retMsg = ChuMeng.CGHeartBeat.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGPlayerCmd(ByteString buf) {
var retMsg = ChuMeng.CGPlayerCmd.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushLootReward(ByteString buf) {
var retMsg = ChuMeng.GCPushLootReward.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGBindingSession(ByteString buf) {
var retMsg = ChuMeng.CGBindingSession.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPropsRevive(ByteString buf) {
var retMsg = ChuMeng.GCPropsRevive.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCChangeFightMode(ByteString buf) {
var retMsg = ChuMeng.GCChangeFightMode.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGModifyPlayerName(ByteString buf) {
var retMsg = ChuMeng.CGModifyPlayerName.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGCreateCharacter(ByteString buf) {
var retMsg = ChuMeng.CGCreateCharacter.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCModifyPassword(ByteString buf) {
var retMsg = ChuMeng.GCModifyPassword.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushLevel(ByteString buf) {
var retMsg = ChuMeng.GCPushLevel.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCEnterScene(ByteString buf) {
var retMsg = ChuMeng.GCEnterScene.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushNotify(ByteString buf) {
var retMsg = ChuMeng.GCPushNotify.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushLootRewardRemove(ByteString buf) {
var retMsg = ChuMeng.GCPushLootRewardRemove.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCForgotPassword(ByteString buf) {
var retMsg = ChuMeng.GCForgotPassword.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGPickItem(ByteString buf) {
var retMsg = ChuMeng.CGPickItem.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushExpChange(ByteString buf) {
var retMsg = ChuMeng.GCPushExpChange.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGPlayerMove(ByteString buf) {
var retMsg = ChuMeng.CGPlayerMove.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushPlayerPower(ByteString buf) {
var retMsg = ChuMeng.GCPushPlayerPower.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGDelCharacter(ByteString buf) {
var retMsg = ChuMeng.CGDelCharacter.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSaveGuideStep(ByteString buf) {
var retMsg = ChuMeng.CGSaveGuideStep.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCSettingClothShow(ByteString buf) {
var retMsg = ChuMeng.GCSettingClothShow.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGAddProp(ByteString buf) {
var retMsg = ChuMeng.CGAddProp.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCRegisterAccount(ByteString buf) {
var retMsg = ChuMeng.GCRegisterAccount.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCChangeScreen4Point(ByteString buf) {
var retMsg = ChuMeng.GCChangeScreen4Point.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGEnterScene(ByteString buf) {
var retMsg = ChuMeng.CGEnterScene.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSettingClothShow(ByteString buf) {
var retMsg = ChuMeng.CGSettingClothShow.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCDelCharacter(ByteString buf) {
var retMsg = ChuMeng.GCDelCharacter.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCAutoRegisterAccount(ByteString buf) {
var retMsg = ChuMeng.GCAutoRegisterAccount.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushPlayerToilState(ByteString buf) {
var retMsg = ChuMeng.GCPushPlayerToilState.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCCreateCharacter(ByteString buf) {
var retMsg = ChuMeng.GCCreateCharacter.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushPlayerResurrect(ByteString buf) {
var retMsg = ChuMeng.GCPushPlayerResurrect.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPlayerMove(ByteString buf) {
var retMsg = ChuMeng.GCPlayerMove.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPlayerCmd(ByteString buf) {
var retMsg = ChuMeng.GCPlayerCmd.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCModifyPlayerName(ByteString buf) {
var retMsg = ChuMeng.GCModifyPlayerName.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSelectCharacter(ByteString buf) {
var retMsg = ChuMeng.CGSelectCharacter.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGPickUpLootReward(ByteString buf) {
var retMsg = ChuMeng.CGPickUpLootReward.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSetProp(ByteString buf) {
var retMsg = ChuMeng.CGSetProp.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushPlayerDressAttributeChanges(ByteString buf) {
var retMsg = ChuMeng.GCPushPlayerDressAttributeChanges.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCLoginAccount(ByteString buf) {
var retMsg = ChuMeng.GCLoginAccount.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCCopyInfo(ByteString buf) {
var retMsg = ChuMeng.GCCopyInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGCopyInfo(ByteString buf) {
var retMsg = ChuMeng.CGCopyInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCCopyReward(ByteString buf) {
var retMsg = ChuMeng.GCCopyReward.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushLevelOpen(ByteString buf) {
var retMsg = ChuMeng.GCPushLevelOpen.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCListUserEquip(ByteString buf) {
var retMsg = ChuMeng.GCListUserEquip.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCCheckout4Storage(ByteString buf) {
var retMsg = ChuMeng.GCCheckout4Storage.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCSellUserProps(ByteString buf) {
var retMsg = ChuMeng.GCSellUserProps.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushGoodsCountChange(ByteString buf) {
var retMsg = ChuMeng.GCPushGoodsCountChange.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSellUserProps(ByteString buf) {
var retMsg = ChuMeng.CGSellUserProps.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushPackInfo(ByteString buf) {
var retMsg = ChuMeng.GCPushPackInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGAutoAdjustPack(ByteString buf) {
var retMsg = ChuMeng.CGAutoAdjustPack.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSplitUserProps(ByteString buf) {
var retMsg = ChuMeng.CGSplitUserProps.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCLoadShortcutsInfo(ByteString buf) {
var retMsg = ChuMeng.GCLoadShortcutsInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCUserDressEquip(ByteString buf) {
var retMsg = ChuMeng.GCUserDressEquip.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSwapShortcuts(ByteString buf) {
var retMsg = ChuMeng.CGSwapShortcuts.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCUnbindingGoods(ByteString buf) {
var retMsg = ChuMeng.GCUnbindingGoods.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGUseUserProps(ByteString buf) {
var retMsg = ChuMeng.CGUseUserProps.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGUnbindingGoods(ByteString buf) {
var retMsg = ChuMeng.CGUnbindingGoods.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushEquipDataUpdate(ByteString buf) {
var retMsg = ChuMeng.GCPushEquipDataUpdate.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushPlayerDressInfo(ByteString buf) {
var retMsg = ChuMeng.GCPushPlayerDressInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGLoadShortcutsInfo(ByteString buf) {
var retMsg = ChuMeng.CGLoadShortcutsInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCModifyShortcutsInfo(ByteString buf) {
var retMsg = ChuMeng.GCModifyShortcutsInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCDressCloth(ByteString buf) {
var retMsg = ChuMeng.GCDressCloth.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGPut2Storage(ByteString buf) {
var retMsg = ChuMeng.CGPut2Storage.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGCheckout4Storage(ByteString buf) {
var retMsg = ChuMeng.CGCheckout4Storage.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCTakeOffCloth(ByteString buf) {
var retMsg = ChuMeng.GCTakeOffCloth.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGLevelUpEquip(ByteString buf) {
var retMsg = ChuMeng.CGLevelUpEquip.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCMergeUserProps(ByteString buf) {
var retMsg = ChuMeng.GCMergeUserProps.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCUseUserProps(ByteString buf) {
var retMsg = ChuMeng.GCUseUserProps.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGModifyShortcutsInfo(ByteString buf) {
var retMsg = ChuMeng.CGModifyShortcutsInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGListUserEquip(ByteString buf) {
var retMsg = ChuMeng.CGListUserEquip.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGLoadPackInfo(ByteString buf) {
var retMsg = ChuMeng.CGLoadPackInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGDressCloth(ByteString buf) {
var retMsg = ChuMeng.CGDressCloth.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPut2Storage(ByteString buf) {
var retMsg = ChuMeng.GCPut2Storage.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCSplitUserProps(ByteString buf) {
var retMsg = ChuMeng.GCSplitUserProps.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGQueryUserEquipInfo(ByteString buf) {
var retMsg = ChuMeng.CGQueryUserEquipInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCSwapShortcuts(ByteString buf) {
var retMsg = ChuMeng.GCSwapShortcuts.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCLoadPackInfo(ByteString buf) {
var retMsg = ChuMeng.GCLoadPackInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGUserDressEquip(ByteString buf) {
var retMsg = ChuMeng.CGUserDressEquip.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCAutoAdjustPack(ByteString buf) {
var retMsg = ChuMeng.GCAutoAdjustPack.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushShortcutsInfo(ByteString buf) {
var retMsg = ChuMeng.GCPushShortcutsInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushPlayerDressedEquipChange(ByteString buf) {
var retMsg = ChuMeng.GCPushPlayerDressedEquipChange.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGTakeOffCloth(ByteString buf) {
var retMsg = ChuMeng.CGTakeOffCloth.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCQueryUserEquipInfo(ByteString buf) {
var retMsg = ChuMeng.GCQueryUserEquipInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGLevelUpGem(ByteString buf) {
var retMsg = ChuMeng.CGLevelUpGem.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGMergeUserProps(ByteString buf) {
var retMsg = ChuMeng.CGMergeUserProps.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGResetSkillPoint(ByteString buf) {
var retMsg = ChuMeng.CGResetSkillPoint.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSkillLevelUp(ByteString buf) {
var retMsg = ChuMeng.CGSkillLevelUp.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGInjectPropsLevelUp(ByteString buf) {
var retMsg = ChuMeng.CGInjectPropsLevelUp.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGLoadInjectPropsLevelUpInfo(ByteString buf) {
var retMsg = ChuMeng.CGLoadInjectPropsLevelUpInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushMemberSkillCD(ByteString buf) {
var retMsg = ChuMeng.GCPushMemberSkillCD.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGLoadSkillPanel(ByteString buf) {
var retMsg = ChuMeng.CGLoadSkillPanel.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSkillLevelDown(ByteString buf) {
var retMsg = ChuMeng.CGSkillLevelDown.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCInjectPropsLevelUp(ByteString buf) {
var retMsg = ChuMeng.GCInjectPropsLevelUp.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCLoadSkillPanel(ByteString buf) {
var retMsg = ChuMeng.GCLoadSkillPanel.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushActivateSkill(ByteString buf) {
var retMsg = ChuMeng.GCPushActivateSkill.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushUnitAddBuffer(ByteString buf) {
var retMsg = ChuMeng.GCPushUnitAddBuffer.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCLoadInjectPropsLevelUpInfo(ByteString buf) {
var retMsg = ChuMeng.GCLoadInjectPropsLevelUpInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCResetSkillPoint(ByteString buf) {
var retMsg = ChuMeng.GCResetSkillPoint.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushSkillPoint(ByteString buf) {
var retMsg = ChuMeng.GCPushSkillPoint.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCSkillLevelUp(ByteString buf) {
var retMsg = ChuMeng.GCSkillLevelUp.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCSkillLevelDown(ByteString buf) {
var retMsg = ChuMeng.GCSkillLevelDown.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGSendChat(ByteString buf) {
var retMsg = ChuMeng.CGSendChat.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGLoadMChatShowInfo(ByteString buf) {
var retMsg = ChuMeng.CGLoadMChatShowInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCViewChatGoods(ByteString buf) {
var retMsg = ChuMeng.GCViewChatGoods.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCLoadMChatShowInfo(ByteString buf) {
var retMsg = ChuMeng.GCLoadMChatShowInfo.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushChat2Client(ByteString buf) {
var retMsg = ChuMeng.GCPushChat2Client.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCSendChat(ByteString buf) {
var retMsg = ChuMeng.GCSendChat.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushSendNotice(ByteString buf) {
var retMsg = ChuMeng.GCPushSendNotice.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetGCPushNotice(ByteString buf) {
var retMsg = ChuMeng.GCPushNotice.ParseFrom(buf);
return retMsg;
}
static IMessageLite GetCGViewChatGoods(ByteString buf) {
var retMsg = ChuMeng.CGViewChatGoods.ParseFrom(buf);
return retMsg;
}
static Dictionary<string, MsgDelegate> msgMap = new Dictionary<string, MsgDelegate>(){
{"GCGetKeyValue", GetGCGetKeyValue},
{"GCListBranchinges", GetGCListBranchinges},
{"CGLoginAccount", GetCGLoginAccount},
{"CGGetKeyValue", GetCGGetKeyValue},
{"GCPushFightModeChangeWithMap", GetGCPushFightModeChangeWithMap},
{"GCPickUpLootReward", GetGCPickUpLootReward},
{"GCSaveGuideStep", GetGCSaveGuideStep},
{"CGForgotPassword", GetCGForgotPassword},
{"CGPropsRevive", GetCGPropsRevive},
{"CGChangeScreen4Point", GetCGChangeScreen4Point},
{"CGChangeFightMode", GetCGChangeFightMode},
{"GCBindingSession", GetGCBindingSession},
{"CGGetCharacterInfo", GetCGGetCharacterInfo},
{"GCPushAttribute2Members", GetGCPushAttribute2Members},
{"CGRegisterAccount", GetCGRegisterAccount},
{"CGSetKeyValue", GetCGSetKeyValue},
{"GCPushPlayerModifyName", GetGCPushPlayerModifyName},
{"GCGetCharacterInfo", GetGCGetCharacterInfo},
{"GCPushAttrChange", GetGCPushAttrChange},
{"GCSelectCharacter", GetGCSelectCharacter},
{"CGListBranchinges", GetCGListBranchinges},
{"CGAutoRegisterAccount", GetCGAutoRegisterAccount},
{"CGModifyPassword", GetCGModifyPassword},
{"GCPushNotice2Kick", GetGCPushNotice2Kick},
{"GCPushLevelUpgrade", GetGCPushLevelUpgrade},
{"CGHeartBeat", GetCGHeartBeat},
{"CGPlayerCmd", GetCGPlayerCmd},
{"GCPushLootReward", GetGCPushLootReward},
{"CGBindingSession", GetCGBindingSession},
{"GCPropsRevive", GetGCPropsRevive},
{"GCChangeFightMode", GetGCChangeFightMode},
{"CGModifyPlayerName", GetCGModifyPlayerName},
{"CGCreateCharacter", GetCGCreateCharacter},
{"GCModifyPassword", GetGCModifyPassword},
{"GCPushLevel", GetGCPushLevel},
{"GCEnterScene", GetGCEnterScene},
{"GCPushNotify", GetGCPushNotify},
{"GCPushLootRewardRemove", GetGCPushLootRewardRemove},
{"GCForgotPassword", GetGCForgotPassword},
{"CGPickItem", GetCGPickItem},
{"GCPushExpChange", GetGCPushExpChange},
{"CGPlayerMove", GetCGPlayerMove},
{"GCPushPlayerPower", GetGCPushPlayerPower},
{"CGDelCharacter", GetCGDelCharacter},
{"CGSaveGuideStep", GetCGSaveGuideStep},
{"GCSettingClothShow", GetGCSettingClothShow},
{"CGAddProp", GetCGAddProp},
{"GCRegisterAccount", GetGCRegisterAccount},
{"GCChangeScreen4Point", GetGCChangeScreen4Point},
{"CGEnterScene", GetCGEnterScene},
{"CGSettingClothShow", GetCGSettingClothShow},
{"GCDelCharacter", GetGCDelCharacter},
{"GCAutoRegisterAccount", GetGCAutoRegisterAccount},
{"GCPushPlayerToilState", GetGCPushPlayerToilState},
{"GCCreateCharacter", GetGCCreateCharacter},
{"GCPushPlayerResurrect", GetGCPushPlayerResurrect},
{"GCPlayerMove", GetGCPlayerMove},
{"GCPlayerCmd", GetGCPlayerCmd},
{"GCModifyPlayerName", GetGCModifyPlayerName},
{"CGSelectCharacter", GetCGSelectCharacter},
{"CGPickUpLootReward", GetCGPickUpLootReward},
{"CGSetProp", GetCGSetProp},
{"GCPushPlayerDressAttributeChanges", GetGCPushPlayerDressAttributeChanges},
{"GCLoginAccount", GetGCLoginAccount},
{"GCCopyInfo", GetGCCopyInfo},
{"CGCopyInfo", GetCGCopyInfo},
{"GCCopyReward", GetGCCopyReward},
{"GCPushLevelOpen", GetGCPushLevelOpen},
{"GCListUserEquip", GetGCListUserEquip},
{"GCCheckout4Storage", GetGCCheckout4Storage},
{"GCSellUserProps", GetGCSellUserProps},
{"GCPushGoodsCountChange", GetGCPushGoodsCountChange},
{"CGSellUserProps", GetCGSellUserProps},
{"GCPushPackInfo", GetGCPushPackInfo},
{"CGAutoAdjustPack", GetCGAutoAdjustPack},
{"CGSplitUserProps", GetCGSplitUserProps},
{"GCLoadShortcutsInfo", GetGCLoadShortcutsInfo},
{"GCUserDressEquip", GetGCUserDressEquip},
{"CGSwapShortcuts", GetCGSwapShortcuts},
{"GCUnbindingGoods", GetGCUnbindingGoods},
{"CGUseUserProps", GetCGUseUserProps},
{"CGUnbindingGoods", GetCGUnbindingGoods},
{"GCPushEquipDataUpdate", GetGCPushEquipDataUpdate},
{"GCPushPlayerDressInfo", GetGCPushPlayerDressInfo},
{"CGLoadShortcutsInfo", GetCGLoadShortcutsInfo},
{"GCModifyShortcutsInfo", GetGCModifyShortcutsInfo},
{"GCDressCloth", GetGCDressCloth},
{"CGPut2Storage", GetCGPut2Storage},
{"CGCheckout4Storage", GetCGCheckout4Storage},
{"GCTakeOffCloth", GetGCTakeOffCloth},
{"CGLevelUpEquip", GetCGLevelUpEquip},
{"GCMergeUserProps", GetGCMergeUserProps},
{"GCUseUserProps", GetGCUseUserProps},
{"CGModifyShortcutsInfo", GetCGModifyShortcutsInfo},
{"CGListUserEquip", GetCGListUserEquip},
{"CGLoadPackInfo", GetCGLoadPackInfo},
{"CGDressCloth", GetCGDressCloth},
{"GCPut2Storage", GetGCPut2Storage},
{"GCSplitUserProps", GetGCSplitUserProps},
{"CGQueryUserEquipInfo", GetCGQueryUserEquipInfo},
{"GCSwapShortcuts", GetGCSwapShortcuts},
{"GCLoadPackInfo", GetGCLoadPackInfo},
{"CGUserDressEquip", GetCGUserDressEquip},
{"GCAutoAdjustPack", GetGCAutoAdjustPack},
{"GCPushShortcutsInfo", GetGCPushShortcutsInfo},
{"GCPushPlayerDressedEquipChange", GetGCPushPlayerDressedEquipChange},
{"CGTakeOffCloth", GetCGTakeOffCloth},
{"GCQueryUserEquipInfo", GetGCQueryUserEquipInfo},
{"CGLevelUpGem", GetCGLevelUpGem},
{"CGMergeUserProps", GetCGMergeUserProps},
{"CGResetSkillPoint", GetCGResetSkillPoint},
{"CGSkillLevelUp", GetCGSkillLevelUp},
{"CGInjectPropsLevelUp", GetCGInjectPropsLevelUp},
{"CGLoadInjectPropsLevelUpInfo", GetCGLoadInjectPropsLevelUpInfo},
{"GCPushMemberSkillCD", GetGCPushMemberSkillCD},
{"CGLoadSkillPanel", GetCGLoadSkillPanel},
{"CGSkillLevelDown", GetCGSkillLevelDown},
{"GCInjectPropsLevelUp", GetGCInjectPropsLevelUp},
{"GCLoadSkillPanel", GetGCLoadSkillPanel},
{"GCPushActivateSkill", GetGCPushActivateSkill},
{"GCPushUnitAddBuffer", GetGCPushUnitAddBuffer},
{"GCLoadInjectPropsLevelUpInfo", GetGCLoadInjectPropsLevelUpInfo},
{"GCResetSkillPoint", GetGCResetSkillPoint},
{"GCPushSkillPoint", GetGCPushSkillPoint},
{"GCSkillLevelUp", GetGCSkillLevelUp},
{"GCSkillLevelDown", GetGCSkillLevelDown},
{"CGSendChat", GetCGSendChat},
{"CGLoadMChatShowInfo", GetCGLoadMChatShowInfo},
{"GCViewChatGoods", GetGCViewChatGoods},
{"GCLoadMChatShowInfo", GetGCLoadMChatShowInfo},
{"GCPushChat2Client", GetGCPushChat2Client},
{"GCSendChat", GetGCSendChat},
{"GCPushSendNotice", GetGCPushSendNotice},
{"GCPushNotice", GetGCPushNotice},
{"CGViewChatGoods", GetCGViewChatGoods},
};
public static IMessageLite GetMsg(int moduleId, int messageId, ByteString buf) {
var module = SaveGame.saveGame.getModuleName(moduleId);
var msg = SaveGame.saveGame.getMethodName(module, messageId);
Debug.LogWarning ("modulename "+module+" "+msg);
return msgMap[msg](buf);
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/liyonghelpme/protobufferUnity.git
git@gitee.com:liyonghelpme/protobufferUnity.git
liyonghelpme
protobufferUnity
protobufferUnity
master

搜索帮助