当前位置: 首页>>代码示例>>C#>>正文


C# SFSObject.PutLong方法代码示例

本文整理汇总了C#中SFSObject.PutLong方法的典型用法代码示例。如果您正苦于以下问题:C# SFSObject.PutLong方法的具体用法?C# SFSObject.PutLong怎么用?C# SFSObject.PutLong使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在SFSObject的用法示例。


在下文中一共展示了SFSObject.PutLong方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: toSFSObject

 public SFSObject toSFSObject()
 {
     SFSObject asocObject = new SFSObject ();
     asocObject.PutLong ("Id_Test", Id_Test);
     asocObject.PutLong ("Id_Task", Id_Tarea);
     return asocObject;
 }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:7,代码来源:AsociacionTareaTest.cs

示例2: asSFSObject

	public SFSObject asSFSObject(int aRound) {
		SFSObject s = new SFSObject ();
		s.PutInt ("id",this.horseID);
		s.PutUtfString ("c", this.compressedString(aRound));
		s.PutLong ("o", this.ownerID);
		s.PutInt ("u", SmartfoxConnectionHandler.REF.smartfoxuid);
		return s;
	}
开发者ID:dongvanhung,项目名称:HA3D,代码行数:8,代码来源:HorseData.cs

示例3: toSFSObject

 public SFSObject toSFSObject()
 {
     SFSObject testEjecObject = new SFSObject();
         testEjecObject.PutLong("id_test", this.id_test);
         testEjecObject.PutUtfString("entorno", this.entorno);
         testEjecObject.PutUtfString("estado", this.estado);
         testEjecObject.PutUtfString("fecha_hora", this.fecha_hora.ToString());
         testEjecObject.PutUtfString("info_ejecucion", this.info_ejecucion);
         testEjecObject.PutUtfString("time", this.time);
         return testEjecObject;
 }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:11,代码来源:EjecucionTest.cs

示例4: toSFSObject

 public ISFSObject toSFSObject()
 {
     SFSObject estimacionObject = new SFSObject();
     estimacionObject.PutUtfString("descripcion", this.getDescripcion());
     estimacionObject.PutFloat("valorEstimacion", this.getValorEstimacion());
     estimacionObject.PutUtfString("user", this.getUser());
     estimacionObject.PutLong("id_Story",this.getId_UserStory());
     return estimacionObject;
 }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:9,代码来源:Estimacion.cs

示例5: Start

    void Start()
    {
        if (!SmartFoxConnection.IsInitialized) {
            Application.LoadLevel("Connection");
            return;
        }
        smartFox = SmartFoxConnection.Connection;
        smartFox.AddEventListener (SFSEvent.EXTENSION_RESPONSE, OnExtensionResponse);

        Debug.Log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> add event listener");
        SFSObject param = new SFSObject();
        RoomVariable rv = smartFox.LastJoinedRoom.GetVariable("idGrupo");
        long grupo;
        grupo = (long)rv.GetIntValue();
        param.PutUtfString("nick",getMyUserName());
        param.PutLong("grupo",grupo);

        smartFox.Send(new ExtensionRequest("cargarDatosJugador",param));
        SFSObject param2 = new SFSObject();
        Debug.Log ( " proyecto");
        param2.PutLong ("Id_Proyecto", this.getProyecto ());
        Debug.Log (this.getProyecto () + " proyecto ");
        smartFox.Send(new ExtensionRequest("obtenerPathProyecto",param2));
        Debug.Log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> smartfox send");

        link = (MultiPlayer)GameObject.Find("Multi").GetComponent("MultiPlayer");

        Debug.Log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> UserVS start termino");
    }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:29,代码来源:UserVS.cs

示例6: toSFSObject

 public SFSObject toSFSObject()
 {
     SFSObject userObject = new SFSObject ();
     userObject.PutUtfString("nick",this.getNick());
     userObject.PutLong("id_proyecto",this.getProyecto());
     userObject.PutUtfString("rol",this.getRol());
     return userObject;
 }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:8,代码来源:UserVS.cs

示例7: ToSFSObject

    // Stores the transform values to SFSObject to send them to server
    public void ToSFSObject(ISFSObject data)
    {
        ISFSObject tr = new SFSObject();

        tr.PutDouble("x", Convert.ToDouble(this.position.x));
        tr.PutDouble("y", Convert.ToDouble(this.position.y));
        tr.PutDouble("z", Convert.ToDouble(this.position.z));

        tr.PutDouble("rx", Convert.ToDouble(this.angleRotation.x));
        tr.PutDouble("ry", Convert.ToDouble(this.angleRotation.y));
        tr.PutDouble("rz", Convert.ToDouble(this.angleRotation.z));

        tr.PutLong("t", Convert.ToInt64(this.timeStamp));

        data.PutSFSObject("transform", tr);
    }
