public static Hashtable MNBuddyRoomParamsToDictionary(MNBuddyRoomParams srcObject)
        {
            Hashtable result = new Hashtable(5);

              result["GameSetId"] = srcObject.GameSetId;
              result["InviteText"] = srcObject.InviteText;
              result["RoomName"] = srcObject.RoomName;
              result["ToUserIdList"] = srcObject.ToUserIdList;
              result["ToUserSFIdList"] = srcObject.ToUserSFIdList;

              return result;
        }
        public static MNBuddyRoomParams MNBuddyRoomParamsFromDictionary(IDictionary deserializedObject)
        {
            if (deserializedObject == null) {
            return null;
              }

              MNBuddyRoomParams typedResult = new MNBuddyRoomParams();

              typedResult.GameSetId = Convert.ToInt32(deserializedObject["GameSetId"]); //GameSetId is int, not int?
              typedResult.InviteText = (string)deserializedObject["InviteText"];
              typedResult.RoomName = (string)deserializedObject["RoomName"];
              typedResult.ToUserIdList = (string)deserializedObject["ToUserIdList"];
              typedResult.ToUserSFIdList = (string)deserializedObject["ToUserSFIdList"];

              return typedResult;
        }
 public void ReqCreateBuddyRoom(MNBuddyRoomParams buddyRoomParams)
 {
 }
        public void ReqCreateBuddyRoom(MNBuddyRoomParams buddyRoomParams)
        {
            MNTools.DLog("MNSession:ReqCreateBuddyRoom");

              if (Application.platform == RuntimePlatform.Android) {
            MNSessionUnityClass.CallStatic("reqCreateBuddyRoom",MNUnityCommunicator.Serializer.Serialize(buddyRoomParams));
              }
              else {
              }
        }
        public void ReqCreateBuddyRoom(MNBuddyRoomParams buddyRoomParams)
        {
            MNTools.DLog("MNSession:ReqCreateBuddyRoom");

              if (Application.platform == RuntimePlatform.IPhonePlayer) {
            _MNSession_ReqCreateBuddyRoom(MNUnityCommunicator.Serializer.Serialize(buddyRoomParams));
              }
              else {
              }
        }