Beispiel #1
0
        private void EGMI_ACK_PROPERTY_VECTOR3(NFMsg.MsgBase xMsg)
        {
            NFMsg.ObjectPropertyVector3 xData = new NFMsg.ObjectPropertyVector3();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.ObjectPropertyVector3)) as NFMsg.ObjectPropertyVector3;

            NFIObject go = NFCKernelModule.Instance.GetObject(NFNetController.PBToNF(xData.player_id));

            if (go == null)
            {
                return;
            }

            for (int i = 0; i < xData.property_list.Count; i++)
            {
                NFIPropertyManager propertyManager = go.GetPropertyManager();
                NFIProperty        property        = propertyManager.GetProperty(System.Text.Encoding.Default.GetString(xData.property_list[i].property_name));
                if (null == property)
                {
                    NFDataList varList = new NFDataList();
                    varList.AddVector3(new NFVector3());

                    property = propertyManager.AddProperty(System.Text.Encoding.Default.GetString(xData.property_list[i].property_name), varList);
                }

                property.SetVector3(NFNetController.PBToNF(xData.property_list[i].data));
            }
        }
Beispiel #2
0
        private void EGMI_ACK_CHAT(NFMsg.MsgBase xMsg)
        {
            NFMsg.ReqAckPlayerChat xData = new NFMsg.ReqAckPlayerChat();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.ReqAckPlayerChat)) as NFMsg.ReqAckPlayerChat;

            mxNetController.aChatMsgList.Add(NFNetController.PBToNF(xData.chat_id).ToString() + ":" + System.Text.Encoding.Default.GetString(xData.chat_info));
        }
Beispiel #3
0
        private void EGMI_ACK_OBJECT_ENTRY(NFMsg.MsgBase xMsg)
        {
            NFMsg.AckPlayerEntryList xData = new NFMsg.AckPlayerEntryList();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.AckPlayerEntryList)) as NFMsg.AckPlayerEntryList;

            for (int i = 0; i < xData.object_list.Count; ++i)
            {
                NFMsg.PlayerEntryInfo xInfo = xData.object_list[i];

                NFVector3 vPos = new NFVector3(xInfo.x, xInfo.y, xInfo.z);

                NFDataList var = new NFDataList();
                var.AddString(NFrame.NPC.Position);
                var.AddVector3(vPos);

                NFGUID xObjectID    = NFNetController.PBToNF(xInfo.object_guid);
                string strClassName = System.Text.Encoding.Default.GetString(xInfo.class_id);
                string strConfigID  = System.Text.Encoding.Default.GetString(xInfo.config_id);

                Debug.Log("new Object enter: " + strClassName + xObjectID.ToString() + " " + xInfo.x + " " + xInfo.y + " " + xInfo.z);

                ObjectDataBuff xDataBuff = new ObjectDataBuff();
                mxObjectDataBuff.Add(xObjectID, xDataBuff);

                /*
                 * NFIObject xGO = NFCKernelModule.Instance.CreateObject(xObjectID, xInfo.scene_id, 0, strClassName, strConfigID, var);
                 * if (null == xGO)
                 * {
                 *      Debug.LogError("ID conflict: " + xObjectID.ToString() + "  ConfigID: " + strClassName);
                 *      continue;
                 * }
                 */
            }
        }
Beispiel #4
0
        private void EGMI_ACK_DATA_FINISHED(NFMsg.MsgBase xMsg)
        {
            NFMsg.AckPlayerEntryList xData = new NFMsg.AckPlayerEntryList();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.AckPlayerEntryList)) as NFMsg.AckPlayerEntryList;

            for (int i = 0; i < xData.object_list.Count; ++i)
            {
                NFMsg.PlayerEntryInfo xInfo = xData.object_list [i];

                NFVector3 vPos = new NFVector3(xInfo.x, xInfo.y, xInfo.z);

                NFDataList var = new NFDataList();
                var.AddString("Position");
                var.AddVector3(vPos);

                NFGUID xObjectID    = NFNetController.PBToNF(xInfo.object_guid);
                string strClassName = System.Text.Encoding.Default.GetString(xInfo.class_id);
                string strConfigID  = System.Text.Encoding.Default.GetString(xInfo.config_id);

                Debug.Log("new " + strClassName + " Object: " + xObjectID.ToString() + " " + xInfo.x + " " + xInfo.y + " " + xInfo.z);

                ObjectDataBuff xDataBuff;
                if (mxObjectDataBuff.TryGetValue(xObjectID, out xDataBuff))
                {
                    NFIObject xGO = NFCKernelModule.Instance.CreateObject(xObjectID, xInfo.scene_id, 0, strClassName, strConfigID, var);
                    if (null == xGO)
                    {
                        Debug.LogError("ID conflict: " + xObjectID.ToString() + "  ConfigID: " + strClassName);
                        continue;
                    }
                }
            }
        }
