1234567891011121314151617181920212223242526 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using Unity.Networking.Transport;
- namespace KairoEngine.Multiplayer
- {
- public class NetChatMsg : NetMsg
- {
- public override uint code { get { return (uint)NetOpCode.ChatMessage; }}
- public NetChatMsg()
- {
-
- }
- public override void Serialize(ref DataStreamWriter writer)
- {
- writer.WriteByte((byte)code);
- }
- public override void Deserialize(ref DataStreamReader reader)
- {
-
- }
- }
- }
|