C# Class FreeNetUnity.CFreeNetUnityService

FreeNet������ ����Ƽ ���ø����̼��� �̾��ִ� Ŭ�����̴�. FreeNet�������� ���� ���� �̺�Ʈ, �޽��� ���� �̺�Ʈ���� ���ø����̼����� �����ϴ� ������ �ϴµ� MonoBehaviour�� ��ӹ޾� ����Ƽ ���ø����̼ǰ� ������ �����忡�� �۵��ǵ��� �����Ͽ���. ���� �� Ŭ������ �ݹ� �żҵ忡�� ����Ƽ ������Ʈ�� ������ �� ������ ����ȭ ó���� ���� �ʾƵ� �ȴ�.
Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: sunduk/freegostop

Public Properties

Property Type Description
appcallback_on_message MessageHandler
appcallback_on_status_changed StatusChangedHandler

Public Methods

Method Description
Awake ( ) : void
OnApplicationQuit ( ) : void

�������� ����ÿ��� OnApplicationQuit�żҵ忡�� disconnect�� ȣ���� ��� ����Ƽ�� hang���� �ʴ´�.

Update ( ) : void

��Ʈ��ũ���� �߻��ϴ� ��� �̺�Ʈ�� Ŭ���̾�Ʈ���� �˷��ִ� ������ Update���� �����Ѵ�. FreeNet������ �޽��� �ۼ��� ó���� ��Ŀ�����忡�� ��������� ����Ƽ�� ���� ó���� ���� �����忡�� ����ǹǷ� ť��ó���� ���Ͽ� ���� �����忡�� ��� ���� ó���� �̷�������� �����Ͽ���.

connect ( string host, int port ) : void
is_connected ( ) : bool
on_connected_gameserver ( CUserToken server_token ) : void

���� ������ ȣ��� �ݹ� �żҵ�.

send ( CPacket msg ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

OnApplicationQuit() public method

�������� ����ÿ��� OnApplicationQuit�żҵ忡�� disconnect�� ȣ���� ��� ����Ƽ�� hang���� �ʴ´�.
public OnApplicationQuit ( ) : void
return void

Update() public method

��Ʈ��ũ���� �߻��ϴ� ��� �̺�Ʈ�� Ŭ���̾�Ʈ���� �˷��ִ� ������ Update���� �����Ѵ�. FreeNet������ �޽��� �ۼ��� ó���� ��Ŀ�����忡�� ��������� ����Ƽ�� ���� ó���� ���� �����忡�� ����ǹǷ� ť��ó���� ���Ͽ� ���� �����忡�� ��� ���� ó���� �̷�������� �����Ͽ���.
public Update ( ) : void
return void

connect() public method

public connect ( string host, int port ) : void
host string
port int
return void

is_connected() public method

public is_connected ( ) : bool
return bool

on_connected_gameserver() public method

���� ������ ȣ��� �ݹ� �żҵ�.
public on_connected_gameserver ( CUserToken server_token ) : void
server_token CUserToken
return void

send() public method

public send ( CPacket msg ) : void
msg CPacket
return void

Property Details

appcallback_on_message public_oe property

public MessageHandler appcallback_on_message
return MessageHandler

appcallback_on_status_changed public_oe property

public StatusChangedHandler appcallback_on_status_changed
return StatusChangedHandler