Esempio n. 1
0
 public static void ModNetSystemOnGameSessionStart2(string mpd)
 {
     if (mpd != "")
     {
         MPModPrivateDataTransfer.OnReceived(mpd);
     }
 }
Esempio n. 2
0
 private static void OnModPrivateData(NetworkMessage msg)
 {
     /*
      * MPModPrivateDataMessage mpdm = msg.ReadMessage<MPModPrivateDataMessage>();
      * MPModPrivateData.MatchMode = mpdm.MatchMode;
      * MPModPrivateData.JIPEnabled = mpdm.JIPEnabled;
      * MPModPrivateData.RearViewEnabled = mpdm.RearViewEnabled;
      * MPModPrivateData.TeamCount = mpdm.TeamCount;
      * MPModPrivateData.LapLimit = mpdm.LapLimit;
      */
     MPModPrivateDataTransfer.OnReceived(msg.ReadMessage <StringMessage>().value);
 }