2020-06-09 23:07:19 +02:00
|
|
|
import * as tg from "generic-type-guard";
|
|
|
|
|
|
|
|
export const isSetPlayerDetailsMessage =
|
|
|
|
new tg.IsInterface().withProperties({
|
|
|
|
name: tg.isString,
|
2020-07-28 17:43:33 +02:00
|
|
|
characterLayers: tg.isArray(tg.isString)
|
2020-06-09 23:07:19 +02:00
|
|
|
}).get();
|
|
|
|
export type SetPlayerDetailsMessage = tg.GuardedType<typeof isSetPlayerDetailsMessage>;
|