This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/core/loworld/poolset.h
falsycat 84c3a02b9a [RELEASE] u22-v03
This version is submitted to U22 breau.
2020-09-14 00:00:00 +00:00

30 lines
594 B
C

#pragma once
#include <stddef.h>
#include <msgpack.h>
#include "core/lobullet/pool.h"
#include "core/locharacter/pool.h"
#include "core/loground/pool.h"
typedef struct {
loground_pool_t* ground;
lobullet_pool_t* bullet;
locharacter_pool_t* character;
} loworld_poolset_t;
/* Initialize and Deinitialize each member manually
* because of a dependency issue. */
loentity_t* /* NULLABLE/OWNERSHIP */
loworld_poolset_unpack_entity(
const loworld_poolset_t* pools,
const msgpack_object* obj
);
void
loworld_poolset_test_packing(
const loworld_poolset_t* pools
);