//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; } } }