Beispiel #5
0
        private void EGMI_ACK_OBJECT_RECORD_ENTRY(NFMsg.MsgBase xMsg)
        {
            NFMsg.MultiObjectRecordList xData = new NFMsg.MultiObjectRecordList();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.MultiObjectRecordList)) as NFMsg.MultiObjectRecordList;

            for (int i = 0; i < xData.multi_player_record.Count; i++)
            {
                NFMsg.ObjectRecordList xObjectRecordList = xData.multi_player_record[i];
                NFGUID xObjectID = NFNetController.PBToNF(xObjectRecordList.player_id);

                ObjectDataBuff xDataBuff;
                if (mxObjectDataBuff.TryGetValue(xObjectID, out xDataBuff))
                {
                    xDataBuff.xRecordList = xObjectRecordList;
                }

                /*
                 * for (int j = 0; j < xObjectRecordList.record_list.Count; j++)
                 * {
                 *      NFMsg.ObjectRecordBase xObjectRecordBase = xObjectRecordList.record_list[j];
                 *      string srRecordName = System.Text.Encoding.Default.GetString(xObjectRecordBase.record_name);
                 *      Debug.Log ("EGMI_ACK_OBJECT_RECORD_ENTRY " + xObjectRecordList.player_id.index + "  " + srRecordName + " Data line: " + xObjectRecordBase.row_struct.Count);
                 *
                 *      for (int k = 0; k < xObjectRecordBase.row_struct.Count; ++k )
                 *      {
                 *              NFMsg.RecordAddRowStruct xAddRowStruct = xObjectRecordBase.row_struct[k];
                 *
                 *              ADD_ROW(xObjectID, System.Text.Encoding.Default.GetString(xObjectRecordBase.record_name), xAddRowStruct);
                 *      }
                 * }
                 */
            }
        }
Beispiel #6
0
        private void EGMI_ACK_OBJECT_LEAVE(NFMsg.MsgBase xMsg)
        {
            NFMsg.AckPlayerLeaveList xData = new NFMsg.AckPlayerLeaveList();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.AckPlayerLeaveList)) as NFMsg.AckPlayerLeaveList;

            for (int i = 0; i < xData.object_list.Count; ++i)
            {
                NFCKernelModule.Instance.DestroyObject(NFNetController.PBToNF(xData.object_list[i]));
            }
        }
Beispiel #7
0
        private void EGMI_ACK_SWAP_ROW(NFMsg.MsgBase xMsg)
        {
            NFMsg.ObjectRecordSwap xData = new NFMsg.ObjectRecordSwap();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.ObjectRecordSwap)) as NFMsg.ObjectRecordSwap;

            NFIObject        go            = NFCKernelModule.Instance.GetObject(NFNetController.PBToNF(xData.player_id));
            NFIRecordManager recordManager = go.GetRecordManager();
            NFIRecord        record        = recordManager.GetRecord(System.Text.Encoding.Default.GetString(xData.origin_record_name));

            record.SwapRow(xData.row_origin, xData.row_target);
        }
Beispiel #8
0
        private void EGMI_ACK_ENTER_GAME(NFMsg.MsgBase xMsg)
        {
            mxNetController.mPlayerState = NFNetController.PLAYER_STATE.E_PLAYER_GAMEING;
            NFCSectionManager.Instance.SetGameState(NFCSection.UI_SECTION_STATE.UISS_GAMEING);

            NFMsg.AckEventResult xData = new NFMsg.AckEventResult();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.AckEventResult)) as NFMsg.AckEventResult;

            NFNetController.Instance.xMainRoleID = NFNetController.PBToNF(xData.event_object);
            NFRender.Instance.LoadScene((int)xData.event_code);
        }
