예제 #1
0
    public static NetworkResponse Parse(MemoryStream dataStream)
    {
        ResponseTreeAttack response = new ResponseTreeAttack();

        response.status = DataReader.ReadShort(dataStream);

        return(response);
    }
예제 #2
0
    public void ProcessTreeAttack(NetworkResponse response)
    {
        ResponseTreeAttack args = response as ResponseTreeAttack;

        Debug.Log("TreeAttack attack: " + args.status);
    }