spatialos-codegen 0.2.2

Codegen tool used with spatialos-macro and spatialos-sdk
Documentation
package io.nebulis.player;

enum LifeState {
    ALIVE = 0;
    DEAD = 1;
    RESPAWNING = 2;
}


type IsDead { }

type Damage {
    uint32 points = 1;
}

type DamageResponse {}

component Health {
    id = 601;
    uint32 hp = 1;
    uint32 max_hp = 2;

    event IsDead is_dead;
    event Damage took_damage;
    command DamageResponse damage(Damage);
}