0
namespace TinyChat
{
class Program
{
NetConnection Client;
static void Main(string[] args)
{
Program TinyChat_Function = new Program();
TinyChat_Function.connectTinyChat();
}
void connectTinyChat()
{
Client = new NetConnection();
Client.OnConnect += new ConnectHandler(Client_OnConnect);
Client.NetStatus += new NetStatusHandler(Client_NetStatus);
Client.Connect("rtmp://209.212.144.77:443/tinyconf", new string[] { "SomeRoom", "none", "show", "tinychat" });
}
}
錯誤:FluorineFx:Client_onConnect不會在目前情況下存在
1 The name 'Client_OnConnect' does not exist in the current context
2 The name 'Client_netStatus' does not exist in the current context
使用最新版本FluorineFx的。
該文檔顯示這是正確的方式來做到這一點,但這是行不通的。關於如何解決這個問題的任何想法?
The documentation can be found here.
任何人知道如何解決這個問題? – user1937395