Beispiel #9
0
        private void EGMI_ACK_SKILL_OBJECTX(NFMsg.MsgBase xMsg)
        {
            NFMsg.ReqAckUseSkill xData = new NFMsg.ReqAckUseSkill();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.ReqAckUseSkill)) as NFMsg.ReqAckUseSkill;

            NFGUID     xUser       = NFNetController.PBToNF(xData.user);
            GameObject xGameObject = NFRender.Instance.GetObject(xUser);

            if (xGameObject)
            {
            }
        }
Beispiel #10
0
        //////////////////////////////////
        ///
        private void EGMI_ACK_MOVE(NFMsg.MsgBase xMsg)
        {
            NFMsg.ReqAckPlayerMove xData = new NFMsg.ReqAckPlayerMove();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.ReqAckPlayerMove)) as NFMsg.ReqAckPlayerMove;

            if (xData.target_pos.Count <= 0)
            {
                return;
            }

            float fSpeed = NFCKernelModule.Instance.QueryPropertyInt(NFNetController.PBToNF(xData.mover), "MOVE_SPEED") / 10000.0f;
            //NFRender.Instance.MoveTo(PBToNF(xData.mover), new Vector3(xData.target_pos[0].x, xData.target_pos[0].y, xData.target_pos[0].z), fSpeed, true);
        }
Beispiel #11
0
        private void EGMI_ACK_ADD_ROW(NFMsg.MsgBase xMsg)
        {
            NFMsg.ObjectRecordAddRow xData = new NFMsg.ObjectRecordAddRow();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.ObjectRecordAddRow)) as NFMsg.ObjectRecordAddRow;

            NFIObject        go            = NFCKernelModule.Instance.GetObject(NFNetController.PBToNF(xData.player_id));
            NFIRecordManager recordManager = go.GetRecordManager();

            for (int i = 0; i < xData.row_data.Count; i++)
            {
                ADD_ROW(NFNetController.PBToNF(xData.player_id), System.Text.Encoding.Default.GetString(xData.record_name), xData.row_data[i]);
            }
        }
Beispiel #12
0
        private void EGMI_ACK_RECORD_OBJECT(NFMsg.MsgBase xMsg)
        {
            NFMsg.ObjectRecordObject xData = new NFMsg.ObjectRecordObject();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.ObjectRecordObject)) as NFMsg.ObjectRecordObject;

            NFIObject        go            = NFCKernelModule.Instance.GetObject(NFNetController.PBToNF(xData.player_id));
            NFIRecordManager recordManager = go.GetRecordManager();
            NFIRecord        record        = recordManager.GetRecord(System.Text.Encoding.Default.GetString(xData.record_name));

            for (int i = 0; i < xData.property_list.Count; i++)
            {
                record.SetObject(xData.property_list[i].row, xData.property_list[i].col, NFNetController.PBToNF(xData.property_list[i].data));
            }
        }
Beispiel #13
0
        private void EGMI_ACK_REMOVE_ROW(NFMsg.MsgBase xMsg)
        {
            NFMsg.ObjectRecordRemove xData = new NFMsg.ObjectRecordRemove();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.ObjectRecordRemove)) as NFMsg.ObjectRecordRemove;

            NFIObject        go            = NFCKernelModule.Instance.GetObject(NFNetController.PBToNF(xData.player_id));
            NFIRecordManager recordManager = go.GetRecordManager();
            NFIRecord        record        = recordManager.GetRecord(System.Text.Encoding.Default.GetString(xData.record_name));

            for (int i = 0; i < xData.remove_row.Count; i++)
            {
                record.Remove(xData.remove_row[i]);
            }
        }
Beispiel #14
0
        private void EGMI_ACK_STATE_SYNC(NFMsg.MsgBase xMsg)
        {
            NFMsg.ReqAckPlayerMove xData = new NFMsg.ReqAckPlayerMove();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.ReqAckPlayerMove)) as NFMsg.ReqAckPlayerMove;

            if (xData.target_pos.Count <= 0)
            {
                return;
            }

            NFGUID    xGUID   = NFNetController.PBToNF(xData.mover);
            NFIObject xObject = NFCKernelModule.Instance.GetObject(xGUID);

            if (xObject != null)
            {
            }
        }
