public void PostRobotScore(MNUserInfo userInfo, long score)
        {
            MNTools.DLog("MNClientRobotsProvider:PostRobotScore");

              if (Application.platform == RuntimePlatform.IPhonePlayer) {
            _MNClientRobotsProvider_PostRobotScore(MNUnityCommunicator.Serializer.Serialize(userInfo), score);
              }
              else {
              }
        }
        public bool IsRobot(MNUserInfo userInfo)
        {
            MNTools.DLog("MNClientRobotsProvider:IsRobot");

              if (Application.platform == RuntimePlatform.IPhonePlayer) {
            return _MNClientRobotsProvider_IsRobot(MNUnityCommunicator.Serializer.Serialize(userInfo));
              }
              else {
            return default(bool);
              }
        }
        public static Hashtable MNUserInfoToDictionary(MNUserInfo srcObject)
        {
            Hashtable result = new Hashtable(3);

              result["UserId"] = srcObject.UserId;
              result["UserName"] = srcObject.UserName;
              result["UserSFId"] = srcObject.UserSFId;

              return result;
        }
        public MNUserInfo[] GetPlayerList()
        {
            MNTools.DLog("MNPlayerListProvider:GetPlayerList");

              if (Application.platform == RuntimePlatform.Android) {
            List<object> deserializedArray = MNUnityCommunicator.Serializer.DeserializeArray(
              MNPlayerListProviderUnityClass.CallStatic<string>("getPlayerList"),
              typeof(MNUserInfo));

            MNUserInfo[] resultArray = new MNUserInfo[deserializedArray.Count];

            for (int index = 0;index < deserializedArray.Count;index++) {
              resultArray[index] = (MNUserInfo)(deserializedArray[index]);
            }

            return resultArray;
              }
              else {
            return new MNUserInfo[0];
              }
        }
        public MNUserInfo[] GetRoomUserList()
        {
            MNTools.DLog("MNSession:GetRoomUserList");

              if (Application.platform == RuntimePlatform.IPhonePlayer) {
            List<object> deserializedArray = MNUnityCommunicator.Serializer.DeserializeArray(
              _MNSession_GetRoomUserList(),
              typeof(MNUserInfo));

            MNUserInfo[] resultArray = new MNUserInfo[deserializedArray.Count];

            for (int index = 0;index < deserializedArray.Count;index++) {
              resultArray[index] = (MNUserInfo)(deserializedArray[index]);
            }

            return resultArray;
              }
              else {
            return new MNUserInfo[0];
              }
        }
        public bool IsRobot(MNUserInfo userInfo)
        {
            MNTools.DLog("MNClientRobotsProvider:IsRobot");

              if (Application.platform == RuntimePlatform.Android) {
            return MNClientRobotsProviderUnityClass.CallStatic<bool>("isRobot",MNUnityCommunicator.Serializer.Serialize(userInfo));
              }
              else {
            return default(bool);
              }
        }
 public void PostRobotScore(MNUserInfo userInfo, long score)
 {
 }
 public bool IsRobot(MNUserInfo userInfo)
 {
     return default(bool);
 }
        public void PostRobotScore(MNUserInfo userInfo, long score)
        {
            MNTools.DLog("MNClientRobotsProvider:PostRobotScore");

              if (Application.platform == RuntimePlatform.Android) {
            MNClientRobotsProviderUnityClass.CallStatic("postRobotScore",MNUnityCommunicator.Serializer.Serialize(userInfo), score);
              }
              else {
              }
        }
        public static MNUserInfo MNUserInfoFromDictionary(IDictionary deserializedObject)
        {
            if (deserializedObject == null) {
            return null;
              }

              MNUserInfo typedResult = new MNUserInfo();

              typedResult.UserId = Convert.ToInt64(deserializedObject["UserId"]);
              typedResult.UserName = (string)deserializedObject["UserName"];
              typedResult.UserSFId = Convert.ToInt32(deserializedObject["UserSFId"]);
              typedResult.UserAvatarUrl = (string)deserializedObject["UserAvatarUrl"];

              return typedResult;
        }