...

Text file src/github.com/google/flatbuffers/tests/union_vector/AttackerT.java

Documentation: github.com/google/flatbuffers/tests/union_vector

     1// automatically generated by the FlatBuffers compiler, do not modify
     2
     3import com.google.flatbuffers.BaseVector;
     4import com.google.flatbuffers.BooleanVector;
     5import com.google.flatbuffers.ByteVector;
     6import com.google.flatbuffers.Constants;
     7import com.google.flatbuffers.DoubleVector;
     8import com.google.flatbuffers.FlatBufferBuilder;
     9import com.google.flatbuffers.FloatVector;
    10import com.google.flatbuffers.IntVector;
    11import com.google.flatbuffers.LongVector;
    12import com.google.flatbuffers.ShortVector;
    13import com.google.flatbuffers.StringVector;
    14import com.google.flatbuffers.Struct;
    15import com.google.flatbuffers.Table;
    16import com.google.flatbuffers.UnionVector;
    17import java.nio.ByteBuffer;
    18import java.nio.ByteOrder;
    19
    20public class AttackerT {
    21  private int swordAttackDamage;
    22
    23  public int getSwordAttackDamage() { return swordAttackDamage; }
    24
    25  public void setSwordAttackDamage(int swordAttackDamage) { this.swordAttackDamage = swordAttackDamage; }
    26
    27
    28  public AttackerT() {
    29    this.swordAttackDamage = 0;
    30  }
    31}
    32

View as plain text