Phasor  01.00.10.059
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CallHelper.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Scripting.h"
4 
5 namespace halo {
6  struct ident;
7  struct s_player;
8 }
9 
10 namespace scripting {
11 
12  static const results_t result_bool = {Common::TYPE_BOOL};
13  static const results_t result_number = {Common::TYPE_NUMBER};
14 
22  void AddPlayerArg(const halo::s_player* player, PhasorCaller& caller);
23  void AddArgIdent(const halo::ident id, PhasorCaller& caller);
24 
25  template <class T> T HandleResult(Result& result, const T& default_value);
26 
28  kIdentSet = 0,
31  };
32 
34 }