예제 #1
0
파일: HPNotify.cs 프로젝트: yutuer/jws_go
 public static Offset <HPNotify> CreateHPNotify(FlatBufferBuilder builder,
                                                StringOffset accountIdOffset = default(StringOffset),
                                                StringOffset roomIDOffset    = default(StringOffset),
                                                int playerHpD = 0,
                                                VectorOffset bossHpDOffset = default(VectorOffset))
 {
     builder.StartObject(4);
     HPNotify.AddBossHpD(builder, bossHpDOffset);
     HPNotify.AddPlayerHpD(builder, playerHpD);
     HPNotify.AddRoomID(builder, roomIDOffset);
     HPNotify.AddAccountId(builder, accountIdOffset);
     return(HPNotify.EndHPNotify(builder));
 }
예제 #2
0
파일: HPNotify.cs 프로젝트: yutuer/jws_go
 public static HPNotify GetRootAsHPNotify(ByteBuffer _bb, HPNotify obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }