public static object GetSegmentsForNodeId(object msg) { return(NetUtil.GetSegmentsFromNode((ushort)(uint)msg).Select((seg) => NetLogic.PrepareSegment(seg)).ToList()); }
public static object CreateSegments(object msg) { return(NetLogic.CreateSegments((CreateSegmentMessage)msg)); }
public static object GetSegmentFromId(object msg) { return(NetLogic.PrepareSegment((ushort)((uint)msg))); }
public static object GetNetPrefabFromName(object msg) { return(NetLogic.PrepareNetInfo((string)msg)); }
public static object GetNodeFromId(object msg) { return(NetLogic.PrepareNode((ushort)((uint)msg))); }