帧数据函数

This commit is contained in:
huyulong 2024-12-28 15:57:12 +08:00
parent c3fc4b7c0b
commit 7f0dca55bb

View File

@ -113,28 +113,28 @@ public class test : MonoBehaviour
} }
} }
//煉닸뇨꾸鱗渴흙 //煉닸뇨꾸鱗渴흙
//void UpFps() void UpFps()
//{ {
// InputData data = new InputData(); InputData data = new InputData();
// data.RoomId = "168888"; data.RoomId = "168888";
// data.Id = "778899"; data.Id = "778899";
// data.SId = "7"; data.SId = "7";
// data.X = 7f; data.X = 7f;
// data.Y = 5f; data.Y = 5f;
// data.Z = 4f; data.Z = 4f;
// data.RoomSeatId = 5; data.RoomSeatId = 5;
// WSMessage msg = new WSMessage(); WSMessage msg = new WSMessage();
// msg.Module = "fps"; msg.Module = "fps";
// msg.ServiceName = "UpFps"; msg.ServiceName = "UpFps";
// msg.Data = ByteString.CopyFrom(ProtoBufffer.Serialize(data)); msg.Data = ByteString.CopyFrom(ProtoBufffer.Serialize(data));
// byte[] sendData = ProtoBufffer.Serialize(msg); byte[] sendData = ProtoBufffer.Serialize(msg);
// WSMessage deinfo = ProtoBufffer.DeSerialize<WSMessage>(sendData); WSMessage deinfo = ProtoBufffer.DeSerialize<WSMessage>(sendData);
// InputData login = ProtoBufffer.DeSerialize<InputData>(deinfo.Data.ToByteArray()); InputData login = ProtoBufffer.DeSerialize<InputData>(deinfo.Data.ToByteArray());
// Debug.Log("Ö¡´æ´¢²Ù×÷ÊäÈë"); Debug.Log("Ö¡´æ´¢²Ù×÷ÊäÈë");
// //BroadcastFrameMsg.FramesFieldNumber //BroadcastFrameMsg.FramesFieldNumber
// wEBScriptListener.SendMessageByte(sendData); wEBScriptListener.SendMessageByte(sendData);
//} }
//歌혤돛야 //歌혤돛야
void PickUpProp() void PickUpProp()