Skip to content

这里的参数是怎么传进来的? #2

Description

@im-here
"___connect___" : new on_user_socket_connect(),// 这里调用的时候并没有传任何参数

function on_user_socket_connect()
{
	this.handle = function(s) // 但这里却有参数
	{
        login_logic.on_user_socket_connect(s); // 而且还把这个参数传到了后面使用,这里的 s 里的值是从哪传过来的呢?
	}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions