48 lines
1.7 KiB
C#
48 lines
1.7 KiB
C#
using ProtoBuf;
|
||
using Thousandto.Plugins.Common;
|
||
using Thousandto.Code.Center;
|
||
using Thousandto.Core.Asset;
|
||
|
||
namespace Thousandto.Code.Logic.Network
|
||
{
|
||
|
||
/// <summary>
|
||
/// 实现消息的回调方法
|
||
/// </summary>
|
||
public partial class HandleMsgResult : IHandleMsgResult
|
||
{
|
||
public void GS2U_ResGodWeaponInit( MSG_GodWeapon.ResGodWeaponInit result ){}
|
||
public void GS2U_ResGodWeaponLevelUp( MSG_GodWeapon.ResGodWeaponLevelUp result ){}
|
||
public void GS2U_ResGodWeaponQualityUp( MSG_GodWeapon.ResGodWeaponQualityUp result ){}
|
||
public void GS2U_ResGodWeaponEquipPartOrActive( MSG_GodWeapon.ResGodWeaponEquipPartOrActive result ){ }
|
||
public void GS2U_ResSceneGodWeaponEquipPart(MSG_GodWeapon.ResSceneGodWeaponEquipPart result)
|
||
{
|
||
////更新模型,1是头,2是身,3是特效
|
||
//if (result.part == 1)
|
||
//{
|
||
// var player = GameCenter.GameSceneSystem.FindEntity<Player>(result.playerid);
|
||
// if (player != null)
|
||
// {
|
||
// player.WeaponHeadModelID = result.modelId;
|
||
// }
|
||
//} else if (result.part == 2)
|
||
//{
|
||
// var player = GameCenter.GameSceneSystem.FindEntity<Player>(result.playerid);
|
||
// if (player != null)
|
||
// {
|
||
// player.WeaponBodyModelID = result.modelId;
|
||
// }
|
||
//}
|
||
//else if (result.part == 3)
|
||
//{
|
||
// var player = GameCenter.GameSceneSystem.FindEntity<Player>(result.playerid);
|
||
// if (player != null)
|
||
// {
|
||
// player.WeaponVFXModelID = result.modelId;
|
||
// }
|
||
//}
|
||
}
|
||
|
||
}
|
||
}
|