Beispiel #15
0
        private void EGMI_ACK_OBJECT_PROPERTY_ENTRY(NFMsg.MsgBase xMsg)
        {
            NFMsg.MultiObjectPropertyList xData = new NFMsg.MultiObjectPropertyList();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.MultiObjectPropertyList)) as NFMsg.MultiObjectPropertyList;

            for (int i = 0; i < xData.multi_player_property.Count; i++)
            {
                NFMsg.ObjectPropertyList xPropertyData = xData.multi_player_property[i];
                NFGUID xObjectID = NFNetController.PBToNF(xPropertyData.player_id);

                //Debug.Log ("new property enter Object: " + xObjectID.ToString () );

                ObjectDataBuff xDataBuff;
                if (mxObjectDataBuff.TryGetValue(xObjectID, out xDataBuff))
                {
                    xDataBuff.xPropertyList = xPropertyData;
                }
            }
        }
Beispiel #16
0
        private void ADD_ROW(NFGUID self, string strRecordName, NFMsg.RecordAddRowStruct xAddStruct)
        {
            NFIObject        go             = NFCKernelModule.Instance.GetObject(self);
            NFIRecordManager xRecordManager = go.GetRecordManager();

            Hashtable recordVecDesc = new Hashtable();
            Hashtable recordVecData = new Hashtable();

            for (int k = 0; k < xAddStruct.record_int_list.Count; ++k)
            {
                NFMsg.RecordInt addIntStruct = (NFMsg.RecordInt)xAddStruct.record_int_list[k];

                if (addIntStruct.col >= 0)
                {
                    recordVecDesc[addIntStruct.col] = NFDataList.VARIANT_TYPE.VTYPE_INT;
                    recordVecData[addIntStruct.col] = addIntStruct.data;
                }
            }

            for (int k = 0; k < xAddStruct.record_float_list.Count; ++k)
            {
                NFMsg.RecordFloat addFloatStruct = (NFMsg.RecordFloat)xAddStruct.record_float_list[k];

                if (addFloatStruct.col >= 0)
                {
                    recordVecDesc[addFloatStruct.col] = NFDataList.VARIANT_TYPE.VTYPE_FLOAT;
                    recordVecData[addFloatStruct.col] = addFloatStruct.data;
                }
            }

            for (int k = 0; k < xAddStruct.record_string_list.Count; ++k)
            {
                NFMsg.RecordString addStringStruct = (NFMsg.RecordString)xAddStruct.record_string_list[k];

                if (addStringStruct.col >= 0)
                {
                    recordVecDesc[addStringStruct.col] = NFDataList.VARIANT_TYPE.VTYPE_STRING;
                    recordVecData[addStringStruct.col] = System.Text.Encoding.Default.GetString(addStringStruct.data);
                }
            }

            for (int k = 0; k < xAddStruct.record_object_list.Count; ++k)
            {
                NFMsg.RecordObject addObjectStruct = (NFMsg.RecordObject)xAddStruct.record_object_list[k];

                if (addObjectStruct.col >= 0)
                {
                    recordVecDesc[addObjectStruct.col] = NFDataList.VARIANT_TYPE.VTYPE_OBJECT;
                    recordVecData[addObjectStruct.col] = NFNetController.PBToNF(addObjectStruct.data);
                }
            }

            NFDataList varListDesc = new NFDataList();
            NFDataList varListData = new NFDataList();

            for (int m = 0; m < recordVecDesc.Count; m++)
            {
                if (recordVecDesc.ContainsKey(m) && recordVecData.ContainsKey(m))
                {
                    NFDataList.VARIANT_TYPE nType = (NFDataList.VARIANT_TYPE)recordVecDesc[m];
                    switch (nType)
                    {
                    case NFDataList.VARIANT_TYPE.VTYPE_INT:
                    {
                        varListDesc.AddInt(0);
                        varListData.AddInt((Int64)recordVecData[m]);
                    }

                    break;

                    case NFDataList.VARIANT_TYPE.VTYPE_FLOAT:
                    {
                        varListDesc.AddFloat(0.0f);
                        varListData.AddFloat((float)recordVecData[m]);
                    }
                    break;

                    case NFDataList.VARIANT_TYPE.VTYPE_STRING:
                    {
                        varListDesc.AddString("");
                        varListData.AddString((string)recordVecData[m]);
                    }
                    break;

                    case NFDataList.VARIANT_TYPE.VTYPE_OBJECT:
                    {
                        varListDesc.AddObject(new NFGUID());
                        varListData.AddObject((NFGUID)recordVecData[m]);
                    }
                    break;

                    default:
                        break;
                    }
                }
                else
                {
                    //����
                    //Debug.LogException(i);
                }
            }

            NFIRecord xRecord = xRecordManager.GetRecord(strRecordName);

            if (null == xRecord)
            {
                xRecord = xRecordManager.AddRecord(strRecordName, 512, varListDesc);
            }

            xRecord.AddRow(xAddStruct.row, varListData);
        }
