Exemple #1
0
    public static void Command(int _fromClient, Packet packet)
    {
        string cmd = packet.ReadString();

        try
        {
            LuaCommands.ExecCmd(_fromClient, cmd);
        }
        catch (Exception e)
        {
            Debug.LogError(e);
        }
    }