コード例 #1
0
 public unsafe static IntPtr HandleMessage(SimMessageHashes sim_msg_id, int msg_length, byte[] msg)
 {
     //IL_0017: Incompatible stack types: I vs Ref
     fixed(byte *msg2 = &((msg != null && msg.Length != 0) ? ref msg[0] : ref *(byte *)null))
     {
         return(SIM_HandleMessage((int)sim_msg_id, msg_length, msg2));
     }
 }
コード例 #2
0
 private static bool Prefix(SimMessageHashes sim_msg_id, int msg_length, byte[] msg)
 {
     SimMessages_Utils.Log(MethodBase.GetCurrentMethod(),
                           sim_msg_id, msg_length, msg);
     return(true);
 }