Example #1
0
 public static void SendGroupListRequest()
 {
     SystemBase.TaskFactory.StartNew(() => NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <GroupCliMsg, GroupListRequestMsgData>()));
 }
Example #2
0
 public static void SendPlayersRequest()
 {
     SystemBase.TaskFactory.StartNew(() => NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <PlayerStatusCliMsg, PlayerStatusRequestMsgData>()));
 }
Example #3
0
 public static void SendScenariosRequest()
 {
     SystemBase.TaskFactory.StartNew(() => NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <ScenarioCliMsg, ScenarioRequestMsgData>()));
 }
Example #4
0
 public static void SendAdminsRequest()
 {
     NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <AdminCliMsg>(new AdminListRequestMsgData()));
 }
Example #5
0
 public static void SendWarpSubspacesRequest()
 {
     SystemBase.TaskFactory.StartNew(() => NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <WarpCliMsg, WarpSubspacesRequestMsgData>()));
 }
Example #6
0
 public static void SendChatRequest()
 {
     NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <ChatCliMsg>(new ChatListRequestMsgData {
         From = SettingsSystem.CurrentSettings.PlayerName
     }));
 }
Example #7
0
 public static void SendLocksRequest()
 {
     NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <LockCliMsg>(new LockListRequestMsgData()));
 }
Example #8
0
 public static void SendPlayersRequest()
 {
     NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <PlayerStatusCliMsg>(new PlayerStatusRequestMsgData()));
 }
Example #9
0
 public static void SendScenariosRequest()
 {
     NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <ScenarioCliMsg>(new ScenarioRequestMsgData()));
 }
Example #10
0
 public static void SendVesselListRequest()
 {
     NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <VesselCliMsg>(new VesselListRequestMsgData()));
 }
Example #11
0
 public static void SendWarpSubspacesRequest()
 {
     NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <WarpCliMsg>(new WarpSubspacesRequestMsgData()));
 }
Example #12
0
 public static void SendKerbalsRequest()
 {
     NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <KerbalCliMsg>(new KerbalsRequestMsgData()));
 }
Example #13
0
 public static void SendMotdRequest()
 {
     NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <MotdCliMsg>(new MotdRequestMsgData()));
 }
Example #14
0
 public static void SendAdminsRequest()
 {
     SystemBase.TaskFactory.StartNew(() => NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <AdminCliMsg>(new AdminListRequestMsgData())));
 }
Example #15
0
 public static void SendCraftLibraryRequest()
 {
     SystemBase.TaskFactory.StartNew(() => NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <CraftLibraryCliMsg>(new CraftLibraryListRequestMsgData {
         PlayerName = SettingsSystem.CurrentSettings.PlayerName
     })));
 }
Example #16
0
 public static void SendColorsRequest()
 {
     SystemBase.TaskFactory.StartNew(() => NetworkSender.QueueOutgoingMessage(NetworkMain.CliMsgFactory.CreateNew <PlayerColorCliMsg>(new PlayerColorRequestMsgData())));
 }