示例#1
0
        public ISFSObject ToSFSObject()
        {
            ISFSObject iSFSObject = new Sfs2X.Entities.Data.SFSObject();

            iSFSObject.PutUtfString("type", equippedObjectType);
            iSFSObject.PutUtfString("name", EquippedObjectId);
            return(iSFSObject);
        }
示例#2
0
    private void OnJoinRoom(BaseEvent evt)
    {
        trace("OnJoingRoom: ");
        var reqParams = new Sfs2X.Entities.Data.SFSObject();

        reqParams.PutInt("a", 25);
        reqParams.PutInt("b", 17);

        sfs.Send(new Sfs2X.Requests.ExtensionRequest("sum", reqParams, _room));
    }