Beispiel #17
0
        private void AttachObjectData(NFGUID self)
        {
            ObjectDataBuff xDataBuff;

            if (mxObjectDataBuff.TryGetValue(self, out xDataBuff))
            {
                ////////////////record
                for (int j = 0; j < xDataBuff.xRecordList.record_list.Count; j++)
                {
                    NFMsg.ObjectRecordBase xObjectRecordBase = xDataBuff.xRecordList.record_list[j];
                    string srRecordName = System.Text.Encoding.Default.GetString(xObjectRecordBase.record_name);

                    for (int k = 0; k < xObjectRecordBase.row_struct.Count; ++k)
                    {
                        NFMsg.RecordAddRowStruct xAddRowStruct = xObjectRecordBase.row_struct[k];

                        ADD_ROW(self, System.Text.Encoding.Default.GetString(xObjectRecordBase.record_name), xAddRowStruct);
                    }
                }
                ////////////////property
                NFIObject          go = NFCKernelModule.Instance.GetObject(NFNetController.PBToNF(xDataBuff.xPropertyList.player_id));
                NFIPropertyManager xPropertyManager = go.GetPropertyManager();

                for (int j = 0; j < xDataBuff.xPropertyList.property_int_list.Count; j++)
                {
                    string      strPropertyName = System.Text.Encoding.Default.GetString(xDataBuff.xPropertyList.property_int_list[j].property_name);
                    NFIProperty xProperty       = xPropertyManager.GetProperty(strPropertyName);
                    if (null == xProperty)
                    {
                        NFDataList varList = new NFDataList();
                        varList.AddInt(0);

                        xProperty = xPropertyManager.AddProperty(strPropertyName, varList);
                    }

                    xProperty.SetInt(xDataBuff.xPropertyList.property_int_list[j].data);
                }

                for (int j = 0; j < xDataBuff.xPropertyList.property_float_list.Count; j++)
                {
                    string      strPropertyName = System.Text.Encoding.Default.GetString(xDataBuff.xPropertyList.property_float_list[j].property_name);
                    NFIProperty xProperty       = xPropertyManager.GetProperty(strPropertyName);
                    if (null == xProperty)
                    {
                        NFDataList varList = new NFDataList();
                        varList.AddFloat(0);

                        xProperty = xPropertyManager.AddProperty(strPropertyName, varList);
                    }

                    xProperty.SetFloat(xDataBuff.xPropertyList.property_float_list[j].data);
                }

                for (int j = 0; j < xDataBuff.xPropertyList.property_string_list.Count; j++)
                {
                    string      strPropertyName = System.Text.Encoding.Default.GetString(xDataBuff.xPropertyList.property_string_list[j].property_name);
                    NFIProperty xProperty       = xPropertyManager.GetProperty(strPropertyName);
                    if (null == xProperty)
                    {
                        NFDataList varList = new NFDataList();
                        varList.AddString("");

                        xProperty = xPropertyManager.AddProperty(strPropertyName, varList);
                    }

                    xProperty.SetString(System.Text.Encoding.Default.GetString(xDataBuff.xPropertyList.property_string_list[j].data));
                }

                for (int j = 0; j < xDataBuff.xPropertyList.property_object_list.Count; j++)
                {
                    string      strPropertyName = System.Text.Encoding.Default.GetString(xDataBuff.xPropertyList.property_object_list[j].property_name);
                    NFIProperty xProperty       = xPropertyManager.GetProperty(strPropertyName);
                    if (null == xProperty)
                    {
                        NFDataList varList = new NFDataList();
                        varList.AddObject(new NFGUID());

                        xProperty = xPropertyManager.AddProperty(strPropertyName, varList);
                    }

                    xProperty.SetObject(NFNetController.PBToNF(xDataBuff.xPropertyList.property_object_list[j].data));
                }
            }
        }
