Files
JJBB/Assets/Project/Script/GameLogic/NetWork/PacketHandler/GC_WATCHUSERGUIDHandler.cs
2024-08-23 15:49:34 +08:00

24 lines
629 B
C#

//This code create by CodeEngine
using System;
using Module.Log;
using Google.ProtocolBuffers;
using System.Collections;
namespace SPacket.SocketInstance
{
public class GC_WATCHUSERGUIDHandler : Ipacket
{
public uint Execute(PacketDistributed ipacket)
{
GC_WATCHUSERGUID packet = (GC_WATCHUSERGUID )ipacket;
if (null == packet) return (uint)PACKET_EXE.PACKET_EXE_ERROR;
//enter your logic
if (Games.Scene.SceneLogic.CameraController != null)
Games.Scene.SceneLogic.CameraController.ChangeFocusId(packet.Guid);
return (uint)PACKET_EXE.PACKET_EXE_CONTINUE;
}
}
}