@@ -50,14 +50,24 @@ public static void SetPlayerName(string name)
5050            Interop . uwSetPlayerName ( name ) ; 
5151        } 
5252
53-         public  static   void  SetPlayerColor ( float   r ,   float   g ,   float   b )   // [0 .. 1] 
53+         public  static   void  PlayerJoinForce ( uint   forceId ) 
5454        { 
55-             Interop . uwSetPlayerColor ( r ,   g ,   b ) ; 
55+             Interop . uwPlayerJoinForce ( forceId ) ; 
5656        } 
5757
58-         public  static   void  SetPlayerRace ( uint   raceProto ) 
58+         public  static   void  SetForceColor ( float   r ,   float   g ,   float   b )   // [0 .. 1] 
5959        { 
60-             Interop . uwSetPlayerRace ( raceProto ) ; 
60+             Interop . uwSetForceColor ( r ,  g ,  b ) ; 
61+         } 
62+ 
63+         public  static   void  SetForceRace ( uint  raceProto ) 
64+         { 
65+             Interop . uwSetForceRace ( raceProto ) ; 
66+         } 
67+ 
68+         public  static   void  ForceJoinTeam ( uint  team ) 
69+         { 
70+             Interop . uwForceJoinTeam ( team ) ; 
6171        } 
6272
6373        public  static   void  SetConnectStartGui ( bool  startGui ,  string  extraParams  =  "--observer 1" ) 
@@ -129,6 +139,21 @@ public static Interop.UwPerformanceStatistics PerformanceStatistics()
129139            return  data ; 
130140        } 
131141
142+         public  static   void  PerformanceProfiling ( bool  enable ) 
143+         { 
144+             Interop . uwPerformanceProfiling ( enable ) ; 
145+         } 
146+ 
147+         public  static   ulong  ProfilingEventBegin ( ) 
148+         { 
149+             return  Interop . uwProfilingEventBegin ( ) ; 
150+         } 
151+ 
152+         public  static   void  ProfilingEventEnd ( string  name ,  ulong  eventStartTime ) 
153+         { 
154+             Interop . uwProfilingEventEnd ( name ,  eventStartTime ) ; 
155+         } 
156+ 
132157        static   readonly  Interop . UwExceptionCallbackType  ExceptionDelegate  =  new  Interop . UwExceptionCallbackType ( ExceptionCallback ) ; 
133158        static   readonly  Interop . UwConnectionStateCallbackType  ConnectionStateDelegate  =  new  Interop . UwConnectionStateCallbackType ( ConnectionStateCallback ) ; 
134159        static   readonly  Interop . UwGameStateCallbackType  GameStateDelegate  =  new  Interop . UwGameStateCallbackType ( GameStateCallback ) ; 
0 commit comments