src/console/socket.io.js
function(ty, propName)
    {
        var c = propName.charAt(0);
        var setterName;
        var getterName;
        if(c >= "a" && c <= "z")
        {
            getterName = "get" + c.toUpperCase() + propName.substr(1);
            setterName = "set" + c.toUpperCase() + propName.substr(1);
        }
        else
        {
            getterName = "get" + propName;
            setterName = "set" + propName;
        }
        ty[setterName] = function(val)
        {
            this.bridge.setPropertyInAS(this.fb_instance_id, propName, val);
        }
        ty[getterName] = function()
        {
            return this.bridge.deserialize(this.bridge.getPropertyFromAS(this.fb_instance_id, propName));
        }
    }
function(ty, propName)
    {
        var c = propName.charAt(0);
        var setterName;
        var getterName;
        if(c >= "a" && c <= "z")
        {
            getterName = "get" + c.toUpperCase() + propName.substr(1);
            setterName = "set" + c.toUpperCase() + propName.substr(1);
        }
        else
        {
            getterName = "get" + propName;
            setterName = "set" + propName;
        }
        ty[setterName] = function(val)
        {
            this.bridge.setPropertyInAS(this.fb_instance_id, propName, val);
        }
        ty[getterName] = function()
        {
            return this.bridge.deserialize(this.bridge.getPropertyFromAS(this.fb_instance_id, propName));
        }
    }
function ( ty , propName ) { var c = propName . charAt ( 0 ) ; var setterName ; var getterName ; if ( c >= "a" && c <= "z" ) { getterName = "get" + c . toUpperCase ( ) + propName . substr ( 1 ) ; setterName = "set" + c . toUpperCase ( ) + propName . substr ( 1 ) ; } else { getterName = "get" + propName ; setterName = "set" + propName ; } ty [ setterName ] = function ( val ) { this . bridge . setPropertyInAS ( this . fb_instance_id , propName , val ) ; } ty [ getterName ] = function ( ) { return this . bridge . deserialize ( this . bridge . getPropertyFromAS ( this . fb_instance_id , propName ) ) ; } }
add a property to a typename; used to define the properties that can be called on an AS proxied object
add a property to a typename ; used to define the properties that can be called on an AS proxied object