本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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");
}
示例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;
}
示例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);
}
示例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");
}
示例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;
}
示例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);
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}