开发者ID:Chongcharen,项目名称:MadnessFotball,代码行数:17,代码来源:NetworkTransform.cs

示例8: Start

    void Start()
    {
        backlog = (NextStories)GameObject.Find("ButtonNextUS/Center").GetComponent("NextStories");
        poker = (crearPlanningPoker)(GameObject.Find("panelPlanningPoker")).GetComponent("crearPlanningPoker");
        listaSprints = new ArrayList();
        listaUsers = new ArrayList();
        listaDailyMeetings=new ArrayList();//agregamos esto

        /*UserVS u1 = new UserVS("marcelo","scrummaster");
        UserVS u2 = new UserVS("nico","scrummember");
        UserVS u3 = new UserVS("maria","scrummember");
        UserVS u4 = new UserVS("juan","scrummember");
        listaUsers.Add(u1);
        listaUsers.Add(u2);
        listaUsers.Add(u3);
        listaUsers.Add(u4);*/

        if (!SmartFoxConnection.IsInitialized) {
            Debug.Log("Smartfox is not initialized");
            Application.LoadLevel("The Lobby");
            return;
        }
        smartFox = SmartFoxConnection.Connection;

        // Register callback delegates
        //smartFox.AddEventListener(SFSEvent.OBJECT_MESSAGE, OnObjectMessage);
        //smartFox.AddEventListener(SFSEvent.CONNECTION_LOST, OnConnectionLost);
        //smartFox.AddEventListener(SFSEvent.USER_EXIT_ROOM, OnUserExitRoom);
        //smartFox.AddEventListener(SFSEvent.USER_ENTER_ROOM, OnUserEnterRoom);
        //smartFox.AddEventListener(SFSEvent.USER_EXIT_ROOM, OnUserLeaveRoom);
        //smartFox.AddLogListener(logLevel, OnDebugMessage);
        //	smartFox.AddEventListener(SFSEvent.CONNECTION_LOST, OnConnectionLost);
        //	smartFox.AddEventListener(SFSEvent.USER_EXIT_ROOM, OnUserExitRoom);
        //	smartFox.AddEventListener(SFSEvent.USER_ENTER_ROOM, OnUserEnterRoom);
        //	smartFox.AddEventListener(SFSEvent.USER_EXIT_ROOM, OnUserLeaveRoom);

        smartFox.AddEventListener (SFSEvent.EXTENSION_RESPONSE, OnExtensionResponce);

        param = new SFSObject();
        param.PutLong("id_proyecto",user.getProyecto());

        //smartFox.Send(new ExtensionRequest("cargarDatos", param));

        smartFox.Send(new ExtensionRequest("cargarDatos",param));
        Debug.Log("cargarDatos");
        //smartFox.Send (new ExtensionRequest("crearus",new SFSObject()));

        //Debug.Log ("mando datos");
    }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:49,代码来源:MultiPlayer.cs

示例9: toSFSObject

    public override SFSObject toSFSObject()
    {
        SFSObject sprintObject = new SFSObject();
        sprintObject.PutLong("Id_Sprint", this.getId_Sprint());
        sprintObject.PutLong("id_Proyecto", this.getId_Proyecto());
        sprintObject.PutUtfString("estado", this.getEstado());
        if(this.descripcion!=null)
            sprintObject.PutUtfString("descripcion", this.getDescripcion());
        else
            sprintObject.PutUtfString("descripcion", "");

        //usObject.PutLong ("fechaInicio", this.getFechaInicio ().toToFileTime ());
        sprintObject.PutUtfString ("fechaInicio", this.getFechaInicio().Year + "-"+this.getFechaInicio().Month+"-"+this.getFechaInicio().Day);
        //usObject.PutLong("fechaFin", this.getFechaFin().ToFileTime());
        sprintObject.PutUtfString ("fechaFin", this.getFechaFin().Year + "-"+this.getFechaFin().Month+"-"+this.getFechaFin().Day);
        sprintObject.PutUtfString("titulo",this.getTitulo());
        sprintObject.PutSFSArray("listaStories",this.getListaStoriesToSFSArray() );
        sprintObject.PutUtfString ("fecha_ultimo_cambio", this.get_fecha_ultimo_cambio ().ToString());
        sprintObject.PutBool ("cerrado", this.cerrado);
        return sprintObject;
    }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:21,代码来源:Sprint.cs

示例10: SendTriggerEnter

    public void SendTriggerEnter(int colliderId, int targetId)
    {
        Room room = smartFox.LastJoinedRoom;
        ISFSObject data = new SFSObject();

        ISFSObject tr = new SFSObject();

        tr.PutInt("colliderId", colliderId);
        tr.PutInt("targetId", targetId);
        tr.PutLong("t", Convert.ToInt64(0));

        data.PutSFSObject("collide_info", tr);

        ExtensionRequest request = new ExtensionRequest("sendTriggerEnter", data, room);
        smartFox.Send(request);
    }
