Example #1
0
 public static object GetSegmentsForNodeId(object msg)
 {
     return(NetUtil.GetSegmentsFromNode((ushort)(uint)msg).Select((seg) => NetLogic.PrepareSegment(seg)).ToList());
 }
Example #2
0
 public static object CreateSegments(object msg)
 {
     return(NetLogic.CreateSegments((CreateSegmentMessage)msg));
 }
Example #3
0
 public static object GetSegmentFromId(object msg)
 {
     return(NetLogic.PrepareSegment((ushort)((uint)msg)));
 }
Example #4
0
 public static object GetNetPrefabFromName(object msg)
 {
     return(NetLogic.PrepareNetInfo((string)msg));
 }
Example #5
0
 public static object GetNodeFromId(object msg)
 {
     return(NetLogic.PrepareNode((ushort)((uint)msg)));
 }