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