Beispiel #18
0
        private void EGMI_ACK_OBJECT_PROPERTY_ENTRY(NFMsg.MsgBase xMsg)
        {
            NFMsg.MultiObjectPropertyList xData = new NFMsg.MultiObjectPropertyList();
            xData = mxSerializer.Deserialize(new MemoryStream(xMsg.msg_data), null, typeof(NFMsg.MultiObjectPropertyList)) as NFMsg.MultiObjectPropertyList;

            for (int i = 0; i < xData.multi_player_property.Count; i++)
            {
                NFMsg.ObjectPropertyList xPropertyData = xData.multi_player_property[i];
                NFGUID xObjectID = NFNetController.PBToNF(xPropertyData.player_id);

                ObjectDataBuff xDataBuff;
                if (mxObjectDataBuff.TryGetValue(xObjectID, out xDataBuff))
                {
                    xDataBuff.xPropertyList = xPropertyData;
                }

                /*
                 * NFIObject go = NFCKernelModule.Instance.GetObject(NFNetController.PBToNF(xPropertyData.player_id));
                 * NFIPropertyManager xPropertyManager = go.GetPropertyManager();
                 *
                 * for (int j = 0; j < xPropertyData.property_int_list.Count; j++)
                 * {
                 *      string strPropertyName = System.Text.Encoding.Default.GetString(xPropertyData.property_int_list[j].property_name);
                 *      NFIProperty xProperty = xPropertyManager.GetProperty(strPropertyName);
                 *      if (null == xProperty)
                 *      {
                 *              NFDataList varList = new NFDataList();
                 *              varList.AddInt(0);
                 *
                 *              xProperty = xPropertyManager.AddProperty(strPropertyName, varList);
                 *      }
                 *
                 *      xProperty.SetInt(xPropertyData.property_int_list[j].data);
                 * }
                 *
                 * for (int j = 0; j < xPropertyData.property_float_list.Count; j++)
                 * {
                 *      string strPropertyName = System.Text.Encoding.Default.GetString(xPropertyData.property_float_list[j].property_name);
                 *      NFIProperty xProperty = xPropertyManager.GetProperty(strPropertyName);
                 *      if (null == xProperty)
                 *      {
                 *              NFDataList varList = new NFDataList();
                 *              varList.AddFloat(0);
                 *
                 *              xProperty = xPropertyManager.AddProperty(strPropertyName, varList);
                 *      }
                 *
                 *      xProperty.SetFloat(xPropertyData.property_float_list[j].data);
                 * }
                 *
                 * for (int j = 0; j < xPropertyData.property_string_list.Count; j++)
                 * {
                 *      string strPropertyName = System.Text.Encoding.Default.GetString(xPropertyData.property_string_list[j].property_name);
                 *      NFIProperty xProperty = xPropertyManager.GetProperty(strPropertyName);
                 *      if (null == xProperty)
                 *      {
                 *              NFDataList varList = new NFDataList();
                 *              varList.AddString("");
                 *
                 *              xProperty = xPropertyManager.AddProperty(strPropertyName, varList);
                 *      }
                 *
                 *      xProperty.SetString(System.Text.Encoding.Default.GetString(xPropertyData.property_string_list[j].data));
                 * }
                 *
                 * for (int j = 0; j < xPropertyData.property_object_list.Count; j++)
                 * {
                 *      string strPropertyName = System.Text.Encoding.Default.GetString(xPropertyData.property_object_list[j].property_name);
                 *      NFIProperty xProperty = xPropertyManager.GetProperty(strPropertyName);
                 *      if (null == xProperty)
                 *      {
                 *              NFDataList varList = new NFDataList();
                 *              varList.AddObject(new NFGUID());
                 *
                 *              xProperty = xPropertyManager.AddProperty(strPropertyName, varList);
                 *      }
                 *
                 *      xProperty.SetObject(NFNetController.PBToNF(xPropertyData.property_object_list[j].data));
                 * }
                 */
            }
        }