开发者ID:claw2013hku,项目名称:UnityTestProject,代码行数:16,代码来源:SFSNetworkManager.cs

示例11: toSFSObject

 public override SFSObject toSFSObject()
 {
     SFSObject acceptanceCriteriaObject = new SFSObject();
     acceptanceCriteriaObject.PutLong("Id_Criteria", this.getId_Criteria());
     acceptanceCriteriaObject.PutLong("Id_Story", this.getId_Story());
     acceptanceCriteriaObject.PutLong("Prioridad", this.getPrioridad());
     acceptanceCriteriaObject.PutSFSArray ("listaTests", this.getListaTestToSFSArray ());
     acceptanceCriteriaObject.PutUtfString("Titulo", this.getTitulo());
     acceptanceCriteriaObject.PutUtfString("Descripcion", this.getDescripcion());
     return acceptanceCriteriaObject;
 }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:11,代码来源:AcceptanceCriteria.cs

示例12: toSFSObject

 public SFSObject toSFSObject()
 {
     SFSObject dailyMeetingObject = new SFSObject();
     dailyMeetingObject.PutLong("id_proyecto",this.getId_proyecto());
     dailyMeetingObject.PutLong("fecha",this.getFecha());
     dailyMeetingObject.PutUtfString("ayer", this.getAyer());
     dailyMeetingObject.PutUtfString("hoy", this.getHoy());
     dailyMeetingObject.PutUtfString("inconvenientes", this.getInconvenientes());
     dailyMeetingObject.PutUtfString("nick", this.getNick());
     return dailyMeetingObject;
 }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:11,代码来源:DailyMeeting.cs

示例13: toSFSObject

 public override SFSObject toSFSObject()
 {
     SFSObject storyObject = new SFSObject();
     storyObject.PutLong("id_UserStory", this.getId_UserStory());
     storyObject.PutLong ("Id_Sprint", this.id_Sprint);
     storyObject.PutInt("prioridad", this.getPrioridad());
     storyObject.PutUtfString("descripcion", this.getDescripcion());
     storyObject.PutSFSArray("listaTareas", this.getListaTareasToSFSArray());
     storyObject.PutSFSArray("listaEstimacion", this.getListaEstimacionToSFSArray());
     storyObject.PutSFSArray ("listaCriterios", this.getListaCriteriosToSFSArray ());
     storyObject.PutInt("estadoEstimacion",this.getEstadoEstimacion());
     storyObject.PutFloat("valorEstimacion",this.getValorEstimacion());
     storyObject.PutLong("id_proyecto",this.getProyecto());
     storyObject.PutUtfString("Titulo",this.getTitulo());
     storyObject.PutBool("cerrada", this.cerrada);
     storyObject.PutUtfString ("fecha_ultimo_cambio", this.get_fecha_ultimo_cambio ().ToString());
     return storyObject;
 }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:18,代码来源:UserStory.cs

示例14: toSFSObject

    public override SFSObject toSFSObject()
    {
        SFSObject taskObject = new SFSObject ();
        taskObject.PutLong ("id_Task", this.getId_Task ());
        taskObject.PutUtfString ("descripcion", this.getDescripcion ());
        taskObject.PutUtfString ("responsable", this.getResponsable ());
        taskObject.PutInt ("t_Estimado", this.getT_Estimado ());
        taskObject.PutInt ("t_Total", this.getT_Total ());
        taskObject.PutUtfString ("estado", this.getEstado ());
        taskObject.PutInt ("prioridad", this.getPrioridad ());
        taskObject.PutLong ("id_Story", this.getId_Story ());
        taskObject.PutUtfString ("titulo", this.getTitulo ());
        SFSArray t = new SFSArray ();

        foreach (long l in idTests) {
            SFSObject tsfs=new SFSObject();
            tsfs.PutLong("Id_Test", l);
            t.AddSFSObject(tsfs);
        }
        taskObject.PutSFSArray ("testsAsociados", t);
        //taskObject.pua
        //private ArrayList listaBurnDown;
        return taskObject;
    }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:24,代码来源:Task.cs

示例15: toSFSObject

 public override SFSObject toSFSObject()
 {
     SFSObject testObject = new SFSObject();
     testObject.PutLong("Id_Criteria", this.getIdCriterio());
     testObject.PutLong("Id_Test", this.getIdTest());
     testObject.PutUtfString("Metodo", this.getMetodo());
     testObject.PutUtfString("Clase", this.getClase());
     testObject.PutUtfString("Descripcion", this.getDescripcion());
     testObject.PutUtfString("Estado", this.getEstado());
     return testObject;
 }
开发者ID:CristianCosta,项目名称:Kinect,代码行数:11,代码来源:Test.cs


注:本文中的SFSObject.